App preference to use wizard on new model creation. I noticed there was a stub for it just when I was about to finish - anyway now it's done.

I tried adding a line in the ui to separate the setting like done for other groups, but failed to get a horizontal line that spans the whole width despite spending half an hour in that ******* QT designer.
This commit is contained in:
Andre Bernet
2014-04-03 23:55:35 +02:00
parent ec260cbfa8
commit 09e1ac33b1
5 changed files with 202 additions and 188 deletions
+2
View File
@@ -40,6 +40,7 @@ void appPreferencesDialog::writeValues()
g.autoCheckFw(ui->startupCheck_fw->isChecked());
g.showSplash(ui->showSplash->isChecked());
g.simuSW(ui->simuSW->isChecked());
g.useWizard(ui->modelWizard_CB->isChecked());
g.historySize(ui->historySize->value());
g.backLight(ui->backLightColor->currentIndex());
g.libDir(ui->libraryPath->text());
@@ -107,6 +108,7 @@ void appPreferencesDialog::initSettings()
if (getRadioType(g.profile[g.id()].fwType())==6) // TODO - NOT AT ALL OK. THERE SHOULD BE A COMMON RADIO DEFINITION.
ui->backLightColor->setEnabled(false);
ui->simuSW->setChecked(g.simuSW());
ui->modelWizard_CB->setChecked(g.useWizard());
ui->libraryPath->setText(g.libDir());
ui->ge_lineedit->setText(g.gePath());