You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
531 lines
24 KiB
531 lines
24 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>PowerManagerUI</class>
|
|
<widget class="QWidget">
|
|
<property name="name">
|
|
<cstring>PowerManagerUI</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>505</width>
|
|
<height>374</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>PowerManagerUI</string>
|
|
</property>
|
|
<property name="mouseTracking">
|
|
<bool>true</bool>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QGroupBox">
|
|
<property name="name">
|
|
<cstring>GeneralSettingsBox</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>General Settings</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QCheckBox">
|
|
<property name="name">
|
|
<cstring>lockScreenOnResume</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Lock screen on resume</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="QGroupBox">
|
|
<property name="name">
|
|
<cstring>MainsPoweredBox</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Mains Powered</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout17</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>PoweredBrightnessLabel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Brightness</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSlider">
|
|
<property name="name">
|
|
<cstring>PoweredBrightnessSlider</cstring>
|
|
</property>
|
|
<property name="mouseTracking">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="acceptDrops">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="maxValue">
|
|
<number>7</number>
|
|
</property>
|
|
<property name="lineStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="tickmarks">
|
|
<enum>Both</enum>
|
|
</property>
|
|
<property name="tickInterval">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>With this slider you can set the brightness when the system is plugged into the socket outlet</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout13</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer12_3_2_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>200</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>PoweredIdleLabel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>When the system is idle for more than</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox">
|
|
<property name="name">
|
|
<cstring>PoweredIdleTime</cstring>
|
|
</property>
|
|
<property name="prefix">
|
|
<string></string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> min</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>To prevent data loss or other damage, you can have the system suspend or hibernate, so you don't run accidentally out of battery power. Configure the number of minutes below which the machine will run the configured action.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox">
|
|
<property name="name">
|
|
<cstring>PoweredIdleCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout13_2_2</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer12_3_2_2_3_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>200</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>PoweredFreqLabel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>CPU frequency scaling policy</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox">
|
|
<property name="name">
|
|
<cstring>PoweredFreqCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="QGroupBox">
|
|
<property name="name">
|
|
<cstring>BatteryBox</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Battery Powered</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout16</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>BatteryBrightnessLabel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Brightness</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSlider">
|
|
<property name="name">
|
|
<cstring>BatteryBrightnessSlider</cstring>
|
|
</property>
|
|
<property name="mouseTracking">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="maxValue">
|
|
<number>7</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="tickmarks">
|
|
<enum>Both</enum>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>This slider controls the brightness when the system runs on batteries</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout14</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QComboBox" row="1" column="4">
|
|
<property name="name">
|
|
<cstring>BatteryIdleCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="1" column="2">
|
|
<property name="name">
|
|
<cstring>BatteryIdleLabel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>When the system is idle for more than</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" row="0" column="4">
|
|
<property name="name">
|
|
<cstring>BatteryCriticalCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="0" column="1" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>BatteryCriticalLabel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>When battery remaining time drops below</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" row="1" column="3">
|
|
<property name="name">
|
|
<cstring>BatteryIdleTime</cstring>
|
|
</property>
|
|
<property name="prefix">
|
|
<string></string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> min</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>To prevent data loss or other damage, you can have the system suspend or hibernate, so you don't run accidentally out of battery power. Configure the number of minutes below which the machine will run the configured action.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" row="0" column="3">
|
|
<property name="name">
|
|
<cstring>CriticalRemainTime</cstring>
|
|
</property>
|
|
<property name="prefix">
|
|
<string></string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> min</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>To prevent data loss or other damage, you can have the system suspend or hibernate, so you don't run accidentally out of battery power. Configure the number of minutes below which the machine will run the configured action.</string>
|
|
</property>
|
|
</widget>
|
|
<spacer row="0" column="0">
|
|
<property name="name">
|
|
<cstring>spacer12_3</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>28</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<spacer row="1" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>spacer12_3_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>50</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</grid>
|
|
</widget>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout13_2</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer12_3_2_2_3</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>200</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>BatteryFreqLabel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>CPU frequency scaling policy</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox">
|
|
<property name="name">
|
|
<cstring>BatteryFreqCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="QButtonGroup">
|
|
<property name="name">
|
|
<cstring>LaptopLidRadios</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>GroupBoxPanel</enum>
|
|
</property>
|
|
<property name="title">
|
|
<string>When Laptop Lid Closed</string>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>5</number>
|
|
</property>
|
|
<widget class="QRadioButton">
|
|
<property name="name">
|
|
<cstring>laptopClosedNone</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Do nothing</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton">
|
|
<property name="name">
|
|
<cstring>laptopClosedBlank</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Lock screen</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton">
|
|
<property name="name">
|
|
<cstring>laptopClosedSuspend</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Suspend</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Suspend to Memory</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Suspend is a sleep state, the system will consume only very little energy when suspended</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton">
|
|
<property name="name">
|
|
<cstring>laptopClosedHibernate</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hibernate</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Suspend to Disk</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Hibernate or "Suspend to Disk" is a deep sleepstate, allowing the system to power off completely</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton">
|
|
<property name="name">
|
|
<cstring>laptopClosedShutdown</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Shutdown</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Halt the machine</string>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer12_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>213</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</hbox>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer11</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>31</width>
|
|
<height>80</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</vbox>
|
|
</widget>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|