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);
// To avoid moving other widgets when the value changes
text.append("ms");

View file

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