matplotlib and qtdesigner

matplotlib-users-request@lists.sourceforge.net a �crit :

Message: 3
Date: Thu, 4 Jun 2009 08:01:06 -0500
From: "Christophe Dupre" <christophe.dupre@...2631...>
Subject: [Matplotlib-users] matplotlib and qtdesigner
To: <matplotlib-users@lists.sourceforge.net>
Message-ID:
  <F7DEB60D3092AF49A15D683CE069C914028AD44B@...2632...>
Content-Type: text/plain; charset="us-ascii"

Hello there,

This is my first post, so first of all, thanks to the
creators/contributors of matplotlib. It's a very nice software.

I've been developping an application using PyQT and matplotlib for a
while now, and instead of coding the GUI, I'd like to make use of QT
designer.

Does anyone know how I can add a MPL FigureCanvasQTAgg to a Main Window
form in QT designer? Any (simple) example would be great.

Thanks,

Christophe

Hi,

Someone asked me the same question on Python(x,y) discussion group (http://pythonxy.googlegroups.com) a few days ago.

So I've included a QtDesigner plugin in Python(x,y) matplotlib package.

Here is a screenshot:
http://pythonxy.googlegroups.com/web/mplplugin.png

Here is the source code (it's quite simple actually):
http://groups.google.fr/group/pythonxy/web/QtDesigner_Plugins.zip
(simply extract this in your site-packages directory)

Cheers,
Pierre

That's great, Pierre. Merci.

Christophe

···

-----Original Message-----
From: Pierre Raybaut [mailto:contact@…2027…]
Sent: 04 June 2009 18:36
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] matplotlib and qtdesigner

matplotlib-users-request@lists.sourceforge.net a écrit :

Message: 3
Date: Thu, 4 Jun 2009 08:01:06 -0500
From: "Christophe Dupre" <christophe.dupre@...2631...>
Subject: [Matplotlib-users] matplotlib and qtdesigner
To: <matplotlib-users@lists.sourceforge.net>
Message-ID:
  <F7DEB60D3092AF49A15D683CE069C914028AD44B@...2632...>
Content-Type: text/plain; charset="us-ascii"

Hello there,

This is my first post, so first of all, thanks to the
creators/contributors of matplotlib. It's a very nice software.

I've been developping an application using PyQT and matplotlib for a
while now, and instead of coding the GUI, I'd like to make use of QT
designer.

Does anyone know how I can add a MPL FigureCanvasQTAgg to a Main Window
form in QT designer? Any (simple) example would be great.

Thanks,

Christophe

Hi,

Someone asked me the same question on Python(x,y) discussion group
(http://pythonxy.googlegroups.com) a few days ago.

So I've included a QtDesigner plugin in Python(x,y) matplotlib package.

Here is a screenshot:
http://pythonxy.googlegroups.com/web/mplplugin.png

Here is the source code (it's quite simple actually):
http://groups.google.fr/group/pythonxy/web/QtDesigner_Plugins.zip
(simply extract this in your site-packages directory)

Cheers,
Pierre

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.49/2149 - Release Date: 06/04/09 05:53:00