[TechDraw] Multiselection mode implementation

This commit is contained in:
pavltom
2023-11-16 16:43:13 +01:00
committed by WandererFan
parent 4703c77067
commit 3876f23f4d
12 changed files with 162 additions and 1 deletions

View File

@@ -71,6 +71,8 @@ void DlgPrefsTechDrawGeneralImp::saveSettings()
ui->le_NamePattern->onSave();
ui->cb_ShowGrid->onSave();
ui->psb_GridSpacing->onSave();
ui->cbMultiSelection->onSave();
}
void DlgPrefsTechDrawGeneralImp::loadSettings()
@@ -107,6 +109,10 @@ void DlgPrefsTechDrawGeneralImp::loadSettings()
double spacingDefault = PreferencesGui::gridSpacing();
ui->psb_GridSpacing->setValue(spacingDefault);
ui->psb_GridSpacing->onRestore();
bool multiSelectionDefault = PreferencesGui::multiSelection();
ui->cbMultiSelection->setChecked(multiSelectionDefault);
ui->cbMultiSelection->onRestore();
}
/**