[PyQt] QTabWidget

Lawrence Shafer detroit371 at gmail.com
Sun Nov 25 18:40:04 GMT 2007


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


More information about the PyQt mailing list