QVBoxLayout* aMainLayout = new QVBoxLayout (this, 7, 6);
aMainLayout->setSpacing(5);
+ SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr();
hasInit = false;
// Tab pane
aPlaneLayout->addWidget(aPosBox);
myPreviewCheck = new QCheckBox (tr("LBL_SHOW_PREVIEW"), aPlanePane);
- myPreviewCheck->setChecked(false);
+ myPreviewCheck->setChecked( aResourceMgr->booleanValue("VISU", "show_preview", false) );
aPlaneLayout->addWidget(myPreviewCheck);
myAllCurvesInvertedCheck = new QCheckBox(tr("LBL_INVERT_CURVES"), aPlanePane);
aPlaneLayout->addWidget(myUseAbsoluteLengthCheck);
myCreateTable = new QCheckBox (tr("LBL_GENERATE_TABLE"), aPlanePane);
- myCreateTable->setChecked(true);
+ myCreateTable->setChecked( aResourceMgr->booleanValue("VISU", "generate_data_table", true) );
aPlaneLayout->addWidget( myCreateTable );
QHBox* aCheckPane = new QHBox(aPlanePane);
aCheckPane->setStretchFactor(aLbl, 0);
myCurvesCheck = new QCheckBox(tr("LBL_GENERATE_CURVES"), aCheckPane);
aCheckPane->setStretchFactor(aCheckPane, 0);
- myCurvesCheck->setChecked(true);
- myCurvesCheck->setEnabled(true);
+ myCurvesCheck->setChecked( aResourceMgr->booleanValue("VISU", "generate_curves", true) );
+ myCurvesCheck->setEnabled( aResourceMgr->booleanValue("VISU", "generate_data_table", true) );
QLabel* aLbl2 = new QLabel(" ", aCheckPane);
aCheckPane->setStretchFactor(aLbl2, 1);
aPlaneLayout->addWidget( aCheckPane );