| 16 | 
   | 
     ui->leHeight->setText(this->vagoSettings->value("WindowHeight").toString()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 17 | 
   | 
     ui->cbOniWindow->setChecked(this->vagoSettings->value("OniWindow").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 18 | 
   | 
     ui->cbSeparate->setChecked(this->vagoSettings->value("SeparateInWorkspace").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 
 | 19 | 
 < | 
     ui->cbVagoExit->setChecked(this->vagoSettings->value("ConfirmExit").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 19 | 
 > | 
     ui->cbAskSaveProject->setChecked(this->vagoSettings->value("AskSaveProject").toBool()); | 
 
 
 
 
 
 | 20 | 
 > | 
     ui->cbAskOpenLastProject->setChecked(this->vagoSettings->value("AskToOpenLastProject").toBool()); | 
 
 
 
 
 
 | 21 | 
 > | 
 #ifdef Q_OS_MAC | 
 
 
 
 
 
 | 22 | 
 > | 
     ui->cbUseYesAsDefaultWhenRemovingItems->setChecked(this->vagoSettings->value("useYesAsDefaultWhenRemovingItems").toBool()); | 
 
 
 
 
 
 | 23 | 
 > | 
 #endif | 
 
 
 
 
 
 
 
 
 
 
 
 | 24 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 25 | 
   | 
 #ifdef Q_OS_WIN | 
 
 
 
 
 
 
 
 
 
 
 
 | 26 | 
 < | 
     ui->cbClearButtonYes->hide(); // don't display this mac os only option in windows | 
 
 
 
 
 
 
 
 
 
 | 26 | 
 > | 
     ui->cbUseYesAsDefaultWhenRemovingItems->hide(); // don't display this mac os only option in windows | 
 
 
 
 
 
 
 
 
 
 
 
 | 27 | 
   | 
 #endif | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 28 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 29 | 
   | 
 } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 67 | 
   | 
     this->vagoSettings->setValue("WindowHeight",ui->leHeight->text()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 68 | 
   | 
     this->vagoSettings->setValue("OniWindow",ui->cbOniWindow->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 69 | 
   | 
     this->vagoSettings->setValue("SeparateInWorkspace",ui->cbSeparate->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 | 70 | 
 < | 
     this->vagoSettings->setValue("ConfirmExit",ui->cbVagoExit->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 70 | 
 > | 
     this->vagoSettings->setValue("AskSaveProject",ui->cbAskSaveProject->isChecked()); | 
 
 
 
 
 
 | 71 | 
 > | 
     this->vagoSettings->setValue("AskToOpenLastProject",ui->cbAskOpenLastProject->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 | 72 | 
   | 
 #ifdef Q_OS_MAC | 
 
 
 
 
 
 
 
 
 
 
 
 | 73 | 
 < | 
     this->vagoSettings->setValue("UseYesButtonClear",ui->cbClearButtonYes->isChecked()); | 
 
 
 
 
 
 
 
 
 
 | 73 | 
 > | 
     this->vagoSettings->setValue("useYesAsDefaultWhenRemovingItems",ui->cbUseYesAsDefaultWhenRemovingItems->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 | 74 | 
   | 
 #endif | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 75 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 | 71 | 
 – | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 76 | 
   | 
     Util::showPopUp("You need to restart the application to all changes take effect."); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 77 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 78 | 
   | 
     QDialog::accept(); |