SmarlSplitWidget container;
// Add a widget at 0 row and 0 col like in QGridLayout.
container.addWidget(
new QWidget(container
),
// pointer to widget "First", // label
0, // row 0 (like in QGridLayout)
0); // column 0
container.
addWidget( new QWidget(container
),
"Second",
1,
0);
container.
addMultiCellWidget( new QWidget(container
),
"Fourth",
0,
1,
1,
1);
container.
addMultiCellWidget( new QWidget(container
),
"Third",
2,
2,
0,
1);
SmarlSplitWidget container;
// Add a widget at 0 row and 0 col like in QGridLayout.
container.addWidget(
new QWidget(container), // pointer to widget
"First", // label
0, // row 0 (like in QGridLayout)
0); // column 0
container.addWidget( new QWidget(container), "Second", 1, 0);
container.addMultiCellWidget( new QWidget(container), "Fourth", 0, 1, 1, 1);
container.addMultiCellWidget( new QWidget(container), "Third", 2, 2, 0, 1);
To copy to clipboard, switch view to plain text mode
Bookmarks