Diffstat (limited to 'core/settings/light-and-power/lightsettingsbase.ui') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/light-and-power/lightsettingsbase.ui | 189 |
1 files changed, 100 insertions, 89 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,23 +98,2 @@ </property> - <vbox> - <property stdset="1"> - <name>margin</name> - <number>3</number> - </property> - <property stdset="1"> - <name>spacing</name> - <number>3</number> - </property> - <widget> - <class>QLayoutWidget</class> - <property stdset="1"> - <name>name</name> - <cstring>Layout11</cstring> - </property> - <property> - <name>layoutMargin</name> - </property> - <property> - <name>layoutSpacing</name> - </property> <grid> @@ -122,3 +101,3 @@ <name>margin</name> - <number>3</number> + <number>5</number> </property> @@ -166,2 +145,9 @@ <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>3</hsizetype> + <vsizetype>1</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> <name>text</name> @@ -179,3 +165,3 @@ <sizepolicy> - <hsizetype>7</hsizetype> + <hsizetype>3</hsizetype> <vsizetype>1</vsizetype> @@ -257,2 +243,9 @@ <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>3</hsizetype> + <vsizetype>1</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> <name>text</name> @@ -261,5 +254,3 @@ </widget> - </grid> - </widget> - <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,23 +545,2 @@ </property> - <vbox> - <property stdset="1"> - <name>margin</name> - <number>3</number> - </property> - <property stdset="1"> - <name>spacing</name> - <number>3</number> - </property> - <widget> - <class>QLayoutWidget</class> - <property stdset="1"> - <name>name</name> - <cstring>Layout14</cstring> - </property> - <property> - <name>layoutMargin</name> - </property> - <property> - <name>layoutSpacing</name> - </property> <grid> @@ -565,3 +548,3 @@ <name>margin</name> - <number>3</number> + <number>5</number> </property> @@ -611,3 +594,3 @@ <sizepolicy> - <hsizetype>7</hsizetype> + <hsizetype>3</hsizetype> <vsizetype>1</vsizetype> @@ -658,2 +641,9 @@ <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>3</hsizetype> + <vsizetype>1</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> <name>text</name> @@ -700,2 +690,9 @@ <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>3</hsizetype> + <vsizetype>1</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> <name>text</name> @@ -704,5 +701,3 @@ </widget> - </grid> - </widget> - <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,23 +992,2 @@ </property> - <vbox> - <property stdset="1"> - <name>margin</name> - <number>3</number> - </property> - <property stdset="1"> - <name>spacing</name> - <number>3</number> - </property> - <widget> - <class>QLayoutWidget</class> - <property stdset="1"> - <name>name</name> - <cstring>Layout18</cstring> - </property> - <property> - <name>layoutMargin</name> - </property> - <property> - <name>layoutSpacing</name> - </property> <grid> @@ -1008,3 +995,3 @@ <name>margin</name> - <number>3</number> + <number>5</number> </property> @@ -1023,3 +1010,3 @@ <sizepolicy> - <hsizetype>7</hsizetype> + <hsizetype>3</hsizetype> <vsizetype>5</vsizetype> @@ -1050,2 +1037,6 @@ <property stdset="1"> + <name>buttonSymbols</name> + <enum>PlusMinus</enum> + </property> + <property stdset="1"> <name>maxValue</name> @@ -1073,2 +1064,6 @@ <property stdset="1"> + <name>buttonSymbols</name> + <enum>PlusMinus</enum> + </property> + <property stdset="1"> <name>maxValue</name> @@ -1100,2 +1095,6 @@ <property stdset="1"> + <name>buttonSymbols</name> + <enum>PlusMinus</enum> + </property> + <property stdset="1"> <name>maxValue</name> @@ -1150,4 +1149,2 @@ </widget> - </vbox> - </widget> <spacer> @@ -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> |