-rw-r--r-- | core/settings/light-and-power/light.cpp | 3 | ||||
-rw-r--r-- | core/settings/light-and-power/lightsettingsbase.ui | 17 |
2 files changed, 17 insertions, 3 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index 424a64c..1c61787 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp | |||
@@ -1,317 +1,320 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the OPIE Project | 2 | This file is part of the OPIE Project |
3 | =. Copyright (c) 2002 Maximilian Reiss <harlekin@handhelds.org> | 3 | =. Copyright (c) 2002 Maximilian Reiss <harlekin@handhelds.org> |
4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | 4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
5 | .>+-= | 5 | .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 6 | _;:, .> :=|. This file is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 7 | .> <`_, > . <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 9 | .="- .-=="i, .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 10 | - . .-<_> .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 11 | ._= =} : or (at your option) any later version. |
12 | .%`+i> _;_. | 12 | .%`+i> _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 13 | .i_,=:_. -<s. This file is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 15 | : .. .:, . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
18 | ..}^=.= = ; Public License for more details. | 18 | ..}^=.= = ; Public License for more details. |
19 | ++= -. .` .: | 19 | ++= -. .` .: |
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | : = ...= . :.=- You should have received a copy of the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | -. .:....=;==+<; General Public License along with this file; |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "light.h" | 29 | #include "light.h" |
30 | #include "sensor.h" | 30 | #include "sensor.h" |
31 | 31 | ||
32 | /* OPIE */ | 32 | /* OPIE */ |
33 | #include <opie2/odevice.h> | 33 | #include <opie2/odevice.h> |
34 | #include <opie2/odebug.h> | 34 | #include <opie2/odebug.h> |
35 | 35 | ||
36 | #include <qpe/config.h> | 36 | #include <qpe/config.h> |
37 | #include <qpe/power.h> | 37 | #include <qpe/power.h> |
38 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 38 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) |
39 | #include <qpe/qcopenvelope_qws.h> | 39 | #include <qpe/qcopenvelope_qws.h> |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | /* QT */ | 42 | /* QT */ |
43 | #include <qlabel.h> | 43 | #include <qlabel.h> |
44 | #include <qcheckbox.h> | 44 | #include <qcheckbox.h> |
45 | #include <qtabwidget.h> | 45 | #include <qtabwidget.h> |
46 | #include <qslider.h> | 46 | #include <qslider.h> |
47 | #include <qspinbox.h> | 47 | #include <qspinbox.h> |
48 | #include <qpushbutton.h> | 48 | #include <qpushbutton.h> |
49 | #include <qgroupbox.h> | 49 | #include <qgroupbox.h> |
50 | #include <qcombobox.h> | 50 | #include <qcombobox.h> |
51 | 51 | ||
52 | 52 | ||
53 | 53 | ||
54 | using namespace Opie::Core; | 54 | using namespace Opie::Core; |
55 | 55 | ||
56 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | 56 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) |
57 | : LightSettingsBase( parent, name, false, WStyle_ContextHelp ) | 57 | : LightSettingsBase( parent, name, false, WStyle_ContextHelp ) |
58 | { | 58 | { |
59 | m_bres = ODevice::inst ( )-> displayBrightnessResolution ( ); | 59 | m_bres = ODevice::inst ( )-> displayBrightnessResolution ( ); |
60 | m_cres = ODevice::inst ( )-> displayContrastResolution ( ); | 60 | m_cres = ODevice::inst ( )-> displayContrastResolution ( ); |
61 | 61 | ||
62 | // check whether to show the light sensor stuff | 62 | // check whether to show the light sensor stuff |
63 | 63 | ||
64 | if ( !ODevice::inst ( )-> hasLightSensor ( )) { | 64 | if ( !ODevice::inst ( )-> hasLightSensor ( )) { |
65 | auto_brightness-> hide ( ); | 65 | auto_brightness-> hide ( ); |
66 | CalibrateLightSensor-> hide ( ); | 66 | CalibrateLightSensor-> hide ( ); |
67 | auto_brightness_ac-> hide ( ); | 67 | auto_brightness_ac-> hide ( ); |
68 | CalibrateLightSensor_ac-> hide ( ); | 68 | CalibrateLightSensor_ac-> hide ( ); |
69 | } | 69 | } |
70 | 70 | ||
71 | // check whether to show the contrast stuff | 71 | // check whether to show the contrast stuff |
72 | 72 | ||
73 | if (m_cres) { | 73 | if (m_cres) { |
74 | GroupLight->setTitle(tr("Backlight && Contrast")); | 74 | GroupLight->setTitle(tr("Backlight && Contrast")); |
75 | GroupLight_ac->setTitle(GroupLight->title()); | 75 | GroupLight_ac->setTitle(GroupLight->title()); |
76 | } else { | 76 | } else { |
77 | contrast->hide(); | 77 | contrast->hide(); |
78 | contrast_ac->hide(); | 78 | contrast_ac->hide(); |
79 | } | 79 | } |
80 | 80 | ||
81 | // check whether to show the cpu frequency stuff | 81 | // check whether to show the cpu frequency stuff |
82 | 82 | ||
83 | QStrList freq = ODevice::inst()->allowedCpuFrequencies(); | 83 | QStrList freq = ODevice::inst()->allowedCpuFrequencies(); |
84 | if ( freq.count() ) { | 84 | if ( freq.count() ) { |
85 | frequency->insertStrList( freq ); | 85 | frequency->insertStrList( freq ); |
86 | frequency_ac->insertStrList( freq ); | 86 | frequency_ac->insertStrList( freq ); |
87 | } else { | 87 | } else { |
88 | frequencyLabel->hide(); | 88 | frequencyLabel->hide(); |
89 | frequency->hide(); | 89 | frequency->hide(); |
90 | frequencyLabel_ac->hide(); | 90 | frequencyLabel_ac->hide(); |
91 | frequency_ac->hide(); | 91 | frequency_ac->hide(); |
92 | } | 92 | } |
93 | 93 | ||
94 | // check whether to show the hinge action stuff | 94 | // check whether to show the hinge action stuff |
95 | 95 | ||
96 | if ( !ODevice::inst()->hasHingeSensor() ) { | 96 | if ( !ODevice::inst()->hasHingeSensor() ) { |
97 | closeHingeLabel->hide(); | 97 | closeHingeLabel->hide(); |
98 | closeHingeAction->hide(); | 98 | closeHingeAction->hide(); |
99 | closeHingeLabel_ac->hide(); | 99 | closeHingeLabel_ac->hide(); |
100 | closeHingeAction_ac->hide(); | 100 | closeHingeAction_ac->hide(); |
101 | } | 101 | } |
102 | 102 | ||
103 | Config config ( "apm" ); | 103 | Config config ( "apm" ); |
104 | config. setGroup ( "Battery" ); | 104 | config. setGroup ( "Battery" ); |
105 | 105 | ||
106 | // battery spinboxes | 106 | // battery spinboxes |
107 | interval_dim-> setValue ( config. readNumEntry ( "Dim", 20 )); | 107 | interval_dim-> setValue ( config. readNumEntry ( "Dim", 20 )); |
108 | interval_lightoff-> setValue ( config. readNumEntry ( "LightOff", 30 )); | 108 | interval_lightoff-> setValue ( config. readNumEntry ( "LightOff", 30 )); |
109 | interval_suspend-> setValue ( config. readNumEntry ( "Suspend", 60 )); | 109 | interval_suspend-> setValue ( config. readNumEntry ( "Suspend", 60 )); |
110 | 110 | ||
111 | // battery check and slider | 111 | // battery check and slider |
112 | LcdOffOnly->setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); | 112 | LcdOffOnly->setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); |
113 | 113 | ||
114 | // CPU frequency | 114 | // CPU frequency |
115 | frequency->setCurrentItem( config.readNumEntry("Freq", 0) ); | 115 | frequency->setCurrentItem( config.readNumEntry("Freq", 0) ); |
116 | 116 | ||
117 | // hinge action | 117 | // hinge action |
118 | closeHingeAction->setCurrentItem( config.readNumEntry("CloseHingeAction", 0) ); | 118 | closeHingeAction->setCurrentItem( config.readNumEntry("CloseHingeAction", 0) ); |
119 | 119 | ||
120 | int bright = config. readNumEntry ( "Brightness", 127 ); | 120 | int bright = config. readNumEntry ( "Brightness", 127 ); |
121 | int contr = m_oldcontrast = config. readNumEntry ( "Contrast", 127 ); | 121 | int contr = m_oldcontrast = config. readNumEntry ( "Contrast", 127 ); |
122 | brightness-> setTickInterval ( QMAX( 16, 256 / m_bres )); | 122 | brightness-> setTickInterval ( QMAX( 16, 256 / m_bres )); |
123 | brightness-> setLineStep ( QMAX( 1, 256 / m_bres )); | 123 | brightness-> setLineStep ( QMAX( 1, 256 / m_bres )); |
124 | brightness-> setPageStep ( QMAX( 1, 256 / m_bres )); | 124 | brightness-> setPageStep ( QMAX( 1, 256 / m_bres )); |
125 | brightness-> setValue ( bright ); | 125 | brightness-> setValue ( bright ); |
126 | 126 | ||
127 | // | ||
127 | if (m_cres) { | 128 | if (m_cres) { |
128 | contrast-> setTickInterval ( QMAX( 16, 256 / m_cres )); | 129 | contrast-> setTickInterval ( QMAX( 16, 256 / m_cres )); |
129 | contrast-> setLineStep ( QMAX( 1, 256 / m_cres )); | 130 | contrast-> setLineStep ( QMAX( 1, 256 / m_cres )); |
130 | contrast-> setPageStep ( QMAX( 1, 256 / m_cres )); | 131 | contrast-> setPageStep ( QMAX( 1, 256 / m_cres )); |
131 | contrast-> setValue ( contr ); | 132 | contrast-> setValue ( contr ); |
132 | } | 133 | } |
133 | 134 | ||
134 | // light sensor | 135 | // light sensor |
135 | auto_brightness-> setChecked ( config. readBoolEntry ( "LightSensor", false )); | 136 | auto_brightness-> setChecked ( config. readBoolEntry ( "LightSensor", false )); |
136 | m_sensordata = config. readListEntry ( "LightSensorData", ';' ); | 137 | m_sensordata = config. readListEntry ( "LightSensorData", ';' ); |
137 | 138 | ||
138 | config. setGroup ( "AC" ); | 139 | config. setGroup ( "AC" ); |
139 | 140 | ||
140 | // ac spinboxes | 141 | // ac spinboxes |
141 | interval_dim_ac-> setValue ( config. readNumEntry ( "Dim", 60 )); | 142 | interval_dim_ac-> setValue ( config. readNumEntry ( "Dim", 60 )); |
142 | interval_lightoff_ac-> setValue ( config. readNumEntry ( "LightOff", 120 )); | 143 | interval_lightoff_ac-> setValue ( config. readNumEntry ( "LightOff", 120 )); |
143 | interval_suspend_ac-> setValue ( config. readNumEntry ( "Suspend", 0 )); | 144 | interval_suspend_ac-> setValue ( config. readNumEntry ( "Suspend", 0 )); |
144 | 145 | ||
145 | // ac check and slider | 146 | // ac check and slider |
146 | LcdOffOnly_ac-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); | 147 | LcdOffOnly_ac-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); |
147 | 148 | ||
148 | // CPU frequency | 149 | // CPU frequency |
149 | frequency_ac->setCurrentItem( config.readNumEntry("Freq", 0) ); | 150 | frequency_ac->setCurrentItem( config.readNumEntry("Freq", 0) ); |
150 | 151 | ||
151 | // hinge action | 152 | // hinge action |
152 | closeHingeAction_ac->setCurrentItem( config.readNumEntry("CloseHingeAction", 0) ); | 153 | closeHingeAction_ac->setCurrentItem( config.readNumEntry("CloseHingeAction", 0) ); |
153 | 154 | ||
154 | bright = config. readNumEntry ( "Brightness", 255 ); | 155 | bright = config. readNumEntry ( "Brightness", 255 ); |
155 | brightness_ac-> setTickInterval ( QMAX( 16, 256 / m_bres )); | 156 | brightness_ac-> setTickInterval ( QMAX( 16, 256 / m_bres )); |
156 | brightness_ac-> setLineStep ( QMAX( 1, 256 / m_bres )); | 157 | brightness_ac-> setLineStep ( QMAX( 1, 256 / m_bres )); |
157 | brightness_ac-> setPageStep ( QMAX( 1, 256 / m_bres )); | 158 | brightness_ac-> setPageStep ( QMAX( 1, 256 / m_bres )); |
158 | brightness_ac-> setValue ( bright ); | 159 | brightness_ac-> setValue ( bright ); |
159 | 160 | ||
160 | if (m_cres) { | 161 | if (m_cres) { |
161 | contr = config. readNumEntry ( "Contrast", 127); | 162 | contr = config. readNumEntry ( "Contrast", 127); |
162 | contrast_ac-> setTickInterval ( QMAX( 16, 256 / m_cres )); | 163 | contrast_ac-> setTickInterval ( QMAX( 16, 256 / m_cres )); |
163 | contrast_ac-> setLineStep ( QMAX( 1, 256 / m_cres )); | 164 | contrast_ac-> setLineStep ( QMAX( 1, 256 / m_cres )); |
164 | contrast_ac-> setPageStep ( QMAX( 1, 256 / m_cres )); | 165 | contrast_ac-> setPageStep ( QMAX( 1, 256 / m_cres )); |
165 | contrast_ac-> setValue ( contr ); | 166 | contrast_ac-> setValue ( contr ); |
166 | } | 167 | } |
167 | 168 | ||
168 | // light sensor | 169 | // light sensor |
169 | auto_brightness_ac-> setChecked ( config. readBoolEntry ( "LightSensor", false )); | 170 | auto_brightness_ac-> setChecked ( config. readBoolEntry ( "LightSensor", false )); |
170 | m_sensordata_ac = config. readListEntry ( "LightSensorData", ';' ); | 171 | m_sensordata_ac = config. readListEntry ( "LightSensorData", ';' ); |
171 | 172 | ||
172 | // warnings | 173 | // warnings |
173 | config. setGroup ( "Warnings" ); | 174 | config. setGroup ( "Warnings" ); |
174 | warnintervalBox-> setValue ( config. readNumEntry ( "checkinterval", 10000 ) / 1000 ); | 175 | warnintervalBox-> setValue ( config. readNumEntry ( "checkinterval", 10000 ) / 1000 ); |
175 | lowSpinBox-> setValue ( config. readNumEntry ( "powerverylow", 10 ) ); | 176 | lowSpinBox-> setValue ( config. readNumEntry ( "powerverylow", 10 ) ); |
176 | criticalSpinBox-> setValue ( config. readNumEntry ( "powercritical", 5 ) ); | 177 | criticalSpinBox-> setValue ( config. readNumEntry ( "powercritical", 5 ) ); |
177 | 178 | ||
178 | m_resettimer = new QTimer ( this ); | 179 | m_resettimer = new QTimer ( this ); |
179 | connect ( m_resettimer, SIGNAL( timeout()), this, SLOT( resetBacklight())); | 180 | connect ( m_resettimer, SIGNAL( timeout()), this, SLOT( resetBacklight())); |
180 | 181 | ||
181 | if ( PowerStatusManager::readStatus ( ). acStatus ( ) != PowerStatus::Online ) { | 182 | if ( PowerStatusManager::readStatus ( ). acStatus ( ) != PowerStatus::Online ) { |
182 | tabs-> setCurrentPage ( 0 ); | 183 | tabs-> setCurrentPage ( 0 ); |
184 | brightness->setFocus(); | ||
183 | } | 185 | } |
184 | else { | 186 | else { |
185 | tabs-> setCurrentPage ( 1 ); | 187 | tabs-> setCurrentPage ( 1 ); |
188 | brightness_ac->setFocus(); | ||
186 | } | 189 | } |
187 | 190 | ||
188 | connect ( brightness, SIGNAL( valueChanged(int)), this, SLOT( setBacklight(int))); | 191 | connect ( brightness, SIGNAL( valueChanged(int)), this, SLOT( setBacklight(int))); |
189 | connect ( brightness_ac, SIGNAL( valueChanged(int)), this, SLOT( setBacklight(int))); | 192 | connect ( brightness_ac, SIGNAL( valueChanged(int)), this, SLOT( setBacklight(int))); |
190 | if (m_cres) { | 193 | if (m_cres) { |
191 | connect ( contrast, SIGNAL( valueChanged(int)), this, SLOT( setContrast(int))); | 194 | connect ( contrast, SIGNAL( valueChanged(int)), this, SLOT( setContrast(int))); |
192 | connect ( contrast_ac, SIGNAL( valueChanged(int)), this, SLOT( setContrast(int))); | 195 | connect ( contrast_ac, SIGNAL( valueChanged(int)), this, SLOT( setContrast(int))); |
193 | } | 196 | } |
194 | connect( frequency, SIGNAL( activated(int) ), this, SLOT( setFrequency(int) ) ); | 197 | connect( frequency, SIGNAL( activated(int) ), this, SLOT( setFrequency(int) ) ); |
195 | connect( frequency_ac, SIGNAL( activated(int) ), this, SLOT( setFrequency(int) ) ); | 198 | connect( frequency_ac, SIGNAL( activated(int) ), this, SLOT( setFrequency(int) ) ); |
196 | connect( closeHingeAction, SIGNAL( activated(int) ), this, SLOT( setCloseHingeAction(int) ) ); | 199 | connect( closeHingeAction, SIGNAL( activated(int) ), this, SLOT( setCloseHingeAction(int) ) ); |
197 | connect( closeHingeAction_ac, SIGNAL( activated(int) ), this, SLOT( setCloseHingeAction(int) ) ); | 200 | connect( closeHingeAction_ac, SIGNAL( activated(int) ), this, SLOT( setCloseHingeAction(int) ) ); |
198 | } | 201 | } |
199 | 202 | ||
200 | LightSettings::~LightSettings ( ) | 203 | LightSettings::~LightSettings ( ) |
201 | { | 204 | { |
202 | } | 205 | } |
203 | 206 | ||
204 | void LightSettings::calibrateSensor ( ) | 207 | void LightSettings::calibrateSensor ( ) |
205 | { | 208 | { |
206 | Sensor *s = new Sensor ( m_sensordata, this ); | 209 | Sensor *s = new Sensor ( m_sensordata, this ); |
207 | connect ( s, SIGNAL( viewBacklight(int)), this, SLOT( setBacklight(int))); | 210 | connect ( s, SIGNAL( viewBacklight(int)), this, SLOT( setBacklight(int))); |
208 | QPEApplication::execDialog( s ); | 211 | QPEApplication::execDialog( s ); |
209 | delete s; | 212 | delete s; |
210 | } | 213 | } |
211 | 214 | ||
212 | void LightSettings::calibrateSensorAC ( ) | 215 | void LightSettings::calibrateSensorAC ( ) |
213 | { | 216 | { |
214 | Sensor *s = new Sensor ( m_sensordata_ac, this ); | 217 | Sensor *s = new Sensor ( m_sensordata_ac, this ); |
215 | connect ( s, SIGNAL( viewBacklight(int)), this, SLOT( setBacklight(int))); | 218 | connect ( s, SIGNAL( viewBacklight(int)), this, SLOT( setBacklight(int))); |
216 | QPEApplication::execDialog ( s ); | 219 | QPEApplication::execDialog ( s ); |
217 | delete s; | 220 | delete s; |
218 | } | 221 | } |
219 | 222 | ||
220 | void LightSettings::setBacklight ( int bright ) | 223 | void LightSettings::setBacklight ( int bright ) |
221 | { | 224 | { |
222 | QCopEnvelope e ( "QPE/System", "setBacklight(int)" ); | 225 | QCopEnvelope e ( "QPE/System", "setBacklight(int)" ); |
223 | e << bright; | 226 | e << bright; |
224 | 227 | ||
225 | if ( bright != -1 ) { | 228 | if ( bright != -1 ) { |
226 | m_resettimer-> stop ( ); | 229 | m_resettimer-> stop ( ); |
227 | m_resettimer-> start ( 4000, true ); | 230 | m_resettimer-> start ( 4000, true ); |
228 | } | 231 | } |
229 | } | 232 | } |
230 | 233 | ||
231 | void LightSettings::setContrast ( int contr ) | 234 | void LightSettings::setContrast ( int contr ) |
232 | { | 235 | { |
233 | if (contr == -1) contr = m_oldcontrast; | 236 | if (contr == -1) contr = m_oldcontrast; |
234 | ODevice::inst ( )-> setDisplayContrast(contr); | 237 | ODevice::inst ( )-> setDisplayContrast(contr); |
235 | } | 238 | } |
236 | 239 | ||
237 | void LightSettings::setFrequency ( int index ) | 240 | void LightSettings::setFrequency ( int index ) |
238 | { | 241 | { |
239 | owarn << "LightSettings::setFrequency(" << index << ")" << oendl; | 242 | owarn << "LightSettings::setFrequency(" << index << ")" << oendl; |
240 | ODevice::inst ( )-> setCurrentCpuFrequency(index); | 243 | ODevice::inst ( )-> setCurrentCpuFrequency(index); |
241 | } | 244 | } |
242 | 245 | ||
243 | void LightSettings::resetBacklight ( ) | 246 | void LightSettings::resetBacklight ( ) |
244 | { | 247 | { |
245 | setBacklight ( -1 ); | 248 | setBacklight ( -1 ); |
246 | setContrast ( -1 ); | 249 | setContrast ( -1 ); |
247 | } | 250 | } |
248 | 251 | ||
249 | void LightSettings::setCloseHingeAction ( int index ) | 252 | void LightSettings::setCloseHingeAction ( int index ) |
250 | { | 253 | { |
251 | owarn << "LightSettings::setCloseHingeStatus(" << index << ")" << oendl; | 254 | owarn << "LightSettings::setCloseHingeStatus(" << index << ")" << oendl; |
252 | } | 255 | } |
253 | 256 | ||
254 | void LightSettings::accept ( ) | 257 | void LightSettings::accept ( ) |
255 | { | 258 | { |
256 | Config config ( "apm" ); | 259 | Config config ( "apm" ); |
257 | 260 | ||
258 | // bat | 261 | // bat |
259 | config. setGroup ( "Battery" ); | 262 | config. setGroup ( "Battery" ); |
260 | config. writeEntry ( "LcdOffOnly", LcdOffOnly-> isChecked ( )); | 263 | config. writeEntry ( "LcdOffOnly", LcdOffOnly-> isChecked ( )); |
261 | config. writeEntry ( "Dim", interval_dim-> value ( )); | 264 | config. writeEntry ( "Dim", interval_dim-> value ( )); |
262 | config. writeEntry ( "LightOff", interval_lightoff-> value ( )); | 265 | config. writeEntry ( "LightOff", interval_lightoff-> value ( )); |
263 | config. writeEntry ( "Suspend", interval_suspend-> value ( )); | 266 | config. writeEntry ( "Suspend", interval_suspend-> value ( )); |
264 | config. writeEntry ( "Brightness", brightness-> value () ); | 267 | config. writeEntry ( "Brightness", brightness-> value () ); |
265 | if (m_cres) | 268 | if (m_cres) |
266 | config. writeEntry ( "Contrast", contrast-> value () ); | 269 | config. writeEntry ( "Contrast", contrast-> value () ); |
267 | config. writeEntry ( "Freq", frequency->currentItem() ); | 270 | config. writeEntry ( "Freq", frequency->currentItem() ); |
268 | config. writeEntry ( "CloseHingeAction", closeHingeAction->currentItem() ); | 271 | config. writeEntry ( "CloseHingeAction", closeHingeAction->currentItem() ); |
269 | 272 | ||
270 | // ac | 273 | // ac |
271 | config. setGroup ( "AC" ); | 274 | config. setGroup ( "AC" ); |
272 | config. writeEntry ( "LcdOffOnly", LcdOffOnly_ac-> isChecked ( )); | 275 | config. writeEntry ( "LcdOffOnly", LcdOffOnly_ac-> isChecked ( )); |
273 | config. writeEntry ( "Dim", interval_dim_ac-> value ( )); | 276 | config. writeEntry ( "Dim", interval_dim_ac-> value ( )); |
274 | config. writeEntry ( "LightOff", interval_lightoff_ac-> value ( )); | 277 | config. writeEntry ( "LightOff", interval_lightoff_ac-> value ( )); |
275 | config. writeEntry ( "Suspend", interval_suspend_ac-> value ( )); | 278 | config. writeEntry ( "Suspend", interval_suspend_ac-> value ( )); |
276 | config. writeEntry ( "Brightness", brightness_ac-> value () ); | 279 | config. writeEntry ( "Brightness", brightness_ac-> value () ); |
277 | if (m_cres) | 280 | if (m_cres) |
278 | config. writeEntry ( "Contrast", contrast_ac-> value () ); | 281 | config. writeEntry ( "Contrast", contrast_ac-> value () ); |
279 | config. writeEntry ( "Freq", frequency_ac->currentItem() ); | 282 | config. writeEntry ( "Freq", frequency_ac->currentItem() ); |
280 | config. writeEntry ( "CloseHingeAction", closeHingeAction_ac->currentItem() ); | 283 | config. writeEntry ( "CloseHingeAction", closeHingeAction_ac->currentItem() ); |
281 | 284 | ||
282 | // only make light sensor stuff appear if the unit has a sensor | 285 | // only make light sensor stuff appear if the unit has a sensor |
283 | if ( ODevice::inst ( )-> hasLightSensor ( )) { | 286 | if ( ODevice::inst ( )-> hasLightSensor ( )) { |
284 | config. setGroup ( "Battery" ); | 287 | config. setGroup ( "Battery" ); |
285 | config. writeEntry ( "LightSensor", auto_brightness->isChecked() ); | 288 | config. writeEntry ( "LightSensor", auto_brightness->isChecked() ); |
286 | config. writeEntry ( "LightSensorData", m_sensordata, ';' ); | 289 | config. writeEntry ( "LightSensorData", m_sensordata, ';' ); |
287 | config. setGroup ( "AC" ); | 290 | config. setGroup ( "AC" ); |
288 | config. writeEntry ( "LightSensor", auto_brightness_ac->isChecked() ); | 291 | config. writeEntry ( "LightSensor", auto_brightness_ac->isChecked() ); |
289 | config. writeEntry ( "LightSensorData", m_sensordata_ac, ';' ); | 292 | config. writeEntry ( "LightSensorData", m_sensordata_ac, ';' ); |
290 | } | 293 | } |
291 | 294 | ||
292 | // advanced | 295 | // advanced |
293 | config. setGroup ( "Warnings" ); | 296 | config. setGroup ( "Warnings" ); |
294 | config. writeEntry ( "check_interval", warnintervalBox-> value ( ) * 1000 ); | 297 | config. writeEntry ( "check_interval", warnintervalBox-> value ( ) * 1000 ); |
295 | config. writeEntry ( "power_verylow", lowSpinBox-> value ( )); | 298 | config. writeEntry ( "power_verylow", lowSpinBox-> value ( )); |
296 | config. writeEntry ( "power_critical", criticalSpinBox-> value ( )); | 299 | config. writeEntry ( "power_critical", criticalSpinBox-> value ( )); |
297 | config. write ( ); | 300 | config. write ( ); |
298 | 301 | ||
299 | // notify the launcher | 302 | // notify the launcher |
300 | { | 303 | { |
301 | QCopEnvelope e ( "QPE/System", "reloadPowerWarnSettings()" ); | 304 | QCopEnvelope e ( "QPE/System", "reloadPowerWarnSettings()" ); |
302 | } | 305 | } |
303 | { | 306 | { |
304 | QCopEnvelope e ( "QPE/System", "setScreenSaverInterval(int)" ); | 307 | QCopEnvelope e ( "QPE/System", "setScreenSaverInterval(int)" ); |
305 | e << -1; | 308 | e << -1; |
306 | } | 309 | } |
307 | LightSettingsBase::accept ( ); | 310 | LightSettingsBase::accept ( ); |
308 | } | 311 | } |
309 | 312 | ||
310 | void LightSettings::done ( int r ) | 313 | void LightSettings::done ( int r ) |
311 | { | 314 | { |
312 | m_resettimer-> stop ( ); | 315 | m_resettimer-> stop ( ); |
313 | resetBacklight ( ); | 316 | resetBacklight ( ); |
314 | 317 | ||
315 | LightSettingsBase::done ( r ); | 318 | LightSettingsBase::done ( r ); |
316 | close ( ); | 319 | close ( ); |
317 | } | 320 | } |
diff --git a/core/settings/light-and-power/lightsettingsbase.ui b/core/settings/light-and-power/lightsettingsbase.ui index 2af0331..1f1ff17 100644 --- a/core/settings/light-and-power/lightsettingsbase.ui +++ b/core/settings/light-and-power/lightsettingsbase.ui | |||
@@ -1,526 +1,526 @@ | |||
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>331</width> | 14 | <width>327</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"> |
63 | <name>name</name> | 63 | <name>name</name> |
64 | <cstring>tab</cstring> | 64 | <cstring>tab</cstring> |
65 | </property> | 65 | </property> |
66 | <attribute> | 66 | <attribute> |
67 | <name>title</name> | 67 | <name>title</name> |
68 | <string>on Battery</string> | 68 | <string>on Battery</string> |
69 | </attribute> | 69 | </attribute> |
70 | <vbox> | 70 | <vbox> |
71 | <property stdset="1"> | 71 | <property stdset="1"> |
72 | <name>margin</name> | 72 | <name>margin</name> |
73 | <number>5</number> | 73 | <number>5</number> |
74 | </property> | 74 | </property> |
75 | <property stdset="1"> | 75 | <property stdset="1"> |
76 | <name>spacing</name> | 76 | <name>spacing</name> |
77 | <number>3</number> | 77 | <number>3</number> |
78 | </property> | 78 | </property> |
79 | <widget> | 79 | <widget> |
80 | <class>QGroupBox</class> | 80 | <class>QGroupBox</class> |
81 | <property stdset="1"> | 81 | <property stdset="1"> |
82 | <name>name</name> | 82 | <name>name</name> |
83 | <cstring>Group1</cstring> | 83 | <cstring>Group1</cstring> |
84 | </property> | 84 | </property> |
85 | <property stdset="1"> | 85 | <property stdset="1"> |
86 | <name>enabled</name> | 86 | <name>enabled</name> |
87 | <bool>true</bool> | 87 | <bool>true</bool> |
88 | </property> | 88 | </property> |
89 | <property stdset="1"> | 89 | <property stdset="1"> |
90 | <name>title</name> | 90 | <name>title</name> |
91 | <string>General Settings</string> | 91 | <string>General Settings</string> |
92 | </property> | 92 | </property> |
93 | <property> | 93 | <property> |
94 | <name>layoutMargin</name> | 94 | <name>layoutMargin</name> |
95 | </property> | 95 | </property> |
96 | <property> | 96 | <property> |
97 | <name>layoutSpacing</name> | 97 | <name>layoutSpacing</name> |
98 | </property> | 98 | </property> |
99 | <grid> | 99 | <grid> |
100 | <property stdset="1"> | 100 | <property stdset="1"> |
101 | <name>margin</name> | 101 | <name>margin</name> |
102 | <number>5</number> | 102 | <number>5</number> |
103 | </property> | 103 | </property> |
104 | <property stdset="1"> | 104 | <property stdset="1"> |
105 | <name>spacing</name> | 105 | <name>spacing</name> |
106 | <number>3</number> | 106 | <number>3</number> |
107 | </property> | 107 | </property> |
108 | <widget row="0" column="0" rowspan="1" colspan="2" > | 108 | <widget row="0" column="0" rowspan="1" colspan="2" > |
109 | <class>QLabel</class> | 109 | <class>QLabel</class> |
110 | <property stdset="1"> | 110 | <property stdset="1"> |
111 | <name>name</name> | 111 | <name>name</name> |
112 | <cstring>TL1</cstring> | 112 | <cstring>TL1</cstring> |
113 | </property> | 113 | </property> |
114 | <property stdset="1"> | 114 | <property stdset="1"> |
115 | <name>sizePolicy</name> | 115 | <name>sizePolicy</name> |
116 | <sizepolicy> | 116 | <sizepolicy> |
117 | <hsizetype>3</hsizetype> | 117 | <hsizetype>3</hsizetype> |
118 | <vsizetype>1</vsizetype> | 118 | <vsizetype>1</vsizetype> |
119 | </sizepolicy> | 119 | </sizepolicy> |
120 | </property> | 120 | </property> |
121 | <property stdset="1"> | 121 | <property stdset="1"> |
122 | <name>text</name> | 122 | <name>text</name> |
123 | <string>Dim light after</string> | 123 | <string>Dim light after</string> |
124 | </property> | 124 | </property> |
125 | </widget> | 125 | </widget> |
126 | <widget row="2" column="0" rowspan="1" colspan="2" > | 126 | <widget row="2" column="0" rowspan="1" colspan="2" > |
127 | <class>QLabel</class> | 127 | <class>QLabel</class> |
128 | <property stdset="1"> | 128 | <property stdset="1"> |
129 | <name>name</name> | 129 | <name>name</name> |
130 | <cstring>TL3</cstring> | 130 | <cstring>TL3</cstring> |
131 | </property> | 131 | </property> |
132 | <property stdset="1"> | 132 | <property stdset="1"> |
133 | <name>sizePolicy</name> | 133 | <name>sizePolicy</name> |
134 | <sizepolicy> | 134 | <sizepolicy> |
135 | <hsizetype>3</hsizetype> | 135 | <hsizetype>3</hsizetype> |
136 | <vsizetype>1</vsizetype> | 136 | <vsizetype>1</vsizetype> |
137 | </sizepolicy> | 137 | </sizepolicy> |
138 | </property> | 138 | </property> |
139 | <property stdset="1"> | 139 | <property stdset="1"> |
140 | <name>text</name> | 140 | <name>text</name> |
141 | <string>Suspend after</string> | 141 | <string>Suspend after</string> |
142 | </property> | 142 | </property> |
143 | </widget> | 143 | </widget> |
144 | <widget row="4" column="0" rowspan="1" colspan="3" > | 144 | <widget row="4" column="0" rowspan="1" colspan="3" > |
145 | <class>QCheckBox</class> | 145 | <class>QCheckBox</class> |
146 | <property stdset="1"> | 146 | <property stdset="1"> |
147 | <name>name</name> | 147 | <name>name</name> |
148 | <cstring>LcdOffOnly</cstring> | 148 | <cstring>LcdOffOnly</cstring> |
149 | </property> | 149 | </property> |
150 | <property stdset="1"> | 150 | <property stdset="1"> |
151 | <name>sizePolicy</name> | 151 | <name>sizePolicy</name> |
152 | <sizepolicy> | 152 | <sizepolicy> |
153 | <hsizetype>7</hsizetype> | 153 | <hsizetype>7</hsizetype> |
154 | <vsizetype>0</vsizetype> | 154 | <vsizetype>0</vsizetype> |
155 | </sizepolicy> | 155 | </sizepolicy> |
156 | </property> | 156 | </property> |
157 | <property stdset="1"> | 157 | <property stdset="1"> |
158 | <name>text</name> | 158 | <name>text</name> |
159 | <string>Deactivate LCD only (does not suspend)</string> | 159 | <string>Deactivate LCD only (does not suspend)</string> |
160 | </property> | 160 | </property> |
161 | </widget> | 161 | </widget> |
162 | <widget row="3" column="0" rowspan="1" colspan="2" > | 162 | <widget row="3" column="0" rowspan="1" colspan="2" > |
163 | <class>QLabel</class> | 163 | <class>QLabel</class> |
164 | <property stdset="1"> | 164 | <property stdset="1"> |
165 | <name>name</name> | 165 | <name>name</name> |
166 | <cstring>frequencyLabel</cstring> | 166 | <cstring>frequencyLabel</cstring> |
167 | </property> | 167 | </property> |
168 | <property stdset="1"> | 168 | <property stdset="1"> |
169 | <name>sizePolicy</name> | 169 | <name>sizePolicy</name> |
170 | <sizepolicy> | 170 | <sizepolicy> |
171 | <hsizetype>3</hsizetype> | 171 | <hsizetype>3</hsizetype> |
172 | <vsizetype>1</vsizetype> | 172 | <vsizetype>1</vsizetype> |
173 | </sizepolicy> | 173 | </sizepolicy> |
174 | </property> | 174 | </property> |
175 | <property stdset="1"> | 175 | <property stdset="1"> |
176 | <name>text</name> | 176 | <name>text</name> |
177 | <string>CPU Frequency</string> | 177 | <string>CPU Frequency</string> |
178 | </property> | 178 | </property> |
179 | </widget> | 179 | </widget> |
180 | <widget row="5" column="0" > | 180 | <widget row="5" column="0" > |
181 | <class>QLabel</class> | 181 | <class>QLabel</class> |
182 | <property stdset="1"> | 182 | <property stdset="1"> |
183 | <name>name</name> | 183 | <name>name</name> |
184 | <cstring>closeHingeLabel</cstring> | 184 | <cstring>closeHingeLabel</cstring> |
185 | </property> | 185 | </property> |
186 | <property stdset="1"> | 186 | <property stdset="1"> |
187 | <name>text</name> | 187 | <name>text</name> |
188 | <string>On closing the hinge</string> | 188 | <string>On closing the hinge</string> |
189 | </property> | 189 | </property> |
190 | </widget> | 190 | </widget> |
191 | <widget row="0" column="2" > | 191 | <widget row="0" column="2" > |
192 | <class>QSpinBox</class> | 192 | <class>QSpinBox</class> |
193 | <property stdset="1"> | 193 | <property stdset="1"> |
194 | <name>name</name> | 194 | <name>name</name> |
195 | <cstring>interval_dim</cstring> | 195 | <cstring>interval_dim</cstring> |
196 | </property> | 196 | </property> |
197 | <property stdset="1"> | 197 | <property stdset="1"> |
198 | <name>suffix</name> | 198 | <name>suffix</name> |
199 | <string> sec</string> | 199 | <string> sec</string> |
200 | </property> | 200 | </property> |
201 | <property stdset="1"> | 201 | <property stdset="1"> |
202 | <name>specialValueText</name> | 202 | <name>specialValueText</name> |
203 | <string>never</string> | 203 | <string>never</string> |
204 | </property> | 204 | </property> |
205 | <property stdset="1"> | 205 | <property stdset="1"> |
206 | <name>buttonSymbols</name> | 206 | <name>buttonSymbols</name> |
207 | <enum>PlusMinus</enum> | 207 | <enum>PlusMinus</enum> |
208 | </property> | 208 | </property> |
209 | <property stdset="1"> | 209 | <property stdset="1"> |
210 | <name>maxValue</name> | 210 | <name>maxValue</name> |
211 | <number>3600</number> | 211 | <number>3600</number> |
212 | </property> | 212 | </property> |
213 | <property stdset="1"> | 213 | <property stdset="1"> |
214 | <name>minValue</name> | 214 | <name>minValue</name> |
215 | <number>0</number> | 215 | <number>0</number> |
216 | </property> | 216 | </property> |
217 | <property stdset="1"> | 217 | <property stdset="1"> |
218 | <name>lineStep</name> | 218 | <name>lineStep</name> |
219 | <number>10</number> | 219 | <number>10</number> |
220 | </property> | 220 | </property> |
221 | </widget> | 221 | </widget> |
222 | <widget row="1" column="2" > | 222 | <widget row="1" column="2" > |
223 | <class>QSpinBox</class> | 223 | <class>QSpinBox</class> |
224 | <property stdset="1"> | 224 | <property stdset="1"> |
225 | <name>name</name> | 225 | <name>name</name> |
226 | <cstring>interval_lightoff</cstring> | 226 | <cstring>interval_lightoff</cstring> |
227 | </property> | 227 | </property> |
228 | <property stdset="1"> | 228 | <property stdset="1"> |
229 | <name>suffix</name> | 229 | <name>suffix</name> |
230 | <string> sec</string> | 230 | <string> sec</string> |
231 | </property> | 231 | </property> |
232 | <property stdset="1"> | 232 | <property stdset="1"> |
233 | <name>specialValueText</name> | 233 | <name>specialValueText</name> |
234 | <string>never</string> | 234 | <string>never</string> |
235 | </property> | 235 | </property> |
236 | <property stdset="1"> | 236 | <property stdset="1"> |
237 | <name>buttonSymbols</name> | 237 | <name>buttonSymbols</name> |
238 | <enum>PlusMinus</enum> | 238 | <enum>PlusMinus</enum> |
239 | </property> | 239 | </property> |
240 | <property stdset="1"> | 240 | <property stdset="1"> |
241 | <name>maxValue</name> | 241 | <name>maxValue</name> |
242 | <number>3600</number> | 242 | <number>3600</number> |
243 | </property> | 243 | </property> |
244 | <property stdset="1"> | 244 | <property stdset="1"> |
245 | <name>minValue</name> | 245 | <name>minValue</name> |
246 | <number>0</number> | 246 | <number>0</number> |
247 | </property> | 247 | </property> |
248 | <property stdset="1"> | 248 | <property stdset="1"> |
249 | <name>lineStep</name> | 249 | <name>lineStep</name> |
250 | <number>10</number> | 250 | <number>10</number> |
251 | </property> | 251 | </property> |
252 | </widget> | 252 | </widget> |
253 | <widget row="2" column="2" > | 253 | <widget row="2" column="2" > |
254 | <class>QSpinBox</class> | 254 | <class>QSpinBox</class> |
255 | <property stdset="1"> | 255 | <property stdset="1"> |
256 | <name>name</name> | 256 | <name>name</name> |
257 | <cstring>interval_suspend</cstring> | 257 | <cstring>interval_suspend</cstring> |
258 | </property> | 258 | </property> |
259 | <property stdset="1"> | 259 | <property stdset="1"> |
260 | <name>suffix</name> | 260 | <name>suffix</name> |
261 | <string> sec</string> | 261 | <string> sec</string> |
262 | </property> | 262 | </property> |
263 | <property stdset="1"> | 263 | <property stdset="1"> |
264 | <name>specialValueText</name> | 264 | <name>specialValueText</name> |
265 | <string>never</string> | 265 | <string>never</string> |
266 | </property> | 266 | </property> |
267 | <property stdset="1"> | 267 | <property stdset="1"> |
268 | <name>buttonSymbols</name> | 268 | <name>buttonSymbols</name> |
269 | <enum>PlusMinus</enum> | 269 | <enum>PlusMinus</enum> |
270 | </property> | 270 | </property> |
271 | <property stdset="1"> | 271 | <property stdset="1"> |
272 | <name>maxValue</name> | 272 | <name>maxValue</name> |
273 | <number>3600</number> | 273 | <number>3600</number> |
274 | </property> | 274 | </property> |
275 | <property stdset="1"> | 275 | <property stdset="1"> |
276 | <name>minValue</name> | 276 | <name>minValue</name> |
277 | <number>0</number> | 277 | <number>0</number> |
278 | </property> | 278 | </property> |
279 | <property stdset="1"> | 279 | <property stdset="1"> |
280 | <name>lineStep</name> | 280 | <name>lineStep</name> |
281 | <number>10</number> | 281 | <number>10</number> |
282 | </property> | 282 | </property> |
283 | </widget> | 283 | </widget> |
284 | <widget row="3" column="2" > | 284 | <widget row="3" column="2" > |
285 | <class>QComboBox</class> | 285 | <class>QComboBox</class> |
286 | <property stdset="1"> | 286 | <property stdset="1"> |
287 | <name>name</name> | 287 | <name>name</name> |
288 | <cstring>frequency</cstring> | 288 | <cstring>frequency</cstring> |
289 | </property> | 289 | </property> |
290 | </widget> | 290 | </widget> |
291 | <widget row="5" column="1" rowspan="1" colspan="2" > | 291 | <widget row="5" column="1" rowspan="1" colspan="2" > |
292 | <class>QComboBox</class> | 292 | <class>QComboBox</class> |
293 | <item> | 293 | <item> |
294 | <property> | 294 | <property> |
295 | <name>text</name> | 295 | <name>text</name> |
296 | <string>ignore</string> | 296 | <string>ignore</string> |
297 | </property> | 297 | </property> |
298 | </item> | 298 | </item> |
299 | <item> | 299 | <item> |
300 | <property> | 300 | <property> |
301 | <name>text</name> | 301 | <name>text</name> |
302 | <string>display off</string> | 302 | <string>display off</string> |
303 | </property> | 303 | </property> |
304 | </item> | 304 | </item> |
305 | <item> | 305 | <item> |
306 | <property> | 306 | <property> |
307 | <name>text</name> | 307 | <name>text</name> |
308 | <string>suspend</string> | 308 | <string>suspend</string> |
309 | </property> | 309 | </property> |
310 | </item> | 310 | </item> |
311 | <property stdset="1"> | 311 | <property stdset="1"> |
312 | <name>name</name> | 312 | <name>name</name> |
313 | <cstring>closeHingeAction</cstring> | 313 | <cstring>closeHingeAction</cstring> |
314 | </property> | 314 | </property> |
315 | </widget> | 315 | </widget> |
316 | <widget row="1" column="0" > | 316 | <widget row="1" column="0" > |
317 | <class>QLabel</class> | 317 | <class>QLabel</class> |
318 | <property stdset="1"> | 318 | <property stdset="1"> |
319 | <name>name</name> | 319 | <name>name</name> |
320 | <cstring>TL2</cstring> | 320 | <cstring>TL2</cstring> |
321 | </property> | 321 | </property> |
322 | <property stdset="1"> | 322 | <property stdset="1"> |
323 | <name>sizePolicy</name> | 323 | <name>sizePolicy</name> |
324 | <sizepolicy> | 324 | <sizepolicy> |
325 | <hsizetype>3</hsizetype> | 325 | <hsizetype>3</hsizetype> |
326 | <vsizetype>1</vsizetype> | 326 | <vsizetype>1</vsizetype> |
327 | </sizepolicy> | 327 | </sizepolicy> |
328 | </property> | 328 | </property> |
329 | <property stdset="1"> | 329 | <property stdset="1"> |
330 | <name>text</name> | 330 | <name>text</name> |
331 | <string>Light off after</string> | 331 | <string>Light off after</string> |
332 | </property> | 332 | </property> |
333 | </widget> | 333 | </widget> |
334 | </grid> | 334 | </grid> |
335 | </widget> | 335 | </widget> |
336 | <widget> | 336 | <widget> |
337 | <class>QGroupBox</class> | 337 | <class>QGroupBox</class> |
338 | <property stdset="1"> | 338 | <property stdset="1"> |
339 | <name>name</name> | 339 | <name>name</name> |
340 | <cstring>GroupLight</cstring> | 340 | <cstring>GroupLight</cstring> |
341 | </property> | 341 | </property> |
342 | <property stdset="1"> | 342 | <property stdset="1"> |
343 | <name>title</name> | 343 | <name>title</name> |
344 | <string>Backlight</string> | 344 | <string>Backlight</string> |
345 | </property> | 345 | </property> |
346 | <property> | 346 | <property> |
347 | <name>layoutMargin</name> | 347 | <name>layoutMargin</name> |
348 | </property> | 348 | </property> |
349 | <property> | 349 | <property> |
350 | <name>layoutSpacing</name> | 350 | <name>layoutSpacing</name> |
351 | </property> | 351 | </property> |
352 | <vbox> | 352 | <vbox> |
353 | <property stdset="1"> | 353 | <property stdset="1"> |
354 | <name>margin</name> | 354 | <name>margin</name> |
355 | <number>5</number> | 355 | <number>5</number> |
356 | </property> | 356 | </property> |
357 | <property stdset="1"> | 357 | <property stdset="1"> |
358 | <name>spacing</name> | 358 | <name>spacing</name> |
359 | <number>3</number> | 359 | <number>3</number> |
360 | </property> | 360 | </property> |
361 | <widget> | 361 | <widget> |
362 | <class>QSlider</class> | 362 | <class>QSlider</class> |
363 | <property stdset="1"> | 363 | <property stdset="1"> |
364 | <name>name</name> | 364 | <name>name</name> |
365 | <cstring>brightness</cstring> | 365 | <cstring>brightness</cstring> |
366 | </property> | 366 | </property> |
367 | <property stdset="1"> | 367 | <property stdset="1"> |
368 | <name>maxValue</name> | 368 | <name>maxValue</name> |
369 | <number>255</number> | 369 | <number>255</number> |
370 | </property> | 370 | </property> |
371 | <property stdset="1"> | 371 | <property stdset="1"> |
372 | <name>orientation</name> | 372 | <name>orientation</name> |
373 | <enum>Horizontal</enum> | 373 | <enum>Horizontal</enum> |
374 | </property> | 374 | </property> |
375 | <property stdset="1"> | 375 | <property stdset="1"> |
376 | <name>tickmarks</name> | 376 | <name>tickmarks</name> |
377 | <enum>Right</enum> | 377 | <enum>Right</enum> |
378 | </property> | 378 | </property> |
379 | <property> | 379 | <property> |
380 | <name>whatsThis</name> | 380 | <name>whatsThis</name> |
381 | <string>set a fix value for backlight</string> | 381 | <string>set a fix value for backlight</string> |
382 | </property> | 382 | </property> |
383 | </widget> | 383 | </widget> |
384 | <widget> | 384 | <widget> |
385 | <class>QSlider</class> | 385 | <class>QSlider</class> |
386 | <property stdset="1"> | 386 | <property stdset="1"> |
387 | <name>name</name> | 387 | <name>name</name> |
388 | <cstring>contrast</cstring> | 388 | <cstring>contrast</cstring> |
389 | </property> | 389 | </property> |
390 | <property stdset="1"> | 390 | <property stdset="1"> |
391 | <name>maxValue</name> | 391 | <name>maxValue</name> |
392 | <number>255</number> | 392 | <number>255</number> |
393 | </property> | 393 | </property> |
394 | <property stdset="1"> | 394 | <property stdset="1"> |
395 | <name>orientation</name> | 395 | <name>orientation</name> |
396 | <enum>Horizontal</enum> | 396 | <enum>Horizontal</enum> |
397 | </property> | 397 | </property> |
398 | <property stdset="1"> | 398 | <property stdset="1"> |
399 | <name>tickmarks</name> | 399 | <name>tickmarks</name> |
400 | <enum>Right</enum> | 400 | <enum>Right</enum> |
401 | </property> | 401 | </property> |
402 | <property> | 402 | <property> |
403 | <name>whatsThis</name> | 403 | <name>whatsThis</name> |
404 | <string>set a fix value for contrast</string> | 404 | <string>set a fix value for contrast</string> |
405 | </property> | 405 | </property> |
406 | </widget> | 406 | </widget> |
407 | <widget> | 407 | <widget> |
408 | <class>QLayoutWidget</class> | 408 | <class>QLayoutWidget</class> |
409 | <property stdset="1"> | 409 | <property stdset="1"> |
410 | <name>name</name> | 410 | <name>name</name> |
411 | <cstring>Layout10</cstring> | 411 | <cstring>Layout10</cstring> |
412 | </property> | 412 | </property> |
413 | <property> | 413 | <property> |
414 | <name>layoutSpacing</name> | 414 | <name>layoutSpacing</name> |
415 | </property> | 415 | </property> |
416 | <hbox> | 416 | <hbox> |
417 | <property stdset="1"> | 417 | <property stdset="1"> |
418 | <name>margin</name> | 418 | <name>margin</name> |
419 | <number>0</number> | 419 | <number>0</number> |
420 | </property> | 420 | </property> |
421 | <property stdset="1"> | 421 | <property stdset="1"> |
422 | <name>spacing</name> | 422 | <name>spacing</name> |
423 | <number>3</number> | 423 | <number>3</number> |
424 | </property> | 424 | </property> |
425 | <widget> | 425 | <widget> |
426 | <class>QLabel</class> | 426 | <class>QLabel</class> |
427 | <property stdset="1"> | 427 | <property stdset="1"> |
428 | <name>name</name> | 428 | <name>name</name> |
429 | <cstring>PixmapLabel2</cstring> | 429 | <cstring>PixmapLabel2</cstring> |
430 | </property> | 430 | </property> |
431 | <property stdset="1"> | 431 | <property stdset="1"> |
432 | <name>pixmap</name> | 432 | <name>pixmap</name> |
433 | <pixmap>image0</pixmap> | 433 | <pixmap>image0</pixmap> |
434 | </property> | 434 | </property> |
435 | <property stdset="1"> | 435 | <property stdset="1"> |
436 | <name>scaledContents</name> | 436 | <name>scaledContents</name> |
437 | <bool>false</bool> | 437 | <bool>false</bool> |
438 | </property> | 438 | </property> |
439 | </widget> | 439 | </widget> |
440 | <widget> | 440 | <widget> |
441 | <class>QLabel</class> | 441 | <class>QLabel</class> |
442 | <property stdset="1"> | 442 | <property stdset="1"> |
443 | <name>name</name> | 443 | <name>name</name> |
444 | <cstring>TL4</cstring> | 444 | <cstring>TL4</cstring> |
445 | </property> | 445 | </property> |
446 | <property stdset="1"> | 446 | <property stdset="1"> |
447 | <name>text</name> | 447 | <name>text</name> |
448 | <string>Off</string> | 448 | <string>Off</string> |
449 | </property> | 449 | </property> |
450 | </widget> | 450 | </widget> |
451 | <spacer> | 451 | <spacer> |
452 | <property> | 452 | <property> |
453 | <name>name</name> | 453 | <name>name</name> |
454 | <cstring>Spacer2</cstring> | 454 | <cstring>Spacer2</cstring> |
455 | </property> | 455 | </property> |
456 | <property stdset="1"> | 456 | <property stdset="1"> |
457 | <name>orientation</name> | 457 | <name>orientation</name> |
458 | <enum>Horizontal</enum> | 458 | <enum>Horizontal</enum> |
459 | </property> | 459 | </property> |
460 | <property stdset="1"> | 460 | <property stdset="1"> |
461 | <name>sizeType</name> | 461 | <name>sizeType</name> |
462 | <enum>Expanding</enum> | 462 | <enum>Expanding</enum> |
463 | </property> | 463 | </property> |
464 | <property> | 464 | <property> |
465 | <name>sizeHint</name> | 465 | <name>sizeHint</name> |
466 | <size> | 466 | <size> |
467 | <width>20</width> | 467 | <width>20</width> |
468 | <height>20</height> | 468 | <height>20</height> |
469 | </size> | 469 | </size> |
470 | </property> | 470 | </property> |
471 | </spacer> | 471 | </spacer> |
472 | <widget> | 472 | <widget> |
473 | <class>QLabel</class> | 473 | <class>QLabel</class> |
474 | <property stdset="1"> | 474 | <property stdset="1"> |
475 | <name>name</name> | 475 | <name>name</name> |
476 | <cstring>TL5</cstring> | 476 | <cstring>TL5</cstring> |
477 | </property> | 477 | </property> |
478 | <property stdset="1"> | 478 | <property stdset="1"> |
479 | <name>text</name> | 479 | <name>text</name> |
480 | <string>Full</string> | 480 | <string>Full</string> |
481 | </property> | 481 | </property> |
482 | </widget> | 482 | </widget> |
483 | <widget> | 483 | <widget> |
484 | <class>QLabel</class> | 484 | <class>QLabel</class> |
485 | <property stdset="1"> | 485 | <property stdset="1"> |
486 | <name>name</name> | 486 | <name>name</name> |
487 | <cstring>PixmapLabel1</cstring> | 487 | <cstring>PixmapLabel1</cstring> |
488 | </property> | 488 | </property> |
489 | <property stdset="1"> | 489 | <property stdset="1"> |
490 | <name>pixmap</name> | 490 | <name>pixmap</name> |
491 | <pixmap>image1</pixmap> | 491 | <pixmap>image1</pixmap> |
492 | </property> | 492 | </property> |
493 | <property stdset="1"> | 493 | <property stdset="1"> |
494 | <name>scaledContents</name> | 494 | <name>scaledContents</name> |
495 | <bool>false</bool> | 495 | <bool>false</bool> |
496 | </property> | 496 | </property> |
497 | </widget> | 497 | </widget> |
498 | </hbox> | 498 | </hbox> |
499 | </widget> | 499 | </widget> |
500 | <widget> | 500 | <widget> |
501 | <class>QLayoutWidget</class> | 501 | <class>QLayoutWidget</class> |
502 | <property stdset="1"> | 502 | <property stdset="1"> |
503 | <name>name</name> | 503 | <name>name</name> |
504 | <cstring>Layout9</cstring> | 504 | <cstring>Layout9</cstring> |
505 | </property> | 505 | </property> |
506 | <property> | 506 | <property> |
507 | <name>layoutMargin</name> | 507 | <name>layoutMargin</name> |
508 | </property> | 508 | </property> |
509 | <property> | 509 | <property> |
510 | <name>layoutSpacing</name> | 510 | <name>layoutSpacing</name> |
511 | </property> | 511 | </property> |
512 | <hbox> | 512 | <hbox> |
513 | <property stdset="1"> | 513 | <property stdset="1"> |
514 | <name>margin</name> | 514 | <name>margin</name> |
515 | <number>0</number> | 515 | <number>0</number> |
516 | </property> | 516 | </property> |
517 | <property stdset="1"> | 517 | <property stdset="1"> |
518 | <name>spacing</name> | 518 | <name>spacing</name> |
519 | <number>3</number> | 519 | <number>3</number> |
520 | </property> | 520 | </property> |
521 | <widget> | 521 | <widget> |
522 | <class>QCheckBox</class> | 522 | <class>QCheckBox</class> |
523 | <property stdset="1"> | 523 | <property stdset="1"> |
524 | <name>name</name> | 524 | <name>name</name> |
525 | <cstring>auto_brightness</cstring> | 525 | <cstring>auto_brightness</cstring> |
526 | </property> | 526 | </property> |
@@ -851,531 +851,542 @@ | |||
851 | </widget> | 851 | </widget> |
852 | </grid> | 852 | </grid> |
853 | </widget> | 853 | </widget> |
854 | <widget> | 854 | <widget> |
855 | <class>QGroupBox</class> | 855 | <class>QGroupBox</class> |
856 | <property stdset="1"> | 856 | <property stdset="1"> |
857 | <name>name</name> | 857 | <name>name</name> |
858 | <cstring>GroupLight_ac</cstring> | 858 | <cstring>GroupLight_ac</cstring> |
859 | </property> | 859 | </property> |
860 | <property stdset="1"> | 860 | <property stdset="1"> |
861 | <name>title</name> | 861 | <name>title</name> |
862 | <string>Backlight</string> | 862 | <string>Backlight</string> |
863 | </property> | 863 | </property> |
864 | <property> | 864 | <property> |
865 | <name>layoutMargin</name> | 865 | <name>layoutMargin</name> |
866 | </property> | 866 | </property> |
867 | <property> | 867 | <property> |
868 | <name>layoutSpacing</name> | 868 | <name>layoutSpacing</name> |
869 | </property> | 869 | </property> |
870 | <vbox> | 870 | <vbox> |
871 | <property stdset="1"> | 871 | <property stdset="1"> |
872 | <name>margin</name> | 872 | <name>margin</name> |
873 | <number>5</number> | 873 | <number>5</number> |
874 | </property> | 874 | </property> |
875 | <property stdset="1"> | 875 | <property stdset="1"> |
876 | <name>spacing</name> | 876 | <name>spacing</name> |
877 | <number>3</number> | 877 | <number>3</number> |
878 | </property> | 878 | </property> |
879 | <widget> | 879 | <widget> |
880 | <class>QSlider</class> | 880 | <class>QSlider</class> |
881 | <property stdset="1"> | 881 | <property stdset="1"> |
882 | <name>name</name> | 882 | <name>name</name> |
883 | <cstring>brightness_ac</cstring> | 883 | <cstring>brightness_ac</cstring> |
884 | </property> | 884 | </property> |
885 | <property stdset="1"> | 885 | <property stdset="1"> |
886 | <name>maxValue</name> | 886 | <name>maxValue</name> |
887 | <number>255</number> | 887 | <number>255</number> |
888 | </property> | 888 | </property> |
889 | <property stdset="1"> | 889 | <property stdset="1"> |
890 | <name>value</name> | 890 | <name>value</name> |
891 | <number>255</number> | 891 | <number>255</number> |
892 | </property> | 892 | </property> |
893 | <property stdset="1"> | 893 | <property stdset="1"> |
894 | <name>orientation</name> | 894 | <name>orientation</name> |
895 | <enum>Horizontal</enum> | 895 | <enum>Horizontal</enum> |
896 | </property> | 896 | </property> |
897 | <property stdset="1"> | 897 | <property stdset="1"> |
898 | <name>tickmarks</name> | 898 | <name>tickmarks</name> |
899 | <enum>Right</enum> | 899 | <enum>Right</enum> |
900 | </property> | 900 | </property> |
901 | <property> | 901 | <property> |
902 | <name>whatsThis</name> | 902 | <name>whatsThis</name> |
903 | <string>set a fix value for backlight</string> | 903 | <string>set a fix value for backlight</string> |
904 | </property> | 904 | </property> |
905 | </widget> | 905 | </widget> |
906 | <widget> | 906 | <widget> |
907 | <class>QSlider</class> | 907 | <class>QSlider</class> |
908 | <property stdset="1"> | 908 | <property stdset="1"> |
909 | <name>name</name> | 909 | <name>name</name> |
910 | <cstring>contrast_ac</cstring> | 910 | <cstring>contrast_ac</cstring> |
911 | </property> | 911 | </property> |
912 | <property stdset="1"> | 912 | <property stdset="1"> |
913 | <name>maxValue</name> | 913 | <name>maxValue</name> |
914 | <number>255</number> | 914 | <number>255</number> |
915 | </property> | 915 | </property> |
916 | <property stdset="1"> | 916 | <property stdset="1"> |
917 | <name>value</name> | 917 | <name>value</name> |
918 | <number>255</number> | 918 | <number>255</number> |
919 | </property> | 919 | </property> |
920 | <property stdset="1"> | 920 | <property stdset="1"> |
921 | <name>orientation</name> | 921 | <name>orientation</name> |
922 | <enum>Horizontal</enum> | 922 | <enum>Horizontal</enum> |
923 | </property> | 923 | </property> |
924 | <property stdset="1"> | 924 | <property stdset="1"> |
925 | <name>tickmarks</name> | 925 | <name>tickmarks</name> |
926 | <enum>Right</enum> | 926 | <enum>Right</enum> |
927 | </property> | 927 | </property> |
928 | <property> | 928 | <property> |
929 | <name>whatsThis</name> | 929 | <name>whatsThis</name> |
930 | <string>set a fix value for contrast</string> | 930 | <string>set a fix value for contrast</string> |
931 | </property> | 931 | </property> |
932 | </widget> | 932 | </widget> |
933 | <widget> | 933 | <widget> |
934 | <class>QLayoutWidget</class> | 934 | <class>QLayoutWidget</class> |
935 | <property stdset="1"> | 935 | <property stdset="1"> |
936 | <name>name</name> | 936 | <name>name</name> |
937 | <cstring>Layout20</cstring> | 937 | <cstring>Layout20</cstring> |
938 | </property> | 938 | </property> |
939 | <property> | 939 | <property> |
940 | <name>layoutSpacing</name> | 940 | <name>layoutSpacing</name> |
941 | </property> | 941 | </property> |
942 | <hbox> | 942 | <hbox> |
943 | <property stdset="1"> | 943 | <property stdset="1"> |
944 | <name>margin</name> | 944 | <name>margin</name> |
945 | <number>0</number> | 945 | <number>0</number> |
946 | </property> | 946 | </property> |
947 | <property stdset="1"> | 947 | <property stdset="1"> |
948 | <name>spacing</name> | 948 | <name>spacing</name> |
949 | <number>3</number> | 949 | <number>3</number> |
950 | </property> | 950 | </property> |
951 | <widget> | 951 | <widget> |
952 | <class>QLabel</class> | 952 | <class>QLabel</class> |
953 | <property stdset="1"> | 953 | <property stdset="1"> |
954 | <name>name</name> | 954 | <name>name</name> |
955 | <cstring>PixmapLabel2_2_3</cstring> | 955 | <cstring>PixmapLabel2_2_3</cstring> |
956 | </property> | 956 | </property> |
957 | <property stdset="1"> | 957 | <property stdset="1"> |
958 | <name>pixmap</name> | 958 | <name>pixmap</name> |
959 | <pixmap>image0</pixmap> | 959 | <pixmap>image0</pixmap> |
960 | </property> | 960 | </property> |
961 | <property stdset="1"> | 961 | <property stdset="1"> |
962 | <name>scaledContents</name> | 962 | <name>scaledContents</name> |
963 | <bool>false</bool> | 963 | <bool>false</bool> |
964 | </property> | 964 | </property> |
965 | </widget> | 965 | </widget> |
966 | <widget> | 966 | <widget> |
967 | <class>QLabel</class> | 967 | <class>QLabel</class> |
968 | <property stdset="1"> | 968 | <property stdset="1"> |
969 | <name>name</name> | 969 | <name>name</name> |
970 | <cstring>TextLabel6</cstring> | 970 | <cstring>TextLabel6</cstring> |
971 | </property> | 971 | </property> |
972 | <property stdset="1"> | 972 | <property stdset="1"> |
973 | <name>text</name> | 973 | <name>text</name> |
974 | <string>Off</string> | 974 | <string>Off</string> |
975 | </property> | 975 | </property> |
976 | </widget> | 976 | </widget> |
977 | <spacer> | 977 | <spacer> |
978 | <property> | 978 | <property> |
979 | <name>name</name> | 979 | <name>name</name> |
980 | <cstring>Spacer3</cstring> | 980 | <cstring>Spacer3</cstring> |
981 | </property> | 981 | </property> |
982 | <property stdset="1"> | 982 | <property stdset="1"> |
983 | <name>orientation</name> | 983 | <name>orientation</name> |
984 | <enum>Horizontal</enum> | 984 | <enum>Horizontal</enum> |
985 | </property> | 985 | </property> |
986 | <property stdset="1"> | 986 | <property stdset="1"> |
987 | <name>sizeType</name> | 987 | <name>sizeType</name> |
988 | <enum>Expanding</enum> | 988 | <enum>Expanding</enum> |
989 | </property> | 989 | </property> |
990 | <property> | 990 | <property> |
991 | <name>sizeHint</name> | 991 | <name>sizeHint</name> |
992 | <size> | 992 | <size> |
993 | <width>20</width> | 993 | <width>20</width> |
994 | <height>20</height> | 994 | <height>20</height> |
995 | </size> | 995 | </size> |
996 | </property> | 996 | </property> |
997 | </spacer> | 997 | </spacer> |
998 | <widget> | 998 | <widget> |
999 | <class>QLabel</class> | 999 | <class>QLabel</class> |
1000 | <property stdset="1"> | 1000 | <property stdset="1"> |
1001 | <name>name</name> | 1001 | <name>name</name> |
1002 | <cstring>TextLabel7</cstring> | 1002 | <cstring>TextLabel7</cstring> |
1003 | </property> | 1003 | </property> |
1004 | <property stdset="1"> | 1004 | <property stdset="1"> |
1005 | <name>text</name> | 1005 | <name>text</name> |
1006 | <string>Full</string> | 1006 | <string>Full</string> |
1007 | </property> | 1007 | </property> |
1008 | </widget> | 1008 | </widget> |
1009 | <widget> | 1009 | <widget> |
1010 | <class>QLabel</class> | 1010 | <class>QLabel</class> |
1011 | <property stdset="1"> | 1011 | <property stdset="1"> |
1012 | <name>name</name> | 1012 | <name>name</name> |
1013 | <cstring>PixmapLabel1_2_3</cstring> | 1013 | <cstring>PixmapLabel1_2_3</cstring> |
1014 | </property> | 1014 | </property> |
1015 | <property stdset="1"> | 1015 | <property stdset="1"> |
1016 | <name>pixmap</name> | 1016 | <name>pixmap</name> |
1017 | <pixmap>image1</pixmap> | 1017 | <pixmap>image1</pixmap> |
1018 | </property> | 1018 | </property> |
1019 | <property stdset="1"> | 1019 | <property stdset="1"> |
1020 | <name>scaledContents</name> | 1020 | <name>scaledContents</name> |
1021 | <bool>false</bool> | 1021 | <bool>false</bool> |
1022 | </property> | 1022 | </property> |
1023 | </widget> | 1023 | </widget> |
1024 | </hbox> | 1024 | </hbox> |
1025 | </widget> | 1025 | </widget> |
1026 | <widget> | 1026 | <widget> |
1027 | <class>QLayoutWidget</class> | 1027 | <class>QLayoutWidget</class> |
1028 | <property stdset="1"> | 1028 | <property stdset="1"> |
1029 | <name>name</name> | 1029 | <name>name</name> |
1030 | <cstring>Layout10</cstring> | 1030 | <cstring>Layout10</cstring> |
1031 | </property> | 1031 | </property> |
1032 | <property> | 1032 | <property> |
1033 | <name>layoutSpacing</name> | 1033 | <name>layoutSpacing</name> |
1034 | </property> | 1034 | </property> |
1035 | <hbox> | 1035 | <hbox> |
1036 | <property stdset="1"> | 1036 | <property stdset="1"> |
1037 | <name>margin</name> | 1037 | <name>margin</name> |
1038 | <number>0</number> | 1038 | <number>0</number> |
1039 | </property> | 1039 | </property> |
1040 | <property stdset="1"> | 1040 | <property stdset="1"> |
1041 | <name>spacing</name> | 1041 | <name>spacing</name> |
1042 | <number>3</number> | 1042 | <number>3</number> |
1043 | </property> | 1043 | </property> |
1044 | <widget> | 1044 | <widget> |
1045 | <class>QCheckBox</class> | 1045 | <class>QCheckBox</class> |
1046 | <property stdset="1"> | 1046 | <property stdset="1"> |
1047 | <name>name</name> | 1047 | <name>name</name> |
1048 | <cstring>auto_brightness_ac</cstring> | 1048 | <cstring>auto_brightness_ac</cstring> |
1049 | </property> | 1049 | </property> |
1050 | <property stdset="1"> | 1050 | <property stdset="1"> |
1051 | <name>text</name> | 1051 | <name>text</name> |
1052 | <string>Use Light Sensor</string> | 1052 | <string>Use Light Sensor</string> |
1053 | </property> | 1053 | </property> |
1054 | <property> | 1054 | <property> |
1055 | <name>whatsThis</name> | 1055 | <name>whatsThis</name> |
1056 | <string>By sensing the ambient light where you are using your device, the screen light can be adjusted automatically. The brightness setting still affects the average brightness.</string> | 1056 | <string>By sensing the ambient light where you are using your device, the screen light can be adjusted automatically. The brightness setting still affects the average brightness.</string> |
1057 | </property> | 1057 | </property> |
1058 | </widget> | 1058 | </widget> |
1059 | <widget> | 1059 | <widget> |
1060 | <class>QPushButton</class> | 1060 | <class>QPushButton</class> |
1061 | <property stdset="1"> | 1061 | <property stdset="1"> |
1062 | <name>name</name> | 1062 | <name>name</name> |
1063 | <cstring>CalibrateLightSensor_ac</cstring> | 1063 | <cstring>CalibrateLightSensor_ac</cstring> |
1064 | </property> | 1064 | </property> |
1065 | <property stdset="1"> | 1065 | <property stdset="1"> |
1066 | <name>text</name> | 1066 | <name>text</name> |
1067 | <string>Calibrate</string> | 1067 | <string>Calibrate</string> |
1068 | </property> | 1068 | </property> |
1069 | <property> | 1069 | <property> |
1070 | <name>whatsThis</name> | 1070 | <name>whatsThis</name> |
1071 | <string>Advanced settings for light sensor handling</string> | 1071 | <string>Advanced settings for light sensor handling</string> |
1072 | </property> | 1072 | </property> |
1073 | </widget> | 1073 | </widget> |
1074 | </hbox> | 1074 | </hbox> |
1075 | </widget> | 1075 | </widget> |
1076 | </vbox> | 1076 | </vbox> |
1077 | </widget> | 1077 | </widget> |
1078 | <spacer> | 1078 | <spacer> |
1079 | <property> | 1079 | <property> |
1080 | <name>name</name> | 1080 | <name>name</name> |
1081 | <cstring>Spacer5</cstring> | 1081 | <cstring>Spacer5</cstring> |
1082 | </property> | 1082 | </property> |
1083 | <property stdset="1"> | 1083 | <property stdset="1"> |
1084 | <name>orientation</name> | 1084 | <name>orientation</name> |
1085 | <enum>Vertical</enum> | 1085 | <enum>Vertical</enum> |
1086 | </property> | 1086 | </property> |
1087 | <property stdset="1"> | 1087 | <property stdset="1"> |
1088 | <name>sizeType</name> | 1088 | <name>sizeType</name> |
1089 | <enum>Expanding</enum> | 1089 | <enum>Expanding</enum> |
1090 | </property> | 1090 | </property> |
1091 | <property> | 1091 | <property> |
1092 | <name>sizeHint</name> | 1092 | <name>sizeHint</name> |
1093 | <size> | 1093 | <size> |
1094 | <width>20</width> | 1094 | <width>20</width> |
1095 | <height>20</height> | 1095 | <height>20</height> |
1096 | </size> | 1096 | </size> |
1097 | </property> | 1097 | </property> |
1098 | </spacer> | 1098 | </spacer> |
1099 | </vbox> | 1099 | </vbox> |
1100 | </widget> | 1100 | </widget> |
1101 | <widget> | 1101 | <widget> |
1102 | <class>QWidget</class> | 1102 | <class>QWidget</class> |
1103 | <property stdset="1"> | 1103 | <property stdset="1"> |
1104 | <name>name</name> | 1104 | <name>name</name> |
1105 | <cstring>tab</cstring> | 1105 | <cstring>tab</cstring> |
1106 | </property> | 1106 | </property> |
1107 | <attribute> | 1107 | <attribute> |
1108 | <name>title</name> | 1108 | <name>title</name> |
1109 | <string>Warnings</string> | 1109 | <string>Warnings</string> |
1110 | </attribute> | 1110 | </attribute> |
1111 | <vbox> | 1111 | <vbox> |
1112 | <property stdset="1"> | 1112 | <property stdset="1"> |
1113 | <name>margin</name> | 1113 | <name>margin</name> |
1114 | <number>5</number> | 1114 | <number>5</number> |
1115 | </property> | 1115 | </property> |
1116 | <property stdset="1"> | 1116 | <property stdset="1"> |
1117 | <name>spacing</name> | 1117 | <name>spacing</name> |
1118 | <number>3</number> | 1118 | <number>3</number> |
1119 | </property> | 1119 | </property> |
1120 | <widget> | 1120 | <widget> |
1121 | <class>QGroupBox</class> | 1121 | <class>QGroupBox</class> |
1122 | <property stdset="1"> | 1122 | <property stdset="1"> |
1123 | <name>name</name> | 1123 | <name>name</name> |
1124 | <cstring>Group5</cstring> | 1124 | <cstring>Group5</cstring> |
1125 | </property> | 1125 | </property> |
1126 | <property stdset="1"> | 1126 | <property stdset="1"> |
1127 | <name>title</name> | 1127 | <name>title</name> |
1128 | <string>Warnings</string> | 1128 | <string>Warnings</string> |
1129 | </property> | 1129 | </property> |
1130 | <property> | 1130 | <property> |
1131 | <name>layoutMargin</name> | 1131 | <name>layoutMargin</name> |
1132 | </property> | 1132 | </property> |
1133 | <property> | 1133 | <property> |
1134 | <name>layoutSpacing</name> | 1134 | <name>layoutSpacing</name> |
1135 | </property> | 1135 | </property> |
1136 | <grid> | 1136 | <grid> |
1137 | <property stdset="1"> | 1137 | <property stdset="1"> |
1138 | <name>margin</name> | 1138 | <name>margin</name> |
1139 | <number>5</number> | 1139 | <number>5</number> |
1140 | </property> | 1140 | </property> |
1141 | <property stdset="1"> | 1141 | <property stdset="1"> |
1142 | <name>spacing</name> | 1142 | <name>spacing</name> |
1143 | <number>3</number> | 1143 | <number>3</number> |
1144 | </property> | 1144 | </property> |
1145 | <widget row="0" column="0" > | 1145 | <widget row="0" column="0" > |
1146 | <class>QLabel</class> | 1146 | <class>QLabel</class> |
1147 | <property stdset="1"> | 1147 | <property stdset="1"> |
1148 | <name>name</name> | 1148 | <name>name</name> |
1149 | <cstring>TextLabel1</cstring> | 1149 | <cstring>TextLabel1</cstring> |
1150 | </property> | 1150 | </property> |
1151 | <property stdset="1"> | 1151 | <property stdset="1"> |
1152 | <name>sizePolicy</name> | 1152 | <name>sizePolicy</name> |
1153 | <sizepolicy> | 1153 | <sizepolicy> |
1154 | <hsizetype>3</hsizetype> | 1154 | <hsizetype>3</hsizetype> |
1155 | <vsizetype>5</vsizetype> | 1155 | <vsizetype>5</vsizetype> |
1156 | </sizepolicy> | 1156 | </sizepolicy> |
1157 | </property> | 1157 | </property> |
1158 | <property stdset="1"> | 1158 | <property stdset="1"> |
1159 | <name>text</name> | 1159 | <name>text</name> |
1160 | <string>Low power warning interval</string> | 1160 | <string>Low power warning interval</string> |
1161 | </property> | 1161 | </property> |
1162 | <property stdset="1"> | 1162 | <property stdset="1"> |
1163 | <name>alignment</name> | 1163 | <name>alignment</name> |
1164 | <set>WordBreak|AlignVCenter|AlignLeft</set> | 1164 | <set>WordBreak|AlignVCenter|AlignLeft</set> |
1165 | </property> | 1165 | </property> |
1166 | <property> | 1166 | <property> |
1167 | <name>wordwrap</name> | 1167 | <name>wordwrap</name> |
1168 | </property> | 1168 | </property> |
1169 | </widget> | 1169 | </widget> |
1170 | <widget row="1" column="1" > | 1170 | <widget row="1" column="1" > |
1171 | <class>QSpinBox</class> | 1171 | <class>QSpinBox</class> |
1172 | <property stdset="1"> | 1172 | <property stdset="1"> |
1173 | <name>name</name> | 1173 | <name>name</name> |
1174 | <cstring>lowSpinBox</cstring> | 1174 | <cstring>lowSpinBox</cstring> |
1175 | </property> | 1175 | </property> |
1176 | <property stdset="1"> | 1176 | <property stdset="1"> |
1177 | <name>suffix</name> | 1177 | <name>suffix</name> |
1178 | <string> %</string> | 1178 | <string> %</string> |
1179 | </property> | 1179 | </property> |
1180 | <property stdset="1"> | 1180 | <property stdset="1"> |
1181 | <name>buttonSymbols</name> | 1181 | <name>buttonSymbols</name> |
1182 | <enum>PlusMinus</enum> | 1182 | <enum>PlusMinus</enum> |
1183 | </property> | 1183 | </property> |
1184 | <property stdset="1"> | 1184 | <property stdset="1"> |
1185 | <name>maxValue</name> | 1185 | <name>maxValue</name> |
1186 | <number>80</number> | 1186 | <number>80</number> |
1187 | </property> | 1187 | </property> |
1188 | <property stdset="1"> | 1188 | <property stdset="1"> |
1189 | <name>minValue</name> | 1189 | <name>minValue</name> |
1190 | <number>2</number> | 1190 | <number>2</number> |
1191 | </property> | 1191 | </property> |
1192 | <property> | 1192 | <property> |
1193 | <name>whatsThis</name> | 1193 | <name>whatsThis</name> |
1194 | <string>At what battery level should the low power warning pop up</string> | 1194 | <string>At what battery level should the low power warning pop up</string> |
1195 | </property> | 1195 | </property> |
1196 | </widget> | 1196 | </widget> |
1197 | <widget row="0" column="1" > | 1197 | <widget row="0" column="1" > |
1198 | <class>QSpinBox</class> | 1198 | <class>QSpinBox</class> |
1199 | <property stdset="1"> | 1199 | <property stdset="1"> |
1200 | <name>name</name> | 1200 | <name>name</name> |
1201 | <cstring>warnintervalBox</cstring> | 1201 | <cstring>warnintervalBox</cstring> |
1202 | </property> | 1202 | </property> |
1203 | <property stdset="1"> | 1203 | <property stdset="1"> |
1204 | <name>suffix</name> | 1204 | <name>suffix</name> |
1205 | <string> sec</string> | 1205 | <string> sec</string> |
1206 | </property> | 1206 | </property> |
1207 | <property stdset="1"> | 1207 | <property stdset="1"> |
1208 | <name>specialValueText</name> | 1208 | <name>specialValueText</name> |
1209 | <string>never</string> | 1209 | <string>never</string> |
1210 | </property> | 1210 | </property> |
1211 | <property stdset="1"> | 1211 | <property stdset="1"> |
1212 | <name>wrapping</name> | 1212 | <name>wrapping</name> |
1213 | <bool>true</bool> | 1213 | <bool>true</bool> |
1214 | </property> | 1214 | </property> |
1215 | <property stdset="1"> | 1215 | <property stdset="1"> |
1216 | <name>buttonSymbols</name> | 1216 | <name>buttonSymbols</name> |
1217 | <enum>PlusMinus</enum> | 1217 | <enum>PlusMinus</enum> |
1218 | </property> | 1218 | </property> |
1219 | <property stdset="1"> | 1219 | <property stdset="1"> |
1220 | <name>maxValue</name> | 1220 | <name>maxValue</name> |
1221 | <number>300</number> | 1221 | <number>300</number> |
1222 | </property> | 1222 | </property> |
1223 | <property stdset="1"> | 1223 | <property stdset="1"> |
1224 | <name>minValue</name> | 1224 | <name>minValue</name> |
1225 | <number>0</number> | 1225 | <number>0</number> |
1226 | </property> | 1226 | </property> |
1227 | <property stdset="1"> | 1227 | <property stdset="1"> |
1228 | <name>lineStep</name> | 1228 | <name>lineStep</name> |
1229 | <number>5</number> | 1229 | <number>5</number> |
1230 | </property> | 1230 | </property> |
1231 | <property stdset="1"> | 1231 | <property stdset="1"> |
1232 | <name>value</name> | 1232 | <name>value</name> |
1233 | <number>5</number> | 1233 | <number>5</number> |
1234 | </property> | 1234 | </property> |
1235 | <property> | 1235 | <property> |
1236 | <name>whatsThis</name> | 1236 | <name>whatsThis</name> |
1237 | <string>how often should be checked for low power. This determines the rate popups occure in low power situations</string> | 1237 | <string>how often should be checked for low power. This determines the rate popups occure in low power situations</string> |
1238 | </property> | 1238 | </property> |
1239 | </widget> | 1239 | </widget> |
1240 | <widget row="2" column="1" > | 1240 | <widget row="2" column="1" > |
1241 | <class>QSpinBox</class> | 1241 | <class>QSpinBox</class> |
1242 | <property stdset="1"> | 1242 | <property stdset="1"> |
1243 | <name>name</name> | 1243 | <name>name</name> |
1244 | <cstring>criticalSpinBox</cstring> | 1244 | <cstring>criticalSpinBox</cstring> |
1245 | </property> | 1245 | </property> |
1246 | <property stdset="1"> | 1246 | <property stdset="1"> |
1247 | <name>prefix</name> | 1247 | <name>prefix</name> |
1248 | <string></string> | 1248 | <string></string> |
1249 | </property> | 1249 | </property> |
1250 | <property stdset="1"> | 1250 | <property stdset="1"> |
1251 | <name>suffix</name> | 1251 | <name>suffix</name> |
1252 | <string> %</string> | 1252 | <string> %</string> |
1253 | </property> | 1253 | </property> |
1254 | <property stdset="1"> | 1254 | <property stdset="1"> |
1255 | <name>buttonSymbols</name> | 1255 | <name>buttonSymbols</name> |
1256 | <enum>PlusMinus</enum> | 1256 | <enum>PlusMinus</enum> |
1257 | </property> | 1257 | </property> |
1258 | <property stdset="1"> | 1258 | <property stdset="1"> |
1259 | <name>maxValue</name> | 1259 | <name>maxValue</name> |
1260 | <number>80</number> | 1260 | <number>80</number> |
1261 | </property> | 1261 | </property> |
1262 | <property stdset="1"> | 1262 | <property stdset="1"> |
1263 | <name>minValue</name> | 1263 | <name>minValue</name> |
1264 | <number>2</number> | 1264 | <number>2</number> |
1265 | </property> | 1265 | </property> |
1266 | <property> | 1266 | <property> |
1267 | <name>whatsThis</name> | 1267 | <name>whatsThis</name> |
1268 | <string>At what battery level should the critical power warning pop up</string> | 1268 | <string>At what battery level should the critical power warning pop up</string> |
1269 | </property> | 1269 | </property> |
1270 | </widget> | 1270 | </widget> |
1271 | <widget row="1" column="0" > | 1271 | <widget row="1" column="0" > |
1272 | <class>QLabel</class> | 1272 | <class>QLabel</class> |
1273 | <property stdset="1"> | 1273 | <property stdset="1"> |
1274 | <name>name</name> | 1274 | <name>name</name> |
1275 | <cstring>TextLabel2</cstring> | 1275 | <cstring>TextLabel2</cstring> |
1276 | </property> | 1276 | </property> |
1277 | <property stdset="1"> | 1277 | <property stdset="1"> |
1278 | <name>sizePolicy</name> | 1278 | <name>sizePolicy</name> |
1279 | <sizepolicy> | 1279 | <sizepolicy> |
1280 | <hsizetype>1</hsizetype> | 1280 | <hsizetype>1</hsizetype> |
1281 | <vsizetype>5</vsizetype> | 1281 | <vsizetype>5</vsizetype> |
1282 | </sizepolicy> | 1282 | </sizepolicy> |
1283 | </property> | 1283 | </property> |
1284 | <property stdset="1"> | 1284 | <property stdset="1"> |
1285 | <name>text</name> | 1285 | <name>text</name> |
1286 | <string>very low battery warning at</string> | 1286 | <string>very low battery warning at</string> |
1287 | </property> | 1287 | </property> |
1288 | </widget> | 1288 | </widget> |
1289 | <widget row="2" column="0" > | 1289 | <widget row="2" column="0" > |
1290 | <class>QLabel</class> | 1290 | <class>QLabel</class> |
1291 | <property stdset="1"> | 1291 | <property stdset="1"> |
1292 | <name>name</name> | 1292 | <name>name</name> |
1293 | <cstring>TextLabel3</cstring> | 1293 | <cstring>TextLabel3</cstring> |
1294 | </property> | 1294 | </property> |
1295 | <property stdset="1"> | 1295 | <property stdset="1"> |
1296 | <name>sizePolicy</name> | 1296 | <name>sizePolicy</name> |
1297 | <sizepolicy> | 1297 | <sizepolicy> |
1298 | <hsizetype>1</hsizetype> | 1298 | <hsizetype>1</hsizetype> |
1299 | <vsizetype>5</vsizetype> | 1299 | <vsizetype>5</vsizetype> |
1300 | </sizepolicy> | 1300 | </sizepolicy> |
1301 | </property> | 1301 | </property> |
1302 | <property stdset="1"> | 1302 | <property stdset="1"> |
1303 | <name>text</name> | 1303 | <name>text</name> |
1304 | <string>critical power warning at</string> | 1304 | <string>critical power warning at</string> |
1305 | </property> | 1305 | </property> |
1306 | </widget> | 1306 | </widget> |
1307 | </grid> | 1307 | </grid> |
1308 | </widget> | 1308 | </widget> |
1309 | <spacer> | 1309 | <spacer> |
1310 | <property> | 1310 | <property> |
1311 | <name>name</name> | 1311 | <name>name</name> |
1312 | <cstring>Spacer1</cstring> | 1312 | <cstring>Spacer1</cstring> |
1313 | </property> | 1313 | </property> |
1314 | <property stdset="1"> | 1314 | <property stdset="1"> |
1315 | <name>orientation</name> | 1315 | <name>orientation</name> |
1316 | <enum>Vertical</enum> | 1316 | <enum>Vertical</enum> |
1317 | </property> | 1317 | </property> |
1318 | <property stdset="1"> | 1318 | <property stdset="1"> |
1319 | <name>sizeType</name> | 1319 | <name>sizeType</name> |
1320 | <enum>Expanding</enum> | 1320 | <enum>Expanding</enum> |
1321 | </property> | 1321 | </property> |
1322 | <property> | 1322 | <property> |
1323 | <name>sizeHint</name> | 1323 | <name>sizeHint</name> |
1324 | <size> | 1324 | <size> |
1325 | <width>20</width> | 1325 | <width>20</width> |
1326 | <height>20</height> | 1326 | <height>20</height> |
1327 | </size> | 1327 | </size> |
1328 | </property> | 1328 | </property> |
1329 | </spacer> | 1329 | </spacer> |
1330 | </vbox> | 1330 | </vbox> |
1331 | </widget> | 1331 | </widget> |
1332 | </widget> | 1332 | </widget> |
1333 | </vbox> | 1333 | </vbox> |
1334 | </widget> | 1334 | </widget> |
1335 | <images> | 1335 | <images> |
1336 | <image> | 1336 | <image> |
1337 | <name>image0</name> | 1337 | <name>image0</name> |
1338 | <data format="XPM.GZ" length="1025">789c5dd2cd4ec2401846e13d57d1c08e18a58a20312e44f913419626c6c5cc500a42f92b60c178eff6bc2642fd0e8b79be0d43e945d17b1df4bce2452ede98cdc4796e6cd65e71b88da2fddbfbdd572eef57bcf4532e7b7efe2c973ff79cd75fcc03cefdf45ca859820368aa045f440d7c1287047b6240f0591c11ec425b22d881ce27d8122b0417a22138122dc17b51030f70582258107d821fe225c18d784d702b56092ec51b824eac11dc8b96e0a3e808c6a206b6c580e0270c4a0413d127b8162f09866299a011af095ab142b02e56093e8837049b628d6043d49f04e7a22518898ee04ed46f8013510303382a115c893ec1997845702a96098ec52ac1a168492fa4a660acfb3dfded2c0f37189deec2b16672b2fb98ce66d35934378be36eb94a671dc7f1e6b8dbee263bf39924c9feb83b84260cd3d73b5c1e77f7f587df399c7caf8b348f99fb357836cdec9d1bd374ead99d2e9d6477ad7692b43bd9dd53f7b9d7eb6777e72fddeee0df733999fcf76dee0748aaf77c</data> | 1338 | <data format="XPM.GZ" length="1025">789c5dd2cd4ec2401846e13d57d1c08e18a58a20312e44f913419626c6c5cc500a42f92b60c178eff6bc2642fd0e8b79be0d43e945d17b1df4bce2452ede98cdc4796e6cd65e71b88da2fddbfbdd572eef57bcf4532e7b7efe2c973ff79cd75fcc03cefdf45ca859820368aa045f440d7c1287047b6240f0591c11ec425b22d881ce27d8122b0417a22138122dc17b51030f70582258107d821fe225c18d784d702b56092ec51b824eac11dc8b96e0a3e808c6a206b6c580e0270c4a0413d127b8162f09866299a011af095ab142b02e56093e8837049b628d6043d49f04e7a22518898ee04ed46f8013510303382a115c893ec1997845702a96098ec52ac1a168492fa4a660acfb3dfded2c0f37189deec2b16672b2fb98ce66d35934378be36eb94a671dc7f1e6b8dbee263bf39924c9feb83b84260cd3d73b5c1e77f7f587df399c7caf8b348f99fb357836cdec9d1bd374ead99d2e9d6477ad7692b43bd9dd53f7b9d7eb6777e72fddeee0df733999fcf76dee0748aaf77c</data> |
1339 | </image> | 1339 | </image> |
1340 | <image> | 1340 | <image> |
1341 | <name>image1</name> | 1341 | <name>image1</name> |
1342 | <data format="XPM.GZ" length="1885">789c75d4576fdb301000e077ff0ac17c0b8a8bad49a2e843f61ece4e8a3e481cde198eb3d1ff5eeaeecca675ecb3047cd68922ef282f2f4557c707d1d272e3715a4efb3ad2bd72122d99a7f1f8ede7af1f1f8d663b8ffcb75051dcfcd66876a6918e0eef6e6d0d31f010aaf2a1d1e3da6551077a88c60fdaa14d694b87eea36d692b1c5cf4d88edd45bbaa5525e8516d2f1f685bdb289de7065da28dae8aac36e0f8d69a38add067b55d6cb224470bb6cc52f4153a316582f9c2906d2a255ed7e8d4b882d65791fd7585d79fd199512dac071cb0758cf383db99539a3f8d97d95ca1e1059ddb386ba3713daeb04a61bda0629725adef1a2d6d92517d045b4a346ca295cd12ca3f65e7ec36bbc8b03f60d85a513d24dab74752fd36d0952ddad81f18b0353faf605b89fb037a649756b4fe0cad5dace8f9fb6863754c4ec92e96e4989d48ead7989df2facfd1d66539d5ef929de734bf55b473719bee5f0bc6fec17a30f577979d70bff6d8694ceb599939a1fc437696d2f8c7c1347e2798f28f8269bf3c05d37ed909a67e9fb073beff62e69cfa336517bcdf6f8269be8f6c59d07a5a334baad756308dbf3db3a2fa256c45ef37bcb34b45e3bd06d37cdf662e69fc8799e97d86fb609aff2498ea77174cf5cbd9155d17c0d69aeaa78269ff8e8269bf0e83a91e8e6d2c3dafcbb66c1b2ce9cfee6f8080122ad09f7ffb37070c58703ebad083fe57393080218cfc41e7f17c0edcc21ddcc3034cfcf911a6f004cf73392ff00a6ff0ee8f1558853558878db99c4dd8826d7fecc02eec61eccfe51cc0211cc13174e004a303a7733967700e179fe212aebe58d735dc408be306da0bea1343c2912eac6106b95ffbc49f8b85391294afdf4880108b7244292aa17d186117e638d1153dd1f7315894e3b38662e463fcf9b7ff73be8ae6efef8d3f188ce126</data> | 1342 | <data format="XPM.GZ" length="1885">789c75d4576fdb301000e077ff0ac17c0b8a8bad49a2e843f61ece4e8a3e481cde198eb3d1ff5eeaeecca675ecb3047cd68922ef282f2f4557c707d1d272e3715a4efb3ad2bd72122d99a7f1f8ede7af1f1f8d663b8ffcb75051dcfcd66876a6918e0eef6e6d0d31f010aaf2a1d1e3da6551077a88c60fdaa14d694b87eea36d692b1c5cf4d88edd45bbaa5525e8516d2f1f685bdb289de7065da28dae8aac36e0f8d69a38add067b55d6cb224470bb6cc52f4153a316582f9c2906d2a255ed7e8d4b882d65791fd7585d79fd199512dac071cb0758cf383db99539a3f8d97d95ca1e1059ddb386ba3713daeb04a61bda0629725adef1a2d6d92517d045b4a346ca295cd12ca3f65e7ec36bbc8b03f60d85a513d24dab74752fd36d0952ddad81f18b0353faf605b89fb037a649756b4fe0cad5dace8f9fb6863754c4ec92e96e4989d48ead7989df2facfd1d66539d5ef929de734bf55b473719bee5f0bc6fec17a30f577979d70bff6d8694ceb599939a1fc437696d2f8c7c1347e2798f28f8269bf3c05d37ed909a67e9fb073beff62e69cfa336517bcdf6f8269be8f6c59d07a5a334baad756308dbf3db3a2fa256c45ef37bcb34b45e3bd06d37cdf662e69fc8799e97d86fb609aff2498ea77174cf5cbd9155d17c0d69aeaa78269ff8e8269bf0e83a91e8e6d2c3dafcbb66c1b2ce9cfee6f8080122ad09f7ffb37070c58703ebad083fe57393080218cfc41e7f17c0edcc21ddcc3034cfcf911a6f004cf73392ff00a6ff0ee8f1558853558878db99c4dd8826d7fecc02eec61eccfe51cc0211cc13174e004a303a7733967700e179fe212aebe58d735dc408be306da0bea1343c2912eac6106b95ffbc49f8b85391294afdf4880108b7244292aa17d186117e638d1153dd1f7315894e3b38662e463fcf9b7ff73be8ae6efef8d3f188ce126</data> |
1343 | </image> | 1343 | </image> |
1344 | </images> | 1344 | </images> |
1345 | <connections> | 1345 | <connections> |
1346 | <connection> | 1346 | <connection> |
1347 | <sender>CalibrateLightSensor</sender> | 1347 | <sender>CalibrateLightSensor</sender> |
1348 | <signal>clicked()</signal> | 1348 | <signal>clicked()</signal> |
1349 | <receiver>LightSettingsBase</receiver> | 1349 | <receiver>LightSettingsBase</receiver> |
1350 | <slot>calibrateSensor()</slot> | 1350 | <slot>calibrateSensor()</slot> |
1351 | </connection> | 1351 | </connection> |
1352 | <connection> | 1352 | <connection> |
1353 | <sender>CalibrateLightSensor_ac</sender> | 1353 | <sender>CalibrateLightSensor_ac</sender> |
1354 | <signal>clicked()</signal> | 1354 | <signal>clicked()</signal> |
1355 | <receiver>LightSettingsBase</receiver> | 1355 | <receiver>LightSettingsBase</receiver> |
1356 | <slot>calibrateSensorAC()</slot> | 1356 | <slot>calibrateSensorAC()</slot> |
1357 | </connection> | 1357 | </connection> |
1358 | <slot access="public">calibrateSensor()</slot> | 1358 | <slot access="public">calibrateSensor()</slot> |
1359 | <slot access="public">calibrateSensorAC()</slot> | 1359 | <slot access="public">calibrateSensorAC()</slot> |
1360 | </connections> | 1360 | </connections> |
1361 | <tabstops> | 1361 | <tabstops> |
1362 | <tabstop>brightness</tabstop> | 1362 | <tabstop>brightness</tabstop> |
1363 | <tabstop>brightness_ac</tabstop> | ||
1364 | <tabstop>tabs</tabstop> | ||
1365 | <tabstop>LcdOffOnly</tabstop> | ||
1366 | <tabstop>closeHingeAction</tabstop> | ||
1363 | <tabstop>interval_dim</tabstop> | 1367 | <tabstop>interval_dim</tabstop> |
1364 | <tabstop>interval_lightoff</tabstop> | 1368 | <tabstop>interval_lightoff</tabstop> |
1365 | <tabstop>interval_suspend</tabstop> | 1369 | <tabstop>interval_suspend</tabstop> |
1366 | <tabstop>LcdOffOnly</tabstop> | ||
1367 | <tabstop>auto_brightness</tabstop> | 1370 | <tabstop>auto_brightness</tabstop> |
1368 | <tabstop>CalibrateLightSensor</tabstop> | 1371 | <tabstop>CalibrateLightSensor</tabstop> |
1369 | <tabstop>brightness</tabstop> | 1372 | <tabstop>brightness</tabstop> |
1370 | <tabstop>tabs</tabstop> | ||
1371 | <tabstop>interval_lightoff</tabstop> | 1373 | <tabstop>interval_lightoff</tabstop> |
1372 | <tabstop>interval_suspend</tabstop> | 1374 | <tabstop>interval_suspend</tabstop> |
1373 | <tabstop>interval_dim</tabstop> | 1375 | <tabstop>interval_dim</tabstop> |
1374 | <tabstop>LcdOffOnly_ac</tabstop> | 1376 | <tabstop>LcdOffOnly_ac</tabstop> |
1375 | <tabstop>auto_brightness</tabstop> | 1377 | <tabstop>auto_brightness</tabstop> |
1376 | <tabstop>CalibrateLightSensor_ac</tabstop> | 1378 | <tabstop>CalibrateLightSensor_ac</tabstop> |
1377 | <tabstop>lowSpinBox</tabstop> | 1379 | <tabstop>lowSpinBox</tabstop> |
1378 | <tabstop>warnintervalBox</tabstop> | 1380 | <tabstop>warnintervalBox</tabstop> |
1379 | <tabstop>criticalSpinBox</tabstop> | 1381 | <tabstop>criticalSpinBox</tabstop> |
1382 | <tabstop>frequency</tabstop> | ||
1383 | <tabstop>contrast</tabstop> | ||
1384 | <tabstop>interval_lightoff_ac</tabstop> | ||
1385 | <tabstop>interval_suspend_ac</tabstop> | ||
1386 | <tabstop>interval_dim_ac</tabstop> | ||
1387 | <tabstop>frequency_ac</tabstop> | ||
1388 | <tabstop>closeHingeAction_ac</tabstop> | ||
1389 | <tabstop>contrast_ac</tabstop> | ||
1390 | <tabstop>auto_brightness_ac</tabstop> | ||
1380 | </tabstops> | 1391 | </tabstops> |
1381 | </UI> | 1392 | </UI> |