[PyQt] Newbie QMainWindow tips
Eric Frederich
eric.frederich at gmail.com
Thu Sep 16 18:46:17 BST 2010
On Thu, Sep 16, 2010 at 1:27 PM, fpp <fpp.gsp at gmail.com> wrote:
> On Thu, Sep 16, 2010 at 7:24 PM, Eric Frederich
> <eric.frederich at 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.
>
I think that seems to be my problem.
Just way too many ways to skin this cat.
I'd hate to say something good about Java (especially now that they're owned
by Orable) but there were much less options for me to get overwhelmed with.
Perhaps after I'm done being overwhelmed I'll welcome the multitude of
options.
Its just at this early stage I don't want to start going down the wrong
path.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100916/a0dd67c4/attachment.html>
More information about the PyQt
mailing list