[PyQt] QTabbar simple question...

python.noob jebagnanadas at gmail.com
Thu Dec 17 12:26:37 GMT 2009

Hello all,
One simple question.. We can set Tab bar for the tab widget in pyqt...
I want to place a push button on tab1 and label on tab2.. In what way i can
do that??? Should i have to add this in the first tab in tab bar or in the
tab widget directly.. If i'm not clear, in QTabWidget we will add the
components in this sequence
CreatePushButton(parent will be the Widget)---->CreateWidget(parent will be
a particular tab)-->addTab(parent will be the tabwidget)..

In the same manner how should i use QTabbar..
CreatePushButton(parent will be the Widget)-->CreateWidget(parent will be a
particular tab)->Add to TabBar--->Add it to the Tab(in Tab Widget)
CreateTabBar---->SetTabBar and CreatePushButton--->CreateWidget---->Add to
the TabWidget ...
Explain me with a simple code example.. Thanks in advance..
View this message in context: http://old.nabble.com/QTabbar-simple-question...-tp26827286p26827286.html
Sent from the PyQt mailing list archive at Nabble.com.

More information about the PyQt mailing list