PDA

View Full Version : QToolBox



kavinsiva
11th August 2009, 05:54
Hi,

I need code to following Action in Qt4.5

I have QToolBox with three pages on it and each page has corresponding Widgets.
when i am selecting a page approbrate widget will display in mainwindow pls help me
:confused:

wagmare
11th August 2009, 06:19
hey check addItem of QToolBox .. its simple ...
follow the examples of dialogs
/Qt-4.4.3/examples/dialogs/configdialog/pages.cpp .. same as QStackedWidget() u have to use QToolBox ...

http://doc.trolltech.com/4.2/dialogs-configdialog-pages-cpp.html