IPD: Small fixes

This commit is contained in:
Nicolas Mailloux 2022-08-01 18:29:20 -04:00
parent ea5e45245a
commit c10b47d2e6
2 changed files with 18 additions and 19 deletions

View file

@ -373,8 +373,7 @@ void powerDaemonSettings::on_deepSleepBtn_clicked(bool checked)
} }
} }
void powerDaemonSettings::convertCinematicInt() void powerDaemonSettings::convertCinematicInt() {
{
QString text = QString::number(cinematicBrightnessInt); QString text = QString::number(cinematicBrightnessInt);
// To avoid moving other widgets when the value changes // To avoid moving other widgets when the value changes
text.append("ms"); text.append("ms");

View file

@ -75,7 +75,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>680</width> <width>680</width>
<height>553</height> <height>545</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
@ -114,15 +114,15 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="CBSLabel">
<property name="font"> <property name="font">
<font> <font>
<weight>50</weight> <weight>75</weight>
<bold>false</bold> <bold>true</bold>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Cinematic brightness speed</string> <string>50</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -137,15 +137,15 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="CBSLabel"> <widget class="QLabel" name="label">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>50</weight>
<bold>true</bold> <bold>false</bold>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>50</string> <string>Cinematic brightness speed</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -241,15 +241,15 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="idleSleepLabel">
<property name="font"> <property name="font">
<font> <font>
<weight>50</weight> <weight>75</weight>
<bold>false</bold> <bold>true</bold>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Sleep when idle</string> <string>Idle sleep number</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -264,15 +264,15 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="idleSleepLabel"> <widget class="QLabel" name="label_5">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>50</weight>
<bold>true</bold> <bold>false</bold>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>60</string> <string>Sleep when idle</string>
</property> </property>
</widget> </widget>
</item> </item>