summaryrefslogtreecommitdiff
path: root/core/settings/light-and-power/lightsettingsbase.ui
authorsandman <sandman>2002-10-28 20:27:14 (UTC)
committer sandman <sandman>2002-10-28 20:27:14 (UTC)
commitb963230163fc8069731374a19390fd0e5cb42532 (patch) (side-by-side diff)
treea9a46c7d61e9529afee40f39b03ed01dd744e868 /core/settings/light-and-power/lightsettingsbase.ui
parent052303d29fe4a7b16858398f79f667e57ae569c9 (diff)
downloadopie-b963230163fc8069731374a19390fd0e5cb42532.zip
opie-b963230163fc8069731374a19390fd0e5cb42532.tar.gz
opie-b963230163fc8069731374a19390fd0e5cb42532.tar.bz2
Major update:
- fixed some layout margins in the ui file - cleanup in light.cpp (removed the old TT code) - new sensor calibration dialog - new copyright headers !! The launcher does not yet use the sensor calibration data !!
Diffstat (limited to 'core/settings/light-and-power/lightsettingsbase.ui') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/lightsettingsbase.ui951
1 files changed, 481 insertions, 470 deletions
diff --git a/core/settings/light-and-power/lightsettingsbase.ui b/core/settings/light-and-power/lightsettingsbase.ui
index f41e5a6..4df6024 100644
--- a/core/settings/light-and-power/lightsettingsbase.ui
+++ b/core/settings/light-and-power/lightsettingsbase.ui
@@ -13,3 +13,3 @@
<y>0</y>
- <width>399</width>
+ <width>387</width>
<height>532</height>
@@ -72,3 +72,3 @@
<name>margin</name>
- <number>3</number>
+ <number>5</number>
</property>
@@ -98,6 +98,6 @@
</property>
- <vbox>
+ <grid>
<property stdset="1">
<name>margin</name>
- <number>3</number>
+ <number>5</number>
</property>
@@ -107,159 +107,150 @@
</property>
- <widget>
- <class>QLayoutWidget</class>
+ <widget row="1" column="1" >
+ <class>QSpinBox</class>
<property stdset="1">
<name>name</name>
- <cstring>Layout11</cstring>
+ <cstring>interval_lightoff</cstring>
</property>
- <property>
- <name>layoutMargin</name>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> sec</string>
</property>
- <property>
- <name>layoutSpacing</name>
+ <property stdset="1">
+ <name>specialValueText</name>
+ <string>never</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>3600</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>0</number>
+ </property>
+ <property stdset="1">
+ <name>lineStep</name>
+ <number>10</number>
</property>
- <grid>
- <property stdset="1">
- <name>margin</name>
- <number>3</number>
- </property>
- <property stdset="1">
- <name>spacing</name>
- <number>3</number>
- </property>
- <widget row="1" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>interval_lightoff</cstring>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> sec</string>
- </property>
- <property stdset="1">
- <name>specialValueText</name>
- <string>never</string>
- </property>
- <property stdset="1">
- <name>buttonSymbols</name>
- <enum>PlusMinus</enum>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>3600</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>0</number>
- </property>
- <property stdset="1">
- <name>lineStep</name>
- <number>10</number>
- </property>
- </widget>
- <widget row="1" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel2_2</cstring>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>Light off after</string>
- </property>
- </widget>
- <widget row="0" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel1_3</cstring>
- </property>
- <property stdset="1">
- <name>sizePolicy</name>
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>1</vsizetype>
- </sizepolicy>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>Dim light after</string>
- </property>
- </widget>
- <widget row="0" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>interval_dim</cstring>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> sec</string>
- </property>
- <property stdset="1">
- <name>specialValueText</name>
- <string>never</string>
- </property>
- <property stdset="1">
- <name>buttonSymbols</name>
- <enum>PlusMinus</enum>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>3600</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>0</number>
- </property>
- <property stdset="1">
- <name>lineStep</name>
- <number>10</number>
- </property>
- </widget>
- <widget row="2" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>interval_suspend</cstring>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> sec</string>
- </property>
- <property stdset="1">
- <name>specialValueText</name>
- <string>never</string>
- </property>
- <property stdset="1">
- <name>buttonSymbols</name>
- <enum>PlusMinus</enum>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>3600</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>0</number>
- </property>
- <property stdset="1">
- <name>lineStep</name>
- <number>10</number>
- </property>
- </widget>
- <widget row="2" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel1_2</cstring>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>Suspend after</string>
- </property>
- </widget>
- </grid>
</widget>
- <widget>
+ <widget row="1" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>TextLabel2_2</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>1</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Light off after</string>
+ </property>
+ </widget>
+ <widget row="0" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>TextLabel1_3</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>1</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Dim light after</string>
+ </property>
+ </widget>
+ <widget row="0" column="1" >
+ <class>QSpinBox</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>interval_dim</cstring>
+ </property>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> sec</string>
+ </property>
+ <property stdset="1">
+ <name>specialValueText</name>
+ <string>never</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>3600</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>0</number>
+ </property>
+ <property stdset="1">
+ <name>lineStep</name>
+ <number>10</number>
+ </property>
+ </widget>
+ <widget row="2" column="1" >
+ <class>QSpinBox</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>interval_suspend</cstring>
+ </property>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> sec</string>
+ </property>
+ <property stdset="1">
+ <name>specialValueText</name>
+ <string>never</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>3600</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>0</number>
+ </property>
+ <property stdset="1">
+ <name>lineStep</name>
+ <number>10</number>
+ </property>
+ </widget>
+ <widget row="2" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>TextLabel1_2</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>1</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Suspend after</string>
+ </property>
+ </widget>
+ <widget row="3" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
@@ -270,2 +261,9 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>text</name>
@@ -274,3 +272,3 @@
</widget>
- </vbox>
+ </grid>
</widget>
@@ -295,3 +293,3 @@
<name>margin</name>
- <number>3</number>
+ <number>5</number>
</property>
@@ -346,2 +344,5 @@
</property>
+ <property>
+ <name>layoutSpacing</name>
+ </property>
<hbox>
@@ -353,3 +354,3 @@
<name>spacing</name>
- <number>6</number>
+ <number>3</number>
</property>
@@ -436,2 +437,5 @@
</property>
+ <property>
+ <name>layoutSpacing</name>
+ </property>
<hbox>
@@ -443,3 +447,3 @@
<name>spacing</name>
- <number>6</number>
+ <number>3</number>
</property>
@@ -515,3 +519,3 @@
<name>margin</name>
- <number>3</number>
+ <number>5</number>
</property>
@@ -541,6 +545,6 @@
</property>
- <vbox>
+ <grid>
<property stdset="1">
<name>margin</name>
- <number>3</number>
+ <number>5</number>
</property>
@@ -550,159 +554,150 @@
</property>
- <widget>
- <class>QLayoutWidget</class>
+ <widget row="1" column="1" >
+ <class>QSpinBox</class>
<property stdset="1">
<name>name</name>
- <cstring>Layout14</cstring>
+ <cstring>interval_lightoff_ac_3</cstring>
</property>
- <property>
- <name>layoutMargin</name>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> sec</string>
</property>
- <property>
- <name>layoutSpacing</name>
+ <property stdset="1">
+ <name>specialValueText</name>
+ <string>never</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>3600</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>0</number>
+ </property>
+ <property stdset="1">
+ <name>lineStep</name>
+ <number>10</number>
</property>
- <grid>
- <property stdset="1">
- <name>margin</name>
- <number>3</number>
- </property>
- <property stdset="1">
- <name>spacing</name>
- <number>3</number>
- </property>
- <widget row="1" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>interval_lightoff_ac_3</cstring>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> sec</string>
- </property>
- <property stdset="1">
- <name>specialValueText</name>
- <string>never</string>
- </property>
- <property stdset="1">
- <name>buttonSymbols</name>
- <enum>PlusMinus</enum>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>3600</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>0</number>
- </property>
- <property stdset="1">
- <name>lineStep</name>
- <number>10</number>
- </property>
- </widget>
- <widget row="0" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel1_3_2</cstring>
- </property>
- <property stdset="1">
- <name>sizePolicy</name>
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>1</vsizetype>
- </sizepolicy>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>Dim light after</string>
- </property>
- </widget>
- <widget row="2" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>interval_suspend_ac_3</cstring>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> sec</string>
- </property>
- <property stdset="1">
- <name>specialValueText</name>
- <string>never</string>
- </property>
- <property stdset="1">
- <name>buttonSymbols</name>
- <enum>PlusMinus</enum>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>3600</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>0</number>
- </property>
- <property stdset="1">
- <name>lineStep</name>
- <number>10</number>
- </property>
- </widget>
- <widget row="2" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel1_2_2_3</cstring>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>Suspend after</string>
- </property>
- </widget>
- <widget row="0" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>interval_dim_ac_3</cstring>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> sec</string>
- </property>
- <property stdset="1">
- <name>specialValueText</name>
- <string>never</string>
- </property>
- <property stdset="1">
- <name>buttonSymbols</name>
- <enum>PlusMinus</enum>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>3600</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>0</number>
- </property>
- <property stdset="1">
- <name>lineStep</name>
- <number>10</number>
- </property>
- </widget>
- <widget row="1" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel2_2_2</cstring>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>Light off after</string>
- </property>
- </widget>
- </grid>
</widget>
- <widget>
+ <widget row="0" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>TextLabel1_3_2</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>1</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Dim light after</string>
+ </property>
+ </widget>
+ <widget row="2" column="1" >
+ <class>QSpinBox</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>interval_suspend_ac_3</cstring>
+ </property>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> sec</string>
+ </property>
+ <property stdset="1">
+ <name>specialValueText</name>
+ <string>never</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>3600</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>0</number>
+ </property>
+ <property stdset="1">
+ <name>lineStep</name>
+ <number>10</number>
+ </property>
+ </widget>
+ <widget row="2" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>TextLabel1_2_2_3</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>1</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Suspend after</string>
+ </property>
+ </widget>
+ <widget row="0" column="1" >
+ <class>QSpinBox</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>interval_dim_ac_3</cstring>
+ </property>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> sec</string>
+ </property>
+ <property stdset="1">
+ <name>specialValueText</name>
+ <string>never</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>3600</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>0</number>
+ </property>
+ <property stdset="1">
+ <name>lineStep</name>
+ <number>10</number>
+ </property>
+ </widget>
+ <widget row="1" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>TextLabel2_2_2</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>1</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Light off after</string>
+ </property>
+ </widget>
+ <widget row="3" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
@@ -713,2 +708,9 @@
<property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
<name>text</name>
@@ -717,3 +719,3 @@
</widget>
- </vbox>
+ </grid>
</widget>
@@ -738,3 +740,3 @@
<name>margin</name>
- <number>3</number>
+ <number>5</number>
</property>
@@ -793,2 +795,5 @@
</property>
+ <property>
+ <name>layoutSpacing</name>
+ </property>
<hbox>
@@ -800,3 +805,3 @@
<name>spacing</name>
- <number>6</number>
+ <number>3</number>
</property>
@@ -883,2 +888,5 @@
</property>
+ <property>
+ <name>layoutSpacing</name>
+ </property>
<hbox>
@@ -890,3 +898,3 @@
<name>spacing</name>
- <number>6</number>
+ <number>3</number>
</property>
@@ -962,3 +970,3 @@
<name>margin</name>
- <number>3</number>
+ <number>5</number>
</property>
@@ -984,6 +992,6 @@
</property>
- <vbox>
+ <grid>
<property stdset="1">
<name>margin</name>
- <number>3</number>
+ <number>5</number>
</property>
@@ -993,160 +1001,149 @@
</property>
- <widget>
- <class>QLayoutWidget</class>
+ <widget row="0" column="0" >
+ <class>QLabel</class>
<property stdset="1">
<name>name</name>
- <cstring>Layout18</cstring>
+ <cstring>TextLabel1</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>5</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>Low power warning interval</string>
+ </property>
+ <property stdset="1">
+ <name>alignment</name>
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property>
- <name>layoutMargin</name>
+ <name>wordwrap</name>
+ </property>
+ </widget>
+ <widget row="1" column="1" >
+ <class>QSpinBox</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>lowSpinBox</cstring>
+ </property>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> %</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>80</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>2</number>
</property>
<property>
- <name>layoutSpacing</name>
+ <name>whatsThis</name>
+ <string>At what battery level should the low power warning pop up</string>
</property>
- <grid>
- <property stdset="1">
- <name>margin</name>
- <number>3</number>
- </property>
- <property stdset="1">
- <name>spacing</name>
- <number>3</number>
- </property>
- <widget row="0" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel1</cstring>
- </property>
- <property stdset="1">
- <name>sizePolicy</name>
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>5</vsizetype>
- </sizepolicy>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>Low power warning interval</string>
- </property>
- <property stdset="1">
- <name>alignment</name>
- <set>WordBreak|AlignVCenter|AlignLeft</set>
- </property>
- <property>
- <name>wordwrap</name>
- </property>
- </widget>
- <widget row="1" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>lowSpinBox</cstring>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> %</string>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>80</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>2</number>
- </property>
- <property>
- <name>whatsThis</name>
- <string>At what battery level should the low power warning pop up</string>
- </property>
- </widget>
- <widget row="0" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>warnintervalBox</cstring>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> sec</string>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>60</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>5</number>
- </property>
- <property>
- <name>whatsThis</name>
- <string>how often should be checked for low power. This determines the rate popups occure in low power situations</string>
- </property>
- </widget>
- <widget row="2" column="1" >
- <class>QSpinBox</class>
- <property stdset="1">
- <name>name</name>
- <cstring>criticalSpinBox</cstring>
- </property>
- <property stdset="1">
- <name>prefix</name>
- <string></string>
- </property>
- <property stdset="1">
- <name>suffix</name>
- <string> %</string>
- </property>
- <property stdset="1">
- <name>maxValue</name>
- <number>80</number>
- </property>
- <property stdset="1">
- <name>minValue</name>
- <number>2</number>
- </property>
- <property>
- <name>whatsThis</name>
- <string>At what battery level should the critical power warning pop up</string>
- </property>
- </widget>
- <widget row="1" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel2</cstring>
- </property>
- <property stdset="1">
- <name>sizePolicy</name>
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>5</vsizetype>
- </sizepolicy>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>very low battery warning at</string>
- </property>
- </widget>
- <widget row="2" column="0" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel3</cstring>
- </property>
- <property stdset="1">
- <name>sizePolicy</name>
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>5</vsizetype>
- </sizepolicy>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>critical power warning at</string>
- </property>
- </widget>
- </grid>
</widget>
- </vbox>
+ <widget row="0" column="1" >
+ <class>QSpinBox</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>warnintervalBox</cstring>
+ </property>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> sec</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>60</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>5</number>
+ </property>
+ <property>
+ <name>whatsThis</name>
+ <string>how often should be checked for low power. This determines the rate popups occure in low power situations</string>
+ </property>
+ </widget>
+ <widget row="2" column="1" >
+ <class>QSpinBox</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>criticalSpinBox</cstring>
+ </property>
+ <property stdset="1">
+ <name>prefix</name>
+ <string></string>
+ </property>
+ <property stdset="1">
+ <name>suffix</name>
+ <string> %</string>
+ </property>
+ <property stdset="1">
+ <name>buttonSymbols</name>
+ <enum>PlusMinus</enum>
+ </property>
+ <property stdset="1">
+ <name>maxValue</name>
+ <number>80</number>
+ </property>
+ <property stdset="1">
+ <name>minValue</name>
+ <number>2</number>
+ </property>
+ <property>
+ <name>whatsThis</name>
+ <string>At what battery level should the critical power warning pop up</string>
+ </property>
+ </widget>
+ <widget row="1" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>TextLabel2</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>5</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>very low battery warning at</string>
+ </property>
+ </widget>
+ <widget row="2" column="0" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>TextLabel3</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>5</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string>critical power warning at</string>
+ </property>
+ </widget>
+ </grid>
</widget>
@@ -1277,2 +1274,16 @@
</connection>
+ <connection>
+ <sender>CalibrateLightSensor</sender>
+ <signal>clicked()</signal>
+ <receiver>LightSettingsBase</receiver>
+ <slot>calibrateSensor()</slot>
+ </connection>
+ <connection>
+ <sender>CalibrateLightSensorAC</sender>
+ <signal>clicked()</signal>
+ <receiver>LightSettingsBase</receiver>
+ <slot>calibrateSensorAC()</slot>
+ </connection>
+ <slot access="public">calibrateSensor()</slot>
+ <slot access="public">calibrateSensorAC()</slot>
</connections>