I'm going to create multiple tabs with multiple group box inside each tab like below.
_______ ______
| | |
| Tab1 | Tab2 |
| |______|_________________
|
| Group Box 1
| ------------------------------------
|
|
| Group Box 2
| ------------------------------------
How can I do this with QTabWidget and QGroupBox?
Edit
The code that I use for one group box in tab widget are:
QGroupbox * testGB = new QGroupbox("Group Box 1");
...
// create a test layout and add some widget to it
...
testGB.setLayout(testLayout);
QTabWidget * tab = new QTabWidget this;
tab->addTab(testGB, tr("Tab1"));
But I don't know how to append another group box to Tab1