Gui: implement option to disable overlay management
This commit is contained in:
@@ -230,6 +230,10 @@ void DlgSettingsGeneral::saveSettings()
|
||||
ui->RecentFiles->onSave();
|
||||
ui->EnableCursorBlinking->onSave();
|
||||
ui->SplashScreen->onSave();
|
||||
ui->ActivateOverlay->onSave();
|
||||
if (property("ActivateOverlay").toBool() != ui->ActivateOverlay->isChecked()) {
|
||||
requireRestart();
|
||||
}
|
||||
|
||||
setRecentFileSize();
|
||||
bool force = setLanguage();
|
||||
@@ -297,6 +301,8 @@ void DlgSettingsGeneral::loadSettings()
|
||||
ui->RecentFiles->onRestore();
|
||||
ui->EnableCursorBlinking->onRestore();
|
||||
ui->SplashScreen->onRestore();
|
||||
ui->ActivateOverlay->onRestore();
|
||||
setProperty("ActivateOverlay", ui->ActivateOverlay->isChecked());
|
||||
|
||||
// search for the language files
|
||||
ParameterGrp::handle hGrp = WindowParameter::getDefaultParameter()->GetGroup("General");
|
||||
|
||||
@@ -360,6 +360,25 @@ display the splash screen</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="Gui::PrefCheckBox" name="ActivateOverlay">
|
||||
<property name="toolTip">
|
||||
<string>Activate overlay handling of dock windows</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Activate overlay handling</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>ActivateOverlay</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>DockWindows</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user