Sorry, did it again ! :-)
---------- Forwarded message ---------- From: fpp <fpp....@gmail.com> Date: Thu, Sep 16, 2010 at 7:27 PM Subject: Re: [PyQt] Newbie QMainWindow tips To: Eric Frederich <eric.freder...@gmail.com> On Thu, Sep 16, 2010 at 7:24 PM, Eric Frederich <eric.freder...@gmail.com> wrote: > > So if I connect the tab bar's currentChanged(int) signal to a dock widget's > method, where does the dock widget get the data from? > Would the dock widget instance need to have a pointer to the the tab widget > or to something else? > This is what I'm confused about. There is always a way :-) Easiest here is for the dockwidget to query the tabwidget for its current index (active tab), there is a method for that. _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt