Hi!
QToolBox *box = new QToolBox(this);
QWidget *wgt = new QWidget();
toolbox->addItem(wgt, "New tab");
How to add QVBoxLayout to item?
Hi!
QToolBox *box = new QToolBox(this);
QWidget *wgt = new QWidget();
toolbox->addItem(wgt, "New tab");
How to add QVBoxLayout to item?
Normal like any other widget:
Qt Code:
wgt->setLayout(...); toolbox->addItem(wgt, "New tab");To copy to clipboard, switch view to plain text mode
sergey_85 (30th November 2009)
Bookmarks