sizeLayout->addWidget( requiredSize, 0, 1 );
sizeLayout->addWidget( reqLab2, 1, 0 );
sizeLayout->addWidget( requiredTemp, 1, 1 );
+ // <More...>/<Less...> box super-container :)
+ QVBox* moreLessBox = new QVBox( productsPage );
//
// create <More...> mode widgets container
//
- moreBox = new QWidget( productsPage );
+ moreBox = new QWidget( moreLessBox );
QGridLayout* moreBoxLayout = new QGridLayout( moreBox );
moreBoxLayout->setMargin( 0 ); moreBoxLayout->setSpacing( 6 );
//
//
// create <Less...> mode widgets container
//
- lessBox = new QWidget( productsPage );
+ lessBox = new QWidget( moreLessBox );
QGridLayout* lessBoxLayout = new QGridLayout( lessBox );
lessBoxLayout->setMargin( 0 ); lessBoxLayout->setSpacing( 6 );
//
pageLayout->addMultiCellWidget( tempLab, 2, 2, 0, 1 );
pageLayout->addWidget ( tempFolder, 3, 0 );
pageLayout->addWidget ( tempBtn, 3, 1 );
- pageLayout->addMultiCellWidget( moreBox, 4, 4, 0, 1 );
- pageLayout->addMultiCellWidget( lessBox, 5, 5, 0, 1 );
- pageLayout->addMultiCellWidget( line, 6, 6, 0, 1 );
- pageLayout->addLayout ( sizeLayout, 7, 0 );
- pageLayout->addWidget ( moreBtn, 7, 1 );
- pageLayout->setRowStretch( 4, 5 );
- pageLayout->setRowStretch( 5, 5 );
+ pageLayout->addMultiCellWidget( moreLessBox, 4, 4, 0, 1 );
+ pageLayout->addMultiCellWidget( line, 5, 5, 0, 1 );
+ pageLayout->addLayout ( sizeLayout, 6, 0 );
+ pageLayout->addWidget ( moreBtn, 6, 1 );
//
// xml reader
//