[PyQt] QTabWidget
Lawrence Shafer
detroit371 at gmail.com
Sun Nov 25 22:49:18 GMT 2007
Let me explain things better here. I could easily do this if I was hand
coding the whole thing, but I've done the ui in QT Designer, so that's
where I'm stumped. I have a Qwidget with everything in it, so how do I
add the same qwidget to each tab with a different prefix on each widget
based on the tab name? I seem to remember something about this from
months past, but cannot dig it up.
Lawrence Shafer wrote:
> I have a QTabWidget with one tab filled with widgets. Each tab will be
> for one user, so the tab "pages" wigets will all be identical. What I
> want to do is clone the first tab at runtime, and be able to access
> the widgets in that tab with the tabs name as a prefix. So it would be
> something like self.tab1.tableWidget, self.tab2.tableWidget and so on.
> Is there an easy way to accomplish such a feat?
>
> Thanks,
>
> Lawrence
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list