setMaximumHeight( 650 );
setMaximumWidth( 700 );
+ /* Create Panels */
tree_panel = new QWidget( 0 );
tree_panel_l = new QHBoxLayout;
tree_panel->setLayout( tree_panel_l );
main_panel_l = new QHBoxLayout;
main_panel->setLayout( main_panel_l );
- // Choice for types
+ /* Choice for types */
types = new QGroupBox( "Show settings" );
types->setAlignment( Qt::AlignHCenter );
QHBoxLayout *types_l = new QHBoxLayout(0);
types->setLayout( types_l );
small->setChecked( true );
+ /* Tree and panel initialisations */
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->setColumnStretch( 1,3 );
+ main_layout->setColumnStretch( 1, 3 );
main_layout->setRowStretch( 2, 4);
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() );