The toolbar is just a widget so you can do that the same way you show any
other widget in Qt. Something along the lines of:
- build a widget
- add a layout
- add the figure widget to the layout
- add the toolbar to the layout
- connect them together (I forget exactly how but backend_qt.py
has all the code that does this)
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Behnam
Kamrani
Sent: Thursday, May 08, 2008 11:19 AM
To: matplotlib-users@lists.sourceforge.net
Subject: [Matplotlib-users] Toolbar in QT
Hi,
First I want to thanks for this amazing Matplotlib. It's fantastic!
My newbie question is how I can show the (zoom, pan, etc) toolbar in
embedding_in_qt.py example?
I have noticed that in animation_blit_qt.py the toolbar is available, but it
seems to be done in a different way.
Appreciate your help!
Thank you,
/Ben
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users