Compare commits

..

2 Commits

Author SHA1 Message Date
de58e2d472 Reset monitor settings upon startup 2020-07-17 18:53:28 +02:00
314b281c03 Set initial slider position to 50 2020-07-17 18:53:15 +02:00
2 changed files with 20 additions and 0 deletions

View File

@ -60,6 +60,9 @@
<layout class="QGridLayout" name="gridLayout_9">
<item row="1" column="1">
<widget class="QSlider" name="monitorMaxBrightnessSlider">
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -74,6 +77,9 @@
</item>
<item row="0" column="1">
<widget class="QSlider" name="monitorMinBrightnessSlider">
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -117,6 +123,9 @@
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QSlider" name="monitorBrightnessSlider">
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -160,6 +169,9 @@
</item>
<item row="0" column="1">
<widget class="QSlider" name="monitorOverallMinBrightnessSlider">
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -184,6 +196,9 @@
</item>
<item row="1" column="1">
<widget class="QSlider" name="monitorOverallMaxBrightnessSlider">
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -243,6 +258,9 @@
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QSlider" name="monitorOverallBrightnessSlider">
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>

View File

@ -124,6 +124,8 @@ void MainWindow::setupMonitorsTab()
setupBrightness();
setupOverallBrightness();
resetAllMonitorSettings();
}
void MainWindow::setupLimitsSlider()