tree_panel = new QWidget( 0 );
tree_panel_l = new QHBoxLayout;
tree_panel->setLayout( tree_panel_l );
tree_panel = new QWidget( 0 );
tree_panel_l = new QHBoxLayout;
tree_panel->setLayout( tree_panel_l );
types = new QGroupBox( "Show settings" );
types->setAlignment( Qt::AlignHCenter );
QHBoxLayout *types_l = new QHBoxLayout(0);
types = new QGroupBox( "Show settings" );
types->setAlignment( Qt::AlignHCenter );
QHBoxLayout *types_l = new QHBoxLayout(0);
advanced_tree = NULL;
simple_tree = NULL;
simple_panel = NULL;
advanced_panel = NULL;
main_layout->addWidget( tree_panel, 0, 0, 3, 1 );
advanced_tree = NULL;
simple_tree = NULL;
simple_panel = NULL;
advanced_panel = NULL;
main_layout->addWidget( tree_panel, 0, 0, 3, 1 );
- main_layout->addWidget( types, 3, 0, 1, 1 );
+ main_layout->addWidget( types, 3, 0, 2, 1 );
main_layout->addWidget( main_panel, 0, 1, 4, 1 );
main_layout->setColumnMinimumWidth( 0, 150 );
main_layout->setColumnStretch( 0, 1 );
main_layout->addWidget( main_panel, 0, 1, 4, 1 );
main_layout->setColumnMinimumWidth( 0, 150 );
main_layout->setColumnStretch( 0, 1 );
buttonsBox->addButton( cancel, QDialogButtonBox::RejectRole );
buttonsBox->addButton( reset, QDialogButtonBox::ActionRole );
buttonsBox->addButton( cancel, QDialogButtonBox::RejectRole );
buttonsBox->addButton( reset, QDialogButtonBox::ActionRole );
- main_layout->addWidget( buttonsBox, 4, 0, 1 ,3 );
+ main_layout->addWidget( buttonsBox, 4, 1, 1 ,2 );
setLayout( main_layout );
BUTTONACT( save, save() );
setLayout( main_layout );
BUTTONACT( save, save() );