Sorry, did it again ! :-)

---------- Forwarded message ----------
From: fpp <[email protected]>
Date: Thu, Sep 16, 2010 at 7:27 PM
Subject: Re: [PyQt] Newbie QMainWindow tips
To: Eric Frederich <[email protected]>


On Thu, Sep 16, 2010 at 7:24 PM, Eric Frederich
<[email protected]> 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    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to