summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/light-off.pngbin0 -> 392 bytes
-rw-r--r--core/settings/light-and-power/light-on.pngbin0 -> 635 bytes
-rw-r--r--core/settings/light-and-power/lightsettingsbase.ui12
3 files changed, 4 insertions, 8 deletions
diff --git a/core/settings/light-and-power/light-off.png b/core/settings/light-and-power/light-off.png
new file mode 100644
index 0000000..f50e78f
--- a/dev/null
+++ b/core/settings/light-and-power/light-off.png
Binary files differ
diff --git a/core/settings/light-and-power/light-on.png b/core/settings/light-and-power/light-on.png
new file mode 100644
index 0000000..f3ce137
--- a/dev/null
+++ b/core/settings/light-and-power/light-on.png
Binary files differ
diff --git a/core/settings/light-and-power/lightsettingsbase.ui b/core/settings/light-and-power/lightsettingsbase.ui
index b583b5c..99bbd71 100644
--- a/core/settings/light-and-power/lightsettingsbase.ui
+++ b/core/settings/light-and-power/lightsettingsbase.ui
@@ -1,62 +1,62 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>LightSettingsBase</class> 2<class>LightSettingsBase</class>
3<widget> 3<widget>
4 <class>QDialog</class> 4 <class>QDialog</class>
5 <property stdset="1"> 5 <property stdset="1">
6 <name>name</name> 6 <name>name</name>
7 <cstring>LightSettingsBase</cstring> 7 <cstring>LightSettingsBase</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>367</width> 14 <width>363</width>
15 <height>532</height> 15 <height>532</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>sizePolicy</name> 19 <name>sizePolicy</name>
20 <sizepolicy> 20 <sizepolicy>
21 <hsizetype>7</hsizetype> 21 <hsizetype>7</hsizetype>
22 <vsizetype>5</vsizetype> 22 <vsizetype>5</vsizetype>
23 </sizepolicy> 23 </sizepolicy>
24 </property> 24 </property>
25 <property stdset="1"> 25 <property stdset="1">
26 <name>caption</name> 26 <name>caption</name>
27 <string>Light and Power Settings</string> 27 <string>Light and Power Settings</string>
28 </property> 28 </property>
29 <property stdset="1"> 29 <property stdset="1">
30 <name>sizeGripEnabled</name> 30 <name>sizeGripEnabled</name>
31 <bool>false</bool> 31 <bool>false</bool>
32 </property> 32 </property>
33 <property> 33 <property>
34 <name>layoutMargin</name> 34 <name>layoutMargin</name>
35 </property> 35 </property>
36 <property> 36 <property>
37 <name>layoutSpacing</name> 37 <name>layoutSpacing</name>
38 </property> 38 </property>
39 <vbox> 39 <vbox>
40 <property stdset="1"> 40 <property stdset="1">
41 <name>margin</name> 41 <name>margin</name>
42 <number>3</number> 42 <number>3</number>
43 </property> 43 </property>
44 <property stdset="1"> 44 <property stdset="1">
45 <name>spacing</name> 45 <name>spacing</name>
46 <number>3</number> 46 <number>3</number>
47 </property> 47 </property>
48 <widget> 48 <widget>
49 <class>QTabWidget</class> 49 <class>QTabWidget</class>
50 <property stdset="1"> 50 <property stdset="1">
51 <name>name</name> 51 <name>name</name>
52 <cstring>tabs</cstring> 52 <cstring>tabs</cstring>
53 </property> 53 </property>
54 <property> 54 <property>
55 <name>layoutMargin</name> 55 <name>layoutMargin</name>
56 </property> 56 </property>
57 <property> 57 <property>
58 <name>layoutSpacing</name> 58 <name>layoutSpacing</name>
59 </property> 59 </property>
60 <widget> 60 <widget>
61 <class>QWidget</class> 61 <class>QWidget</class>
62 <property stdset="1"> 62 <property stdset="1">
@@ -768,97 +768,97 @@
768 </property> 768 </property>
769 <property stdset="1"> 769 <property stdset="1">
770 <name>value</name> 770 <name>value</name>
771 <number>255</number> 771 <number>255</number>
772 </property> 772 </property>
773 <property stdset="1"> 773 <property stdset="1">
774 <name>tracking</name> 774 <name>tracking</name>
775 <bool>true</bool> 775 <bool>true</bool>
776 </property> 776 </property>
777 <property stdset="1"> 777 <property stdset="1">
778 <name>orientation</name> 778 <name>orientation</name>
779 <enum>Horizontal</enum> 779 <enum>Horizontal</enum>
780 </property> 780 </property>
781 <property stdset="1"> 781 <property stdset="1">
782 <name>tickmarks</name> 782 <name>tickmarks</name>
783 <enum>Right</enum> 783 <enum>Right</enum>
784 </property> 784 </property>
785 <property> 785 <property>
786 <name>whatsThis</name> 786 <name>whatsThis</name>
787 <string>set a fix value for backlight</string> 787 <string>set a fix value for backlight</string>
788 </property> 788 </property>
789 </widget> 789 </widget>
790 <widget> 790 <widget>
791 <class>QLayoutWidget</class> 791 <class>QLayoutWidget</class>
792 <property stdset="1"> 792 <property stdset="1">
793 <name>name</name> 793 <name>name</name>
794 <cstring>Layout20</cstring> 794 <cstring>Layout20</cstring>
795 </property> 795 </property>
796 <property> 796 <property>
797 <name>layoutSpacing</name> 797 <name>layoutSpacing</name>
798 </property> 798 </property>
799 <hbox> 799 <hbox>
800 <property stdset="1"> 800 <property stdset="1">
801 <name>margin</name> 801 <name>margin</name>
802 <number>0</number> 802 <number>0</number>
803 </property> 803 </property>
804 <property stdset="1"> 804 <property stdset="1">
805 <name>spacing</name> 805 <name>spacing</name>
806 <number>3</number> 806 <number>3</number>
807 </property> 807 </property>
808 <widget> 808 <widget>
809 <class>QLabel</class> 809 <class>QLabel</class>
810 <property stdset="1"> 810 <property stdset="1">
811 <name>name</name> 811 <name>name</name>
812 <cstring>PixmapLabel2_2_3</cstring> 812 <cstring>PixmapLabel2_2_3</cstring>
813 </property> 813 </property>
814 <property stdset="1"> 814 <property stdset="1">
815 <name>pixmap</name> 815 <name>pixmap</name>
816 <pixmap>image2</pixmap> 816 <pixmap>image0</pixmap>
817 </property> 817 </property>
818 <property stdset="1"> 818 <property stdset="1">
819 <name>scaledContents</name> 819 <name>scaledContents</name>
820 <bool>false</bool> 820 <bool>false</bool>
821 </property> 821 </property>
822 </widget> 822 </widget>
823 <widget> 823 <widget>
824 <class>QLabel</class> 824 <class>QLabel</class>
825 <property stdset="1"> 825 <property stdset="1">
826 <name>name</name> 826 <name>name</name>
827 <cstring>TextLabel6</cstring> 827 <cstring>TextLabel6</cstring>
828 </property> 828 </property>
829 <property stdset="1"> 829 <property stdset="1">
830 <name>text</name> 830 <name>text</name>
831 <string>Off</string> 831 <string>Off</string>
832 </property> 832 </property>
833 </widget> 833 </widget>
834 <spacer> 834 <spacer>
835 <property> 835 <property>
836 <name>name</name> 836 <name>name</name>
837 <cstring>Spacer3</cstring> 837 <cstring>Spacer3</cstring>
838 </property> 838 </property>
839 <property stdset="1"> 839 <property stdset="1">
840 <name>orientation</name> 840 <name>orientation</name>
841 <enum>Horizontal</enum> 841 <enum>Horizontal</enum>
842 </property> 842 </property>
843 <property stdset="1"> 843 <property stdset="1">
844 <name>sizeType</name> 844 <name>sizeType</name>
845 <enum>Expanding</enum> 845 <enum>Expanding</enum>
846 </property> 846 </property>
847 <property> 847 <property>
848 <name>sizeHint</name> 848 <name>sizeHint</name>
849 <size> 849 <size>
850 <width>20</width> 850 <width>20</width>
851 <height>20</height> 851 <height>20</height>
852 </size> 852 </size>
853 </property> 853 </property>
854 </spacer> 854 </spacer>
855 <widget> 855 <widget>
856 <class>QLabel</class> 856 <class>QLabel</class>
857 <property stdset="1"> 857 <property stdset="1">
858 <name>name</name> 858 <name>name</name>
859 <cstring>TextLabel7</cstring> 859 <cstring>TextLabel7</cstring>
860 </property> 860 </property>
861 <property stdset="1"> 861 <property stdset="1">
862 <name>text</name> 862 <name>text</name>
863 <string>Full</string> 863 <string>Full</string>
864 </property> 864 </property>
@@ -1147,96 +1147,92 @@
1147 <class>QLabel</class> 1147 <class>QLabel</class>
1148 <property stdset="1"> 1148 <property stdset="1">
1149 <name>name</name> 1149 <name>name</name>
1150 <cstring>TextLabel3</cstring> 1150 <cstring>TextLabel3</cstring>
1151 </property> 1151 </property>
1152 <property stdset="1"> 1152 <property stdset="1">
1153 <name>sizePolicy</name> 1153 <name>sizePolicy</name>
1154 <sizepolicy> 1154 <sizepolicy>
1155 <hsizetype>1</hsizetype> 1155 <hsizetype>1</hsizetype>
1156 <vsizetype>5</vsizetype> 1156 <vsizetype>5</vsizetype>
1157 </sizepolicy> 1157 </sizepolicy>
1158 </property> 1158 </property>
1159 <property stdset="1"> 1159 <property stdset="1">
1160 <name>text</name> 1160 <name>text</name>
1161 <string>critical power warning at</string> 1161 <string>critical power warning at</string>
1162 </property> 1162 </property>
1163 </widget> 1163 </widget>
1164 </grid> 1164 </grid>
1165 </widget> 1165 </widget>
1166 <spacer> 1166 <spacer>
1167 <property> 1167 <property>
1168 <name>name</name> 1168 <name>name</name>
1169 <cstring>Spacer1</cstring> 1169 <cstring>Spacer1</cstring>
1170 </property> 1170 </property>
1171 <property stdset="1"> 1171 <property stdset="1">
1172 <name>orientation</name> 1172 <name>orientation</name>
1173 <enum>Vertical</enum> 1173 <enum>Vertical</enum>
1174 </property> 1174 </property>
1175 <property stdset="1"> 1175 <property stdset="1">
1176 <name>sizeType</name> 1176 <name>sizeType</name>
1177 <enum>Expanding</enum> 1177 <enum>Expanding</enum>
1178 </property> 1178 </property>
1179 <property> 1179 <property>
1180 <name>sizeHint</name> 1180 <name>sizeHint</name>
1181 <size> 1181 <size>
1182 <width>20</width> 1182 <width>20</width>
1183 <height>20</height> 1183 <height>20</height>
1184 </size> 1184 </size>
1185 </property> 1185 </property>
1186 </spacer> 1186 </spacer>
1187 </vbox> 1187 </vbox>
1188 </widget> 1188 </widget>
1189 </widget> 1189 </widget>
1190 </vbox> 1190 </vbox>
1191</widget> 1191</widget>
1192<images> 1192<images>
1193 <image> 1193 <image>
1194 <name>image0</name> 1194 <name>image0</name>
1195 <data format="XPM.GZ" length="424">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022130543251d2e253d856405bffcbc54105b19c856360003103711c4354b324b364b06719340dcb434b36488ac1e1a2020a6acac8c2ea60cc54862606ea232b218541b5810452c3111432c510f550c22886a1e482c115d0c2c88e6168818babaa4a42462c48082cae8e68102011a06b5d65c004336518f</data> 1195 <data format="XPM.GZ" length="1265">789c55d34b4fe2601487f13d9fa2811d9960cba5854c66a1584511046f209359f46d8b50b9df1427f3dda7cf31e2e13c2efebf77a118e349deea775a56fe24b3de049b716885a36065e5a3ed74bafffde7d7df4cd671adf4cb2d5b4ef647265bb042ab3d9fc5ec92daaeda35b5ab6adfaa9d533b56db537baaf650ed96da1db5efd53e55fb51ed2bb5376a3fa87da9f656ed62ba733543b002038f605928079f851141471813b485438203686c827d183a049f842ec1b5302038161a82d74239d880914d30103a0467c222c10f6185e099d023b813560946c21ac10ba121d8168604f74239d813c604cf616c13f4850ec177619160222c1334c20ac150e8126c0a3d8237c22ac13b618d6057287f24b8121a824b6148b02e94df014e847270048736c137a14370212c119c0bcb045f851ec117a121f907e4728109a358e6d7db307c496f34566f71f22a37997ebfcde68bc57cb15c99f5e6eb6dbb7b4bef7dbfdf7f9c1edeceea93ba39f77dffe2f076d9484c92186392ddd5e1fb5d376f3eaff1fd335ad152ae7dab3e5fa73b4aefaea53ff37d779e5ef341bf3dca87f68fde0a4f3ddfeff58f7edfc2f3c0769ce2f15ba93c1854dce3b78257ad0d3f57f6dfcfcc7f522034e9</data>
1196 </image> 1196 </image>
1197 <image> 1197 <image>
1198 <name>image1</name> 1198 <name>image1</name>
1199 <data format="XPM.GZ" length="439">789c6d8ec10ac2300c86ef7b8ad0ff36a4730777111f41f1288887b4b3e8610a3a0f22bebb6dd3d54d0ca5cdffe54f9aaaa4dd764d6555dc7beecf96ec896f54b68fae7bee0fab57a1ea86fc5950ad6685d2646973bd1c43ce3ec73c46903648e79a5624443a27d20cd2b9382704747e124382f11a7c5e30b364b957b331866331b3800c38f70282121c7c628367c098c1e0eb03121ccd4b46fcb0f80b26bb4833987f76b6d6f274de5fe6a1a031d30969f55e161fe4715f7b</data> 1199 <data format="XPM.GZ" length="2211">789c75d5594fdb401007f0773e45c4bca1eadfc4b755f581fba6d0420b547db077d7248424908310aa7ef7ae6736ee9683c1917ed9b13d9e592b1fd75a97a7c7adb58f2b936931eda996ea16e3d69a9e0d068b9fbf3eff5e59ed24adfabf1db582d50f2bab67d3966a9d8c86a6066df9d8f371e8e3c0c7be8f231fca03c887f131f091fb17e8fad07edad847e5a7f5fc95637f65e8af843e36fcb4898fff6afbeee3c4c7a67f4e0dca4b1b8abd5bbb48eb606fb3f98fbd60ebc214157b836d0a53f28468ddb9727e665765bb0cd93bb5ad6cb09f6aeb5c2589664fd95a9569ccc5ded536460751c98e6a57818ec3845d386771c4ced8a12e42cea7b9d84459c6eb9a1de92a95e79b89ed7aceeb5c7f15ebbccdfdc00f6715707d982c1d49fd8f6293e46c6cb11313c41d76c94e4d9e73bfa09c8b829f8fc0ce4c184b7fc6ce59c6c617766ee250fa113827622a9dd398e7831b6795733f68c4b6e3c9a47f47ecd2a41d9e0f86ce4aee4777ce2693cdd217575129f3b965ab2ac8a59e0bb6362a907ae4feba0a32b1710e3399d7837324cf8f986daa3891fea5ce4922f5edb3ab2ae8c8f9078d797e386c2cf3fde61cba799d3b47813ccfded2a1e45f3ac7915cffbab15cbfdd58f2af1acb7e796e2cfbe56b639977c73971e7274b27b25f17cea9ec77a2c652ef9373964aff8ba533e9d76963b9fed9d2b9bc7f95732eef37769d8b5cfab3dd58eadd59ba90eb3f2e2def33668da5fe7963e9dfb4b1bc5f7de752d6e9c15929ee1fdd3796fdfbcfb25f478da51f3d676de47eb7cec6b9db38935f8c658050a0848286f9f7ad9f830a37e8a267e3167ddcbdcec100438c706f0ff97cc0f855ce0453ccf088b9fd7cc202cf58c7869f834d6c611b3bd8b5c71ef67180431ce1f8bf9c137cc129ceecf115df70ce71f122e73b7ee01257b8461b1d8e3602842fea891023f12245f6aae69c4044850ba292d4ebfe902643958b1beabed543ead12df5edb3cfa94f77347833674823bab7fdbba7071ad3e4ad1c9b35a5193dda98d3d3dbf3b2390b7aa675dab0b1f96ece166dd38e8d5dda7b2fc766edd3011dd291ffddea9f4f2b7f01e4bc2999</data>
1200 </image>
1201 <image>
1202 <name>image2</name>
1203 <data format="XPM.GZ" length="424">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022130543251d2e253d856405bffcbc54105b19c856360003103711c4354b344b314b04719340dcb434b31488ac1e1a2020a6acac8c2ea60cc54862606ea232b218541b5810452c3111432c510f550c22886a1e482c115d0c2c88e6168818babaa4a42462c48082cae8e68102011a06b5d65c0041d3518e</data>
1204 </image> 1200 </image>
1205</images> 1201</images>
1206<connections> 1202<connections>
1207 <connection> 1203 <connection>
1208 <sender>CalibrateLightSensor</sender> 1204 <sender>CalibrateLightSensor</sender>
1209 <signal>clicked()</signal> 1205 <signal>clicked()</signal>
1210 <receiver>LightSettingsBase</receiver> 1206 <receiver>LightSettingsBase</receiver>
1211 <slot>calibrateSensor()</slot> 1207 <slot>calibrateSensor()</slot>
1212 </connection> 1208 </connection>
1213 <connection> 1209 <connection>
1214 <sender>CalibrateLightSensorAC</sender> 1210 <sender>CalibrateLightSensorAC</sender>
1215 <signal>clicked()</signal> 1211 <signal>clicked()</signal>
1216 <receiver>LightSettingsBase</receiver> 1212 <receiver>LightSettingsBase</receiver>
1217 <slot>calibrateSensorAC()</slot> 1213 <slot>calibrateSensorAC()</slot>
1218 </connection> 1214 </connection>
1219 <slot access="public">calibrateSensor()</slot> 1215 <slot access="public">calibrateSensor()</slot>
1220 <slot access="public">calibrateSensorAC()</slot> 1216 <slot access="public">calibrateSensorAC()</slot>
1221</connections> 1217</connections>
1222<tabstops> 1218<tabstops>
1223 <tabstop>interval_dim</tabstop> 1219 <tabstop>interval_dim</tabstop>
1224 <tabstop>interval_lightoff</tabstop> 1220 <tabstop>interval_lightoff</tabstop>
1225 <tabstop>interval_suspend</tabstop> 1221 <tabstop>interval_suspend</tabstop>
1226 <tabstop>LcdOffOnly</tabstop> 1222 <tabstop>LcdOffOnly</tabstop>
1227 <tabstop>brightness</tabstop> 1223 <tabstop>brightness</tabstop>
1228 <tabstop>auto_brightness</tabstop> 1224 <tabstop>auto_brightness</tabstop>
1229 <tabstop>CalibrateLightSensor</tabstop> 1225 <tabstop>CalibrateLightSensor</tabstop>
1230 <tabstop>tabs</tabstop> 1226 <tabstop>tabs</tabstop>
1231 <tabstop>interval_lightoff_ac_3</tabstop> 1227 <tabstop>interval_lightoff_ac_3</tabstop>
1232 <tabstop>interval_suspend_ac_3</tabstop> 1228 <tabstop>interval_suspend_ac_3</tabstop>
1233 <tabstop>interval_dim_ac_3</tabstop> 1229 <tabstop>interval_dim_ac_3</tabstop>
1234 <tabstop>LcdOffOnly_2_3</tabstop> 1230 <tabstop>LcdOffOnly_2_3</tabstop>
1235 <tabstop>brightness_ac_3</tabstop> 1231 <tabstop>brightness_ac_3</tabstop>
1236 <tabstop>auto_brightness_ac_3</tabstop> 1232 <tabstop>auto_brightness_ac_3</tabstop>
1237 <tabstop>CalibrateLightSensorAC</tabstop> 1233 <tabstop>CalibrateLightSensorAC</tabstop>
1238 <tabstop>lowSpinBox</tabstop> 1234 <tabstop>lowSpinBox</tabstop>
1239 <tabstop>warnintervalBox</tabstop> 1235 <tabstop>warnintervalBox</tabstop>
1240 <tabstop>criticalSpinBox</tabstop> 1236 <tabstop>criticalSpinBox</tabstop>
1241</tabstops> 1237</tabstops>
1242</UI> 1238</UI>