Start: Added settings button and allow to turn tips off
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>482</width>
|
||||
<height>769</height>
|
||||
<height>795</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@@ -146,6 +146,32 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_19">
|
||||
<property name="text">
|
||||
<string>Show tips</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="Gui::PrefCheckBox" name="checkBox_7">
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>ShowTips</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Start</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -545,12 +571,12 @@
|
||||
</item>
|
||||
<item row="12" column="1">
|
||||
<widget class="Gui::PrefCheckBox" name="checkBox_6">
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>If this is selected, the 'New File' icon shows a gradient icon instead of the normal icon</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
||||
@@ -110,6 +110,7 @@ void DlgStartPreferencesImp::saveSettings()
|
||||
ui->checkBox_4->onSave();
|
||||
ui->checkBox_5->onSave();
|
||||
ui->checkBox_6->onSave();
|
||||
ui->checkBox_7->onSave();
|
||||
ui->lineEdit->onSave();
|
||||
ui->spinBox->onSave();
|
||||
}
|
||||
@@ -140,6 +141,7 @@ void DlgStartPreferencesImp::loadSettings()
|
||||
ui->checkBox_4->onRestore();
|
||||
ui->checkBox_5->onRestore();
|
||||
ui->checkBox_6->onRestore();
|
||||
ui->checkBox_7->onRestore();
|
||||
ui->lineEdit->onRestore();
|
||||
ui->spinBox->onRestore();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user