-rw-r--r-- | core/settings/light-and-power/light.cpp | 64 | ||||
-rw-r--r-- | core/settings/light-and-power/lightsettingsbase.ui | 86 |
2 files changed, 36 insertions, 114 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index a58b1c1..8b98672 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp | |||
@@ -1,271 +1,257 @@ | |||
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 | 30 | ||
31 | #include <qpe/config.h> | 31 | #include <qpe/config.h> |
32 | #include <qpe/qpeapplication.h> | 32 | #include <qpe/qpeapplication.h> |
33 | #include <qpe/power.h> | 33 | #include <qpe/power.h> |
34 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 34 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) |
35 | #include <qpe/qcopenvelope_qws.h> | 35 | #include <qpe/qcopenvelope_qws.h> |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #include <qcheckbox.h> | 38 | #include <qcheckbox.h> |
39 | #include <qtabwidget.h> | 39 | #include <qtabwidget.h> |
40 | #include <qslider.h> | 40 | #include <qslider.h> |
41 | #include <qtimer.h> | 41 | #include <qtimer.h> |
42 | #include <qspinbox.h> | 42 | #include <qspinbox.h> |
43 | #include <qpushbutton.h> | 43 | #include <qpushbutton.h> |
44 | #include <qgroupbox.h> | 44 | #include <qgroupbox.h> |
45 | 45 | ||
46 | #include <opie/odevice.h> | 46 | #include <opie/odevice.h> |
47 | 47 | ||
48 | #include "sensor.h" | 48 | #include "sensor.h" |
49 | 49 | ||
50 | using namespace Opie; | 50 | using namespace Opie; |
51 | 51 | ||
52 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) | 52 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) |
53 | : LightSettingsBase( parent, name, false, WStyle_ContextHelp ) | 53 | : LightSettingsBase( parent, name, false, WStyle_ContextHelp ) |
54 | { | 54 | { |
55 | m_bres = ODevice::inst ( )-> displayBrightnessResolution ( ); | 55 | m_bres = ODevice::inst ( )-> displayBrightnessResolution ( ); |
56 | m_cres = ODevice::inst ( )-> displayContrastResolution ( ); | 56 | m_cres = ODevice::inst ( )-> displayContrastResolution ( ); |
57 | 57 | ||
58 | if ( !ODevice::inst ( )-> hasLightSensor ( )) { | 58 | if ( !ODevice::inst ( )-> hasLightSensor ( )) { |
59 | auto_brightness-> hide ( ); | 59 | auto_brightness-> hide ( ); |
60 | CalibrateLightSensor-> hide ( ); | 60 | CalibrateLightSensor-> hide ( ); |
61 | auto_brightness_ac-> hide ( ); | 61 | auto_brightness_ac-> hide ( ); |
62 | CalibrateLightSensor_ac-> hide ( ); | 62 | CalibrateLightSensor_ac-> hide ( ); |
63 | } | 63 | } |
64 | if (m_cres) { | 64 | if (m_cres) { |
65 | GroupLight->setTitle(tr("Backlight & Contrast")); | 65 | GroupLight->setTitle(tr("Backlight & Contrast")); |
66 | } else { | 66 | } else { |
67 | contrast->hide(); | 67 | contrast->hide(); |
68 | contrast_ac->hide(); | 68 | contrast_ac->hide(); |
69 | } | 69 | } |
70 | 70 | ||
71 | Config config ( "apm" ); | 71 | Config config ( "apm" ); |
72 | config. setGroup ( "Battery" ); | 72 | config. setGroup ( "Battery" ); |
73 | 73 | ||
74 | // battery spinboxes | 74 | // battery spinboxes |
75 | interval_dim-> setValue ( config. readNumEntry ( "Dim", 30 )); | 75 | interval_dim-> setValue ( config. readNumEntry ( "Dim", 30 )); |
76 | interval_lightoff-> setValue ( config. readNumEntry ( "LightOff", 20 )); | 76 | interval_lightoff-> setValue ( config. readNumEntry ( "LightOff", 20 )); |
77 | interval_suspend-> setValue ( config. readNumEntry ( "Suspend", 60 )); | 77 | interval_suspend-> setValue ( config. readNumEntry ( "Suspend", 60 )); |
78 | 78 | ||
79 | // battery check and slider | 79 | // battery check and slider |
80 | LcdOffOnly-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); | 80 | LcdOffOnly-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); |
81 | 81 | ||
82 | int bright = config. readNumEntry ( "Brightness", 127 ); | 82 | int bright = config. readNumEntry ( "Brightness", 127 ); |
83 | int contr = config. readNumEntry ( "Contrast", 127 ); | 83 | int contr = m_oldcontrast = config. readNumEntry ( "Contrast", 127 ); |
84 | brightness-> setMaxValue ( m_bres - 1 ); | 84 | brightness-> setTickInterval ( QMAX( 16, 256 / m_bres )); |
85 | brightness-> setTickInterval ( QMAX( 1, m_bres / 16 )); | 85 | brightness-> setLineStep ( QMAX( 1, 256 / m_bres )); |
86 | brightness-> setLineStep ( QMAX( 1, m_bres / 16 )); | 86 | brightness-> setPageStep ( QMAX( 1, 256 / m_bres )); |
87 | brightness-> setPageStep ( QMAX( 1, m_bres / 16 )); | 87 | brightness-> setValue ( bright ); |
88 | brightness-> setValue (( bright * ( m_bres - 1 ) + 127 ) / 255 ); | ||
89 | 88 | ||
90 | if (m_cres) { | 89 | if (m_cres) { |
91 | contrast-> setMaxValue ( m_cres - 1 ); | 90 | contrast-> setTickInterval ( QMAX( 16, 256 / m_cres )); |
92 | contrast-> setTickInterval ( QMAX( 1, m_cres / 16 )); | 91 | contrast-> setLineStep ( QMAX( 1, 256 / m_cres )); |
93 | contrast-> setLineStep ( QMAX( 1, m_cres / 16 )); | 92 | contrast-> setPageStep ( QMAX( 1, 256 / m_cres )); |
94 | contrast-> setPageStep ( QMAX( 1, m_cres / 16 )); | 93 | contrast-> setValue ( contr ); |
95 | contrast-> setValue (( contr * ( m_cres - 1 ) + 127 ) / 255 ); | ||
96 | } | 94 | } |
97 | 95 | ||
98 | // light sensor | 96 | // light sensor |
99 | auto_brightness-> setChecked ( config. readBoolEntry ( "LightSensor", false )); | 97 | auto_brightness-> setChecked ( config. readBoolEntry ( "LightSensor", false )); |
100 | m_sensordata = config. readListEntry ( "LightSensorData", ';' ); | 98 | m_sensordata = config. readListEntry ( "LightSensorData", ';' ); |
101 | 99 | ||
102 | config. setGroup ( "AC" ); | 100 | config. setGroup ( "AC" ); |
103 | 101 | ||
104 | // ac spinboxes | 102 | // ac spinboxes |
105 | interval_dim_ac-> setValue ( config. readNumEntry ( "Dim", 60 )); | 103 | interval_dim_ac-> setValue ( config. readNumEntry ( "Dim", 60 )); |
106 | interval_lightoff_ac-> setValue ( config. readNumEntry ( "LightOff", 120 )); | 104 | interval_lightoff_ac-> setValue ( config. readNumEntry ( "LightOff", 120 )); |
107 | interval_suspend_ac-> setValue ( config. readNumEntry ( "Suspend", 0 )); | 105 | interval_suspend_ac-> setValue ( config. readNumEntry ( "Suspend", 0 )); |
108 | 106 | ||
109 | // ac check and slider | 107 | // ac check and slider |
110 | LcdOffOnly_ac-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); | 108 | LcdOffOnly_ac-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); |
111 | 109 | ||
112 | bright = config. readNumEntry ( "Brightness", 255 ); | 110 | bright = config. readNumEntry ( "Brightness", 255 ); |
113 | brightness_ac-> setMaxValue ( m_bres - 1 ); | 111 | brightness_ac-> setTickInterval ( QMAX( 16, 256 / m_bres )); |
114 | brightness_ac-> setTickInterval ( QMAX( 1, m_bres / 16 )); | 112 | brightness_ac-> setLineStep ( QMAX( 1, 256 / m_bres )); |
115 | brightness_ac-> setLineStep ( QMAX( 1, m_bres / 16 )); | 113 | brightness_ac-> setPageStep ( QMAX( 1, 256 / m_bres )); |
116 | brightness_ac-> setPageStep ( QMAX( 1, m_bres / 16 )); | 114 | brightness_ac-> setValue ( bright ); |
117 | brightness_ac-> setValue (( bright * ( m_bres - 1 ) + 127 ) / 255 ); | ||
118 | 115 | ||
119 | if (m_cres) { | 116 | if (m_cres) { |
120 | contr = config. readNumEntry ( "Contrast", 127); | 117 | contr = config. readNumEntry ( "Contrast", 127); |
121 | contrast_ac-> setMaxValue ( m_cres - 1 ); | 118 | contrast_ac-> setTickInterval ( QMAX( 16, 256 / m_cres )); |
122 | contrast_ac-> setTickInterval ( QMAX( 1, m_cres / 16 )); | 119 | contrast_ac-> setLineStep ( QMAX( 1, 256 / m_cres )); |
123 | contrast_ac-> setLineStep ( QMAX( 1, m_cres / 16 )); | 120 | contrast_ac-> setPageStep ( QMAX( 1, 256 / m_cres )); |
124 | contrast_ac-> setPageStep ( QMAX( 1, m_cres / 16 )); | 121 | contrast_ac-> setValue ( contr ); |
125 | contrast_ac-> setValue (( contr * ( m_cres - 1 ) + 127 ) / 255 ); | ||
126 | } | 122 | } |
127 | 123 | ||
128 | // light sensor | 124 | // light sensor |
129 | auto_brightness_ac-> setChecked ( config. readBoolEntry ( "LightSensor", false )); | 125 | auto_brightness_ac-> setChecked ( config. readBoolEntry ( "LightSensor", false )); |
130 | m_sensordata_ac = config. readListEntry ( "LightSensorData", ';' ); | 126 | m_sensordata_ac = config. readListEntry ( "LightSensorData", ';' ); |
131 | 127 | ||
132 | // advanced settings | 128 | // advanced settings |
133 | config. setGroup ( "Warnings" ); | 129 | config. setGroup ( "Warnings" ); |
134 | warnintervalBox-> setValue ( config. readNumEntry ( "checkinterval", 10000 ) / 1000 ); | 130 | warnintervalBox-> setValue ( config. readNumEntry ( "checkinterval", 10000 ) / 1000 ); |
135 | lowSpinBox-> setValue ( config. readNumEntry ( "powerverylow", 10 ) ); | 131 | lowSpinBox-> setValue ( config. readNumEntry ( "powerverylow", 10 ) ); |
136 | criticalSpinBox-> setValue ( config. readNumEntry ( "powercritical", 5 ) ); | 132 | criticalSpinBox-> setValue ( config. readNumEntry ( "powercritical", 5 ) ); |
137 | 133 | ||
138 | m_resettimer = new QTimer ( this ); | 134 | m_resettimer = new QTimer ( this ); |
139 | connect ( m_resettimer, SIGNAL( timeout ( )), this, SLOT( resetBacklight ( ))); | 135 | connect ( m_resettimer, SIGNAL( timeout ( )), this, SLOT( resetBacklight ( ))); |
140 | 136 | ||
141 | if ( PowerStatusManager::readStatus ( ). acStatus ( ) != PowerStatus::Online ) { | 137 | if ( PowerStatusManager::readStatus ( ). acStatus ( ) != PowerStatus::Online ) { |
142 | tabs-> setCurrentPage ( 0 ); | 138 | tabs-> setCurrentPage ( 0 ); |
143 | } | 139 | } |
144 | else { | 140 | else { |
145 | tabs-> setCurrentPage ( 1 ); | 141 | tabs-> setCurrentPage ( 1 ); |
146 | } | 142 | } |
147 | 143 | ||
148 | connect ( brightness, SIGNAL( valueChanged ( int )), this, SLOT( setBacklight ( int ))); | 144 | connect ( brightness, SIGNAL( valueChanged ( int )), this, SLOT( setBacklight ( int ))); |
149 | connect ( brightness_ac, SIGNAL( valueChanged ( int )), this, SLOT( setBacklight ( int ))); | 145 | connect ( brightness_ac, SIGNAL( valueChanged ( int )), this, SLOT( setBacklight ( int ))); |
150 | if (m_havecontrast) { | 146 | if (m_cres) { |
151 | connect ( contrast, SIGNAL( valueChanged ( int )), this, SLOT( setContrast ( int ))); | 147 | connect ( contrast, SIGNAL( valueChanged ( int )), this, SLOT( setContrast ( int ))); |
152 | connect ( contrast_ac, SIGNAL( valueChanged ( int )), this, SLOT( setContrast ( int ))); | 148 | connect ( contrast_ac, SIGNAL( valueChanged ( int )), this, SLOT( setContrast ( int ))); |
153 | } | 149 | } |
154 | } | 150 | } |
155 | 151 | ||
156 | LightSettings::~LightSettings ( ) | 152 | LightSettings::~LightSettings ( ) |
157 | { | 153 | { |
158 | } | 154 | } |
159 | 155 | ||
160 | void LightSettings::calibrateSensor ( ) | 156 | void LightSettings::calibrateSensor ( ) |
161 | { | 157 | { |
162 | Sensor *s = new Sensor ( m_sensordata, this ); | 158 | Sensor *s = new Sensor ( m_sensordata, this ); |
163 | connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int ))); | 159 | connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int ))); |
164 | s-> showMaximized ( ); | 160 | s-> showMaximized ( ); |
165 | s-> exec ( ); | 161 | s-> exec ( ); |
166 | delete s; | 162 | delete s; |
167 | } | 163 | } |
168 | 164 | ||
169 | void LightSettings::calibrateSensorAC ( ) | 165 | void LightSettings::calibrateSensorAC ( ) |
170 | { | 166 | { |
171 | Sensor *s = new Sensor ( m_sensordata_ac, this ); | 167 | Sensor *s = new Sensor ( m_sensordata_ac, this ); |
172 | connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int ))); | 168 | connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int ))); |
173 | s-> showMaximized ( ); | 169 | s-> showMaximized ( ); |
174 | s-> exec ( ); | 170 | s-> exec ( ); |
175 | delete s; | 171 | delete s; |
176 | } | 172 | } |
177 | 173 | ||
178 | void LightSettings::setBacklight ( int bright ) | 174 | void LightSettings::setBacklight ( int bright ) |
179 | { | 175 | { |
180 | if ( bright >= 0 ) | ||
181 | bright = bright * 255 / ( m_bres - 1 ); | ||
182 | |||
183 | QCopEnvelope e ( "QPE/System", "setBacklight(int)" ); | 176 | QCopEnvelope e ( "QPE/System", "setBacklight(int)" ); |
184 | e << bright; | 177 | e << bright; |
185 | 178 | ||
186 | if ( bright != -1 ) { | 179 | if ( bright != -1 ) { |
187 | m_resettimer-> stop ( ); | 180 | m_resettimer-> stop ( ); |
188 | m_resettimer-> start ( 2000, true ); | 181 | m_resettimer-> start ( 4000, true ); |
189 | } | 182 | } |
190 | } | 183 | } |
191 | 184 | ||
192 | void LightSettings::setContrast ( int contr ) | 185 | void LightSettings::setContrast ( int contr ) |
193 | { | 186 | { |
194 | if ( contr >= 0 ) | 187 | if (contr == -1) contr = m_oldcontrast; |
195 | contr = contr * 255 / ( m_cres - 1 ); | ||
196 | |||
197 | QCopEnvelope e ( "QPE/System", "setContrast(int)" ); | ||
198 | e << contr; | ||
199 | 188 | ||
200 | if ( contr != -1 ) { | 189 | ODevice::inst ( )-> setDisplayContrast(contr); |
201 | m_resettimer-> stop ( ); | ||
202 | m_resettimer-> start ( 2000, true ); | ||
203 | } | ||
204 | } | 190 | } |
205 | 191 | ||
206 | void LightSettings::resetBacklight ( ) | 192 | void LightSettings::resetBacklight ( ) |
207 | { | 193 | { |
208 | setBacklight ( -1 ); | 194 | setBacklight ( -1 ); |
209 | setContrast ( -1 ); | 195 | setContrast ( -1 ); |
210 | } | 196 | } |
211 | 197 | ||
212 | void LightSettings::accept ( ) | 198 | void LightSettings::accept ( ) |
213 | { | 199 | { |
214 | Config config ( "apm" ); | 200 | Config config ( "apm" ); |
215 | 201 | ||
216 | // bat | 202 | // bat |
217 | config. setGroup ( "Battery" ); | 203 | config. setGroup ( "Battery" ); |
218 | config. writeEntry ( "LcdOffOnly", LcdOffOnly-> isChecked ( )); | 204 | config. writeEntry ( "LcdOffOnly", LcdOffOnly-> isChecked ( )); |
219 | config. writeEntry ( "Dim", interval_dim-> value ( )); | 205 | config. writeEntry ( "Dim", interval_dim-> value ( )); |
220 | config. writeEntry ( "LightOff", interval_lightoff-> value ( )); | 206 | config. writeEntry ( "LightOff", interval_lightoff-> value ( )); |
221 | config. writeEntry ( "Suspend", interval_suspend-> value ( )); | 207 | config. writeEntry ( "Suspend", interval_suspend-> value ( )); |
222 | config. writeEntry ( "Brightness", brightness-> value ( ) * 255 / ( m_bres - 1 ) ); | 208 | config. writeEntry ( "Brightness", brightness-> value () ); |
223 | if (m_cres) | 209 | if (m_cres) |
224 | config. writeEntry ( "Contrast", contrast-> value ( ) * 255 / ( m_cres - 1 ) ); | 210 | config. writeEntry ( "Contrast", contrast-> value () ); |
225 | 211 | ||
226 | // ac | 212 | // ac |
227 | config. setGroup ( "AC" ); | 213 | config. setGroup ( "AC" ); |
228 | config. writeEntry ( "LcdOffOnly", LcdOffOnly_ac-> isChecked ( )); | 214 | config. writeEntry ( "LcdOffOnly", LcdOffOnly_ac-> isChecked ( )); |
229 | config. writeEntry ( "Dim", interval_dim_ac-> value ( )); | 215 | config. writeEntry ( "Dim", interval_dim_ac-> value ( )); |
230 | config. writeEntry ( "LightOff", interval_lightoff_ac-> value ( )); | 216 | config. writeEntry ( "LightOff", interval_lightoff_ac-> value ( )); |
231 | config. writeEntry ( "Suspend", interval_suspend_ac-> value ( )); | 217 | config. writeEntry ( "Suspend", interval_suspend_ac-> value ( )); |
232 | config. writeEntry ( "Brightness", brightness_ac-> value ( ) * 255 / ( m_bres - 1 )); | 218 | config. writeEntry ( "Brightness", brightness_ac-> value () ); |
233 | if (m_cres) | 219 | if (m_cres) |
234 | config. writeEntry ( "Contrast", contrast_ac-> value ( ) * 255 / ( m_cres - 1 )); | 220 | config. writeEntry ( "Contrast", contrast_ac-> value () ); |
235 | 221 | ||
236 | // only make light sensor stuff appear if the unit has a sensor | 222 | // only make light sensor stuff appear if the unit has a sensor |
237 | if ( ODevice::inst ( )-> hasLightSensor ( )) { | 223 | if ( ODevice::inst ( )-> hasLightSensor ( )) { |
238 | config. setGroup ( "Battery" ); | 224 | config. setGroup ( "Battery" ); |
239 | config. writeEntry ( "LightSensor", auto_brightness->isChecked() ); | 225 | config. writeEntry ( "LightSensor", auto_brightness->isChecked() ); |
240 | config. writeEntry ( "LightSensorData", m_sensordata, ';' ); | 226 | config. writeEntry ( "LightSensorData", m_sensordata, ';' ); |
241 | config. setGroup ( "AC" ); | 227 | config. setGroup ( "AC" ); |
242 | config. writeEntry ( "LightSensor", auto_brightness_ac->isChecked() ); | 228 | config. writeEntry ( "LightSensor", auto_brightness_ac->isChecked() ); |
243 | config. writeEntry ( "LightSensorData", m_sensordata_ac, ';' ); | 229 | config. writeEntry ( "LightSensorData", m_sensordata_ac, ';' ); |
244 | } | 230 | } |
245 | 231 | ||
246 | // advanced | 232 | // advanced |
247 | config. setGroup ( "Warnings" ); | 233 | config. setGroup ( "Warnings" ); |
248 | config. writeEntry ( "check_interval", warnintervalBox-> value ( ) * 1000 ); | 234 | config. writeEntry ( "check_interval", warnintervalBox-> value ( ) * 1000 ); |
249 | config. writeEntry ( "power_verylow", lowSpinBox-> value ( )); | 235 | config. writeEntry ( "power_verylow", lowSpinBox-> value ( )); |
250 | config. writeEntry ( "power_critical", criticalSpinBox-> value ( )); | 236 | config. writeEntry ( "power_critical", criticalSpinBox-> value ( )); |
251 | config. write ( ); | 237 | config. write ( ); |
252 | 238 | ||
253 | // notify the launcher | 239 | // notify the launcher |
254 | { | 240 | { |
255 | QCopEnvelope e ( "QPE/System", "reloadPowerWarnSettings()" ); | 241 | QCopEnvelope e ( "QPE/System", "reloadPowerWarnSettings()" ); |
256 | } | 242 | } |
257 | { | 243 | { |
258 | QCopEnvelope e ( "QPE/System", "setScreenSaverInterval(int)" ); | 244 | QCopEnvelope e ( "QPE/System", "setScreenSaverInterval(int)" ); |
259 | e << -1; | 245 | e << -1; |
260 | } | 246 | } |
261 | LightSettingsBase::accept ( ); | 247 | LightSettingsBase::accept ( ); |
262 | } | 248 | } |
263 | 249 | ||
264 | void LightSettings::done ( int r ) | 250 | void LightSettings::done ( int r ) |
265 | { | 251 | { |
266 | m_resettimer-> stop ( ); | 252 | m_resettimer-> stop ( ); |
267 | resetBacklight ( ); | 253 | resetBacklight ( ); |
268 | 254 | ||
269 | LightSettingsBase::done ( r ); | 255 | LightSettingsBase::done ( r ); |
270 | close ( ); | 256 | close ( ); |
271 | } | 257 | } |
diff --git a/core/settings/light-and-power/lightsettingsbase.ui b/core/settings/light-and-power/lightsettingsbase.ui index 8fdd604..884c21c 100644 --- a/core/settings/light-and-power/lightsettingsbase.ui +++ b/core/settings/light-and-power/lightsettingsbase.ui | |||
@@ -1,1320 +1,1256 @@ | |||
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>355</width> | 14 | <width>347</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>GroupBox3</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="1" column="1" > | 108 | <widget row="1" column="1" > |
109 | <class>QSpinBox</class> | 109 | <class>QSpinBox</class> |
110 | <property stdset="1"> | 110 | <property stdset="1"> |
111 | <name>name</name> | 111 | <name>name</name> |
112 | <cstring>interval_lightoff</cstring> | 112 | <cstring>interval_lightoff</cstring> |
113 | </property> | 113 | </property> |
114 | <property stdset="1"> | 114 | <property stdset="1"> |
115 | <name>suffix</name> | 115 | <name>suffix</name> |
116 | <string> sec</string> | 116 | <string> sec</string> |
117 | </property> | 117 | </property> |
118 | <property stdset="1"> | 118 | <property stdset="1"> |
119 | <name>specialValueText</name> | 119 | <name>specialValueText</name> |
120 | <string>never</string> | 120 | <string>never</string> |
121 | </property> | 121 | </property> |
122 | <property stdset="1"> | 122 | <property stdset="1"> |
123 | <name>buttonSymbols</name> | 123 | <name>buttonSymbols</name> |
124 | <enum>PlusMinus</enum> | 124 | <enum>PlusMinus</enum> |
125 | </property> | 125 | </property> |
126 | <property stdset="1"> | 126 | <property stdset="1"> |
127 | <name>maxValue</name> | 127 | <name>maxValue</name> |
128 | <number>3600</number> | 128 | <number>3600</number> |
129 | </property> | 129 | </property> |
130 | <property stdset="1"> | 130 | <property stdset="1"> |
131 | <name>minValue</name> | 131 | <name>minValue</name> |
132 | <number>0</number> | 132 | <number>0</number> |
133 | </property> | 133 | </property> |
134 | <property stdset="1"> | 134 | <property stdset="1"> |
135 | <name>lineStep</name> | 135 | <name>lineStep</name> |
136 | <number>10</number> | 136 | <number>10</number> |
137 | </property> | 137 | </property> |
138 | </widget> | 138 | </widget> |
139 | <widget row="1" column="0" > | 139 | <widget row="1" column="0" > |
140 | <class>QLabel</class> | 140 | <class>QLabel</class> |
141 | <property stdset="1"> | 141 | <property stdset="1"> |
142 | <name>name</name> | 142 | <name>name</name> |
143 | <cstring>TextLabel2_2</cstring> | 143 | <cstring>TL2</cstring> |
144 | </property> | 144 | </property> |
145 | <property stdset="1"> | 145 | <property stdset="1"> |
146 | <name>sizePolicy</name> | 146 | <name>sizePolicy</name> |
147 | <sizepolicy> | 147 | <sizepolicy> |
148 | <hsizetype>3</hsizetype> | 148 | <hsizetype>3</hsizetype> |
149 | <vsizetype>1</vsizetype> | 149 | <vsizetype>1</vsizetype> |
150 | </sizepolicy> | 150 | </sizepolicy> |
151 | </property> | 151 | </property> |
152 | <property stdset="1"> | 152 | <property stdset="1"> |
153 | <name>text</name> | 153 | <name>text</name> |
154 | <string>Light off after</string> | 154 | <string>Light off after</string> |
155 | </property> | 155 | </property> |
156 | </widget> | 156 | </widget> |
157 | <widget row="0" column="0" > | 157 | <widget row="0" column="0" > |
158 | <class>QLabel</class> | 158 | <class>QLabel</class> |
159 | <property stdset="1"> | 159 | <property stdset="1"> |
160 | <name>name</name> | 160 | <name>name</name> |
161 | <cstring>TextLabel1_3</cstring> | 161 | <cstring>TL1</cstring> |
162 | </property> | 162 | </property> |
163 | <property stdset="1"> | 163 | <property stdset="1"> |
164 | <name>sizePolicy</name> | 164 | <name>sizePolicy</name> |
165 | <sizepolicy> | 165 | <sizepolicy> |
166 | <hsizetype>3</hsizetype> | 166 | <hsizetype>3</hsizetype> |
167 | <vsizetype>1</vsizetype> | 167 | <vsizetype>1</vsizetype> |
168 | </sizepolicy> | 168 | </sizepolicy> |
169 | </property> | 169 | </property> |
170 | <property stdset="1"> | 170 | <property stdset="1"> |
171 | <name>text</name> | 171 | <name>text</name> |
172 | <string>Dim light after</string> | 172 | <string>Dim light after</string> |
173 | </property> | 173 | </property> |
174 | </widget> | 174 | </widget> |
175 | <widget row="0" column="1" > | 175 | <widget row="0" column="1" > |
176 | <class>QSpinBox</class> | 176 | <class>QSpinBox</class> |
177 | <property stdset="1"> | 177 | <property stdset="1"> |
178 | <name>name</name> | 178 | <name>name</name> |
179 | <cstring>interval_dim</cstring> | 179 | <cstring>interval_dim</cstring> |
180 | </property> | 180 | </property> |
181 | <property stdset="1"> | 181 | <property stdset="1"> |
182 | <name>suffix</name> | 182 | <name>suffix</name> |
183 | <string> sec</string> | 183 | <string> sec</string> |
184 | </property> | 184 | </property> |
185 | <property stdset="1"> | 185 | <property stdset="1"> |
186 | <name>specialValueText</name> | 186 | <name>specialValueText</name> |
187 | <string>never</string> | 187 | <string>never</string> |
188 | </property> | 188 | </property> |
189 | <property stdset="1"> | 189 | <property stdset="1"> |
190 | <name>buttonSymbols</name> | 190 | <name>buttonSymbols</name> |
191 | <enum>PlusMinus</enum> | 191 | <enum>PlusMinus</enum> |
192 | </property> | 192 | </property> |
193 | <property stdset="1"> | 193 | <property stdset="1"> |
194 | <name>maxValue</name> | 194 | <name>maxValue</name> |
195 | <number>3600</number> | 195 | <number>3600</number> |
196 | </property> | 196 | </property> |
197 | <property stdset="1"> | 197 | <property stdset="1"> |
198 | <name>minValue</name> | 198 | <name>minValue</name> |
199 | <number>0</number> | 199 | <number>0</number> |
200 | </property> | 200 | </property> |
201 | <property stdset="1"> | 201 | <property stdset="1"> |
202 | <name>lineStep</name> | 202 | <name>lineStep</name> |
203 | <number>10</number> | 203 | <number>10</number> |
204 | </property> | 204 | </property> |
205 | </widget> | 205 | </widget> |
206 | <widget row="2" column="1" > | 206 | <widget row="2" column="1" > |
207 | <class>QSpinBox</class> | 207 | <class>QSpinBox</class> |
208 | <property stdset="1"> | 208 | <property stdset="1"> |
209 | <name>name</name> | 209 | <name>name</name> |
210 | <cstring>interval_suspend</cstring> | 210 | <cstring>interval_suspend</cstring> |
211 | </property> | 211 | </property> |
212 | <property stdset="1"> | 212 | <property stdset="1"> |
213 | <name>suffix</name> | 213 | <name>suffix</name> |
214 | <string> sec</string> | 214 | <string> sec</string> |
215 | </property> | 215 | </property> |
216 | <property stdset="1"> | 216 | <property stdset="1"> |
217 | <name>specialValueText</name> | 217 | <name>specialValueText</name> |
218 | <string>never</string> | 218 | <string>never</string> |
219 | </property> | 219 | </property> |
220 | <property stdset="1"> | 220 | <property stdset="1"> |
221 | <name>buttonSymbols</name> | 221 | <name>buttonSymbols</name> |
222 | <enum>PlusMinus</enum> | 222 | <enum>PlusMinus</enum> |
223 | </property> | 223 | </property> |
224 | <property stdset="1"> | 224 | <property stdset="1"> |
225 | <name>maxValue</name> | 225 | <name>maxValue</name> |
226 | <number>3600</number> | 226 | <number>3600</number> |
227 | </property> | 227 | </property> |
228 | <property stdset="1"> | 228 | <property stdset="1"> |
229 | <name>minValue</name> | 229 | <name>minValue</name> |
230 | <number>0</number> | 230 | <number>0</number> |
231 | </property> | 231 | </property> |
232 | <property stdset="1"> | 232 | <property stdset="1"> |
233 | <name>lineStep</name> | 233 | <name>lineStep</name> |
234 | <number>10</number> | 234 | <number>10</number> |
235 | </property> | 235 | </property> |
236 | </widget> | 236 | </widget> |
237 | <widget row="2" column="0" > | 237 | <widget row="2" column="0" > |
238 | <class>QLabel</class> | 238 | <class>QLabel</class> |
239 | <property stdset="1"> | 239 | <property stdset="1"> |
240 | <name>name</name> | 240 | <name>name</name> |
241 | <cstring>TextLabel1_2</cstring> | 241 | <cstring>TL3</cstring> |
242 | </property> | 242 | </property> |
243 | <property stdset="1"> | 243 | <property stdset="1"> |
244 | <name>sizePolicy</name> | 244 | <name>sizePolicy</name> |
245 | <sizepolicy> | 245 | <sizepolicy> |
246 | <hsizetype>3</hsizetype> | 246 | <hsizetype>3</hsizetype> |
247 | <vsizetype>1</vsizetype> | 247 | <vsizetype>1</vsizetype> |
248 | </sizepolicy> | 248 | </sizepolicy> |
249 | </property> | 249 | </property> |
250 | <property stdset="1"> | 250 | <property stdset="1"> |
251 | <name>text</name> | 251 | <name>text</name> |
252 | <string>Suspend after</string> | 252 | <string>Suspend after</string> |
253 | </property> | 253 | </property> |
254 | </widget> | 254 | </widget> |
255 | <widget row="3" column="0" rowspan="1" colspan="2" > | 255 | <widget row="3" column="0" rowspan="1" colspan="2" > |
256 | <class>QCheckBox</class> | 256 | <class>QCheckBox</class> |
257 | <property stdset="1"> | 257 | <property stdset="1"> |
258 | <name>name</name> | 258 | <name>name</name> |
259 | <cstring>LcdOffOnly</cstring> | 259 | <cstring>LcdOffOnly</cstring> |
260 | </property> | 260 | </property> |
261 | <property stdset="1"> | 261 | <property stdset="1"> |
262 | <name>sizePolicy</name> | 262 | <name>sizePolicy</name> |
263 | <sizepolicy> | 263 | <sizepolicy> |
264 | <hsizetype>7</hsizetype> | 264 | <hsizetype>7</hsizetype> |
265 | <vsizetype>0</vsizetype> | 265 | <vsizetype>0</vsizetype> |
266 | </sizepolicy> | 266 | </sizepolicy> |
267 | </property> | 267 | </property> |
268 | <property stdset="1"> | 268 | <property stdset="1"> |
269 | <name>text</name> | 269 | <name>text</name> |
270 | <string>Deactivate LCD only (does not suspend)</string> | 270 | <string>Deactivate LCD only (does not suspend)</string> |
271 | </property> | 271 | </property> |
272 | </widget> | 272 | </widget> |
273 | </grid> | 273 | </grid> |
274 | </widget> | 274 | </widget> |
275 | <widget> | 275 | <widget> |
276 | <class>QGroupBox</class> | 276 | <class>QGroupBox</class> |
277 | <property stdset="1"> | 277 | <property stdset="1"> |
278 | <name>name</name> | 278 | <name>name</name> |
279 | <cstring>GroupLight</cstring> | 279 | <cstring>GroupLight</cstring> |
280 | </property> | 280 | </property> |
281 | <property stdset="1"> | 281 | <property stdset="1"> |
282 | <name>title</name> | 282 | <name>title</name> |
283 | <string>Backlight</string> | 283 | <string>Backlight</string> |
284 | </property> | 284 | </property> |
285 | <property> | 285 | <property> |
286 | <name>layoutMargin</name> | 286 | <name>layoutMargin</name> |
287 | </property> | 287 | </property> |
288 | <property> | 288 | <property> |
289 | <name>layoutSpacing</name> | 289 | <name>layoutSpacing</name> |
290 | </property> | 290 | </property> |
291 | <vbox> | 291 | <vbox> |
292 | <property stdset="1"> | 292 | <property stdset="1"> |
293 | <name>margin</name> | 293 | <name>margin</name> |
294 | <number>11</number> | 294 | <number>11</number> |
295 | </property> | 295 | </property> |
296 | <property stdset="1"> | 296 | <property stdset="1"> |
297 | <name>spacing</name> | 297 | <name>spacing</name> |
298 | <number>6</number> | 298 | <number>6</number> |
299 | </property> | 299 | </property> |
300 | <widget> | 300 | <widget> |
301 | <class>QSlider</class> | 301 | <class>QSlider</class> |
302 | <property stdset="1"> | 302 | <property stdset="1"> |
303 | <name>name</name> | 303 | <name>name</name> |
304 | <cstring>brightness</cstring> | 304 | <cstring>brightness</cstring> |
305 | </property> | 305 | </property> |
306 | <property stdset="1"> | 306 | <property stdset="1"> |
307 | <name>maxValue</name> | 307 | <name>maxValue</name> |
308 | <number>255</number> | 308 | <number>255</number> |
309 | </property> | 309 | </property> |
310 | <property stdset="1"> | 310 | <property stdset="1"> |
311 | <name>lineStep</name> | ||
312 | <number>1</number> | ||
313 | </property> | ||
314 | <property stdset="1"> | ||
315 | <name>pageStep</name> | ||
316 | <number>16</number> | ||
317 | </property> | ||
318 | <property stdset="1"> | ||
319 | <name>tracking</name> | ||
320 | <bool>true</bool> | ||
321 | </property> | ||
322 | <property stdset="1"> | ||
323 | <name>orientation</name> | 311 | <name>orientation</name> |
324 | <enum>Horizontal</enum> | 312 | <enum>Horizontal</enum> |
325 | </property> | 313 | </property> |
326 | <property stdset="1"> | 314 | <property stdset="1"> |
327 | <name>tickmarks</name> | 315 | <name>tickmarks</name> |
328 | <enum>Right</enum> | 316 | <enum>Right</enum> |
329 | </property> | 317 | </property> |
330 | <property stdset="1"> | ||
331 | <name>tickInterval</name> | ||
332 | <number>32</number> | ||
333 | </property> | ||
334 | <property> | 318 | <property> |
335 | <name>whatsThis</name> | 319 | <name>whatsThis</name> |
336 | <string>set a fix value for backlight</string> | 320 | <string>set a fix value for backlight</string> |
337 | </property> | 321 | </property> |
338 | </widget> | 322 | </widget> |
339 | <widget> | 323 | <widget> |
340 | <class>QSlider</class> | 324 | <class>QSlider</class> |
341 | <property stdset="1"> | 325 | <property stdset="1"> |
342 | <name>name</name> | 326 | <name>name</name> |
343 | <cstring>contrast</cstring> | 327 | <cstring>contrast</cstring> |
344 | </property> | 328 | </property> |
345 | <property stdset="1"> | 329 | <property stdset="1"> |
346 | <name>maxValue</name> | 330 | <name>maxValue</name> |
347 | <number>255</number> | 331 | <number>255</number> |
348 | </property> | 332 | </property> |
349 | <property stdset="1"> | 333 | <property stdset="1"> |
350 | <name>lineStep</name> | ||
351 | <number>1</number> | ||
352 | </property> | ||
353 | <property stdset="1"> | ||
354 | <name>pageStep</name> | ||
355 | <number>16</number> | ||
356 | </property> | ||
357 | <property stdset="1"> | ||
358 | <name>tracking</name> | ||
359 | <bool>true</bool> | ||
360 | </property> | ||
361 | <property stdset="1"> | ||
362 | <name>orientation</name> | 334 | <name>orientation</name> |
363 | <enum>Horizontal</enum> | 335 | <enum>Horizontal</enum> |
364 | </property> | 336 | </property> |
365 | <property stdset="1"> | 337 | <property stdset="1"> |
366 | <name>tickmarks</name> | 338 | <name>tickmarks</name> |
367 | <enum>Right</enum> | 339 | <enum>Right</enum> |
368 | </property> | 340 | </property> |
369 | <property stdset="1"> | ||
370 | <name>tickInterval</name> | ||
371 | <number>32</number> | ||
372 | </property> | ||
373 | <property> | 341 | <property> |
374 | <name>whatsThis</name> | 342 | <name>whatsThis</name> |
375 | <string>set a fix value for contrast</string> | 343 | <string>set a fix value for contrast</string> |
376 | </property> | 344 | </property> |
377 | </widget> | 345 | </widget> |
378 | <widget> | 346 | <widget> |
379 | <class>QLayoutWidget</class> | 347 | <class>QLayoutWidget</class> |
380 | <property stdset="1"> | 348 | <property stdset="1"> |
381 | <name>name</name> | 349 | <name>name</name> |
382 | <cstring>Layout10</cstring> | 350 | <cstring>Layout10</cstring> |
383 | </property> | 351 | </property> |
384 | <property> | 352 | <property> |
385 | <name>layoutSpacing</name> | 353 | <name>layoutSpacing</name> |
386 | </property> | 354 | </property> |
387 | <hbox> | 355 | <hbox> |
388 | <property stdset="1"> | 356 | <property stdset="1"> |
389 | <name>margin</name> | 357 | <name>margin</name> |
390 | <number>0</number> | 358 | <number>0</number> |
391 | </property> | 359 | </property> |
392 | <property stdset="1"> | 360 | <property stdset="1"> |
393 | <name>spacing</name> | 361 | <name>spacing</name> |
394 | <number>3</number> | 362 | <number>3</number> |
395 | </property> | 363 | </property> |
396 | <widget> | 364 | <widget> |
397 | <class>QLabel</class> | 365 | <class>QLabel</class> |
398 | <property stdset="1"> | 366 | <property stdset="1"> |
399 | <name>name</name> | 367 | <name>name</name> |
400 | <cstring>PixmapLabel2</cstring> | 368 | <cstring>PixmapLabel2</cstring> |
401 | </property> | 369 | </property> |
402 | <property stdset="1"> | 370 | <property stdset="1"> |
403 | <name>pixmap</name> | 371 | <name>pixmap</name> |
404 | <pixmap>image0</pixmap> | 372 | <pixmap>image0</pixmap> |
405 | </property> | 373 | </property> |
406 | <property stdset="1"> | 374 | <property stdset="1"> |
407 | <name>scaledContents</name> | 375 | <name>scaledContents</name> |
408 | <bool>false</bool> | 376 | <bool>false</bool> |
409 | </property> | 377 | </property> |
410 | </widget> | 378 | </widget> |
411 | <widget> | 379 | <widget> |
412 | <class>QLabel</class> | 380 | <class>QLabel</class> |
413 | <property stdset="1"> | 381 | <property stdset="1"> |
414 | <name>name</name> | 382 | <name>name</name> |
415 | <cstring>TextLabel4</cstring> | 383 | <cstring>TL4</cstring> |
416 | </property> | 384 | </property> |
417 | <property stdset="1"> | 385 | <property stdset="1"> |
418 | <name>text</name> | 386 | <name>text</name> |
419 | <string>Off</string> | 387 | <string>Off</string> |
420 | </property> | 388 | </property> |
421 | </widget> | 389 | </widget> |
422 | <spacer> | 390 | <spacer> |
423 | <property> | 391 | <property> |
424 | <name>name</name> | 392 | <name>name</name> |
425 | <cstring>Spacer2</cstring> | 393 | <cstring>Spacer2</cstring> |
426 | </property> | 394 | </property> |
427 | <property stdset="1"> | 395 | <property stdset="1"> |
428 | <name>orientation</name> | 396 | <name>orientation</name> |
429 | <enum>Horizontal</enum> | 397 | <enum>Horizontal</enum> |
430 | </property> | 398 | </property> |
431 | <property stdset="1"> | 399 | <property stdset="1"> |
432 | <name>sizeType</name> | 400 | <name>sizeType</name> |
433 | <enum>Expanding</enum> | 401 | <enum>Expanding</enum> |
434 | </property> | 402 | </property> |
435 | <property> | 403 | <property> |
436 | <name>sizeHint</name> | 404 | <name>sizeHint</name> |
437 | <size> | 405 | <size> |
438 | <width>20</width> | 406 | <width>20</width> |
439 | <height>20</height> | 407 | <height>20</height> |
440 | </size> | 408 | </size> |
441 | </property> | 409 | </property> |
442 | </spacer> | 410 | </spacer> |
443 | <widget> | 411 | <widget> |
444 | <class>QLabel</class> | 412 | <class>QLabel</class> |
445 | <property stdset="1"> | 413 | <property stdset="1"> |
446 | <name>name</name> | 414 | <name>name</name> |
447 | <cstring>TextLabel5</cstring> | 415 | <cstring>TL5</cstring> |
448 | </property> | 416 | </property> |
449 | <property stdset="1"> | 417 | <property stdset="1"> |
450 | <name>text</name> | 418 | <name>text</name> |
451 | <string>Full</string> | 419 | <string>Full</string> |
452 | </property> | 420 | </property> |
453 | </widget> | 421 | </widget> |
454 | <widget> | 422 | <widget> |
455 | <class>QLabel</class> | 423 | <class>QLabel</class> |
456 | <property stdset="1"> | 424 | <property stdset="1"> |
457 | <name>name</name> | 425 | <name>name</name> |
458 | <cstring>PixmapLabel1</cstring> | 426 | <cstring>PixmapLabel1</cstring> |
459 | </property> | 427 | </property> |
460 | <property stdset="1"> | 428 | <property stdset="1"> |
461 | <name>pixmap</name> | 429 | <name>pixmap</name> |
462 | <pixmap>image1</pixmap> | 430 | <pixmap>image1</pixmap> |
463 | </property> | 431 | </property> |
464 | <property stdset="1"> | 432 | <property stdset="1"> |
465 | <name>scaledContents</name> | 433 | <name>scaledContents</name> |
466 | <bool>false</bool> | 434 | <bool>false</bool> |
467 | </property> | 435 | </property> |
468 | </widget> | 436 | </widget> |
469 | </hbox> | 437 | </hbox> |
470 | </widget> | 438 | </widget> |
471 | <widget> | 439 | <widget> |
472 | <class>QLayoutWidget</class> | 440 | <class>QLayoutWidget</class> |
473 | <property stdset="1"> | 441 | <property stdset="1"> |
474 | <name>name</name> | 442 | <name>name</name> |
475 | <cstring>Layout9</cstring> | 443 | <cstring>Layout9</cstring> |
476 | </property> | 444 | </property> |
477 | <property> | 445 | <property> |
478 | <name>layoutSpacing</name> | 446 | <name>layoutSpacing</name> |
479 | </property> | 447 | </property> |
480 | <hbox> | 448 | <hbox> |
481 | <property stdset="1"> | 449 | <property stdset="1"> |
482 | <name>margin</name> | 450 | <name>margin</name> |
483 | <number>0</number> | 451 | <number>0</number> |
484 | </property> | 452 | </property> |
485 | <property stdset="1"> | 453 | <property stdset="1"> |
486 | <name>spacing</name> | 454 | <name>spacing</name> |
487 | <number>3</number> | 455 | <number>3</number> |
488 | </property> | 456 | </property> |
489 | <widget> | 457 | <widget> |
490 | <class>QCheckBox</class> | 458 | <class>QCheckBox</class> |
491 | <property stdset="1"> | 459 | <property stdset="1"> |
492 | <name>name</name> | 460 | <name>name</name> |
493 | <cstring>auto_brightness</cstring> | 461 | <cstring>auto_brightness</cstring> |
494 | </property> | 462 | </property> |
495 | <property stdset="1"> | 463 | <property stdset="1"> |
496 | <name>text</name> | 464 | <name>text</name> |
497 | <string>Use Light Sensor</string> | 465 | <string>Use Light Sensor</string> |
498 | </property> | 466 | </property> |
499 | <property> | 467 | <property> |
500 | <name>whatsThis</name> | 468 | <name>whatsThis</name> |
501 | <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> | 469 | <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> |
502 | </property> | 470 | </property> |
503 | </widget> | 471 | </widget> |
504 | <widget> | 472 | <widget> |
505 | <class>QPushButton</class> | 473 | <class>QPushButton</class> |
506 | <property stdset="1"> | 474 | <property stdset="1"> |
507 | <name>name</name> | 475 | <name>name</name> |
508 | <cstring>CalibrateLightSensor</cstring> | 476 | <cstring>CalibrateLightSensor</cstring> |
509 | </property> | 477 | </property> |
510 | <property stdset="1"> | 478 | <property stdset="1"> |
511 | <name>text</name> | 479 | <name>text</name> |
512 | <string>Calibrate</string> | 480 | <string>Calibrate</string> |
513 | </property> | 481 | </property> |
514 | <property> | 482 | <property> |
515 | <name>whatsThis</name> | 483 | <name>whatsThis</name> |
516 | <string>Advanced settings for light sensor handling</string> | 484 | <string>Advanced settings for light sensor handling</string> |
517 | </property> | 485 | </property> |
518 | </widget> | 486 | </widget> |
519 | </hbox> | 487 | </hbox> |
520 | </widget> | 488 | </widget> |
521 | </vbox> | 489 | </vbox> |
522 | </widget> | 490 | </widget> |
523 | <spacer> | 491 | <spacer> |
524 | <property> | 492 | <property> |
525 | <name>name</name> | 493 | <name>name</name> |
526 | <cstring>Spacer4</cstring> | 494 | <cstring>Spacer4</cstring> |
527 | </property> | 495 | </property> |
528 | <property stdset="1"> | 496 | <property stdset="1"> |
529 | <name>orientation</name> | 497 | <name>orientation</name> |
530 | <enum>Vertical</enum> | 498 | <enum>Vertical</enum> |
531 | </property> | 499 | </property> |
532 | <property stdset="1"> | 500 | <property stdset="1"> |
533 | <name>sizeType</name> | 501 | <name>sizeType</name> |
534 | <enum>Expanding</enum> | 502 | <enum>Expanding</enum> |
535 | </property> | 503 | </property> |
536 | <property> | 504 | <property> |
537 | <name>sizeHint</name> | 505 | <name>sizeHint</name> |
538 | <size> | 506 | <size> |
539 | <width>20</width> | 507 | <width>20</width> |
540 | <height>20</height> | 508 | <height>20</height> |
541 | </size> | 509 | </size> |
542 | </property> | 510 | </property> |
543 | </spacer> | 511 | </spacer> |
544 | </vbox> | 512 | </vbox> |
545 | </widget> | 513 | </widget> |
546 | <widget> | 514 | <widget> |
547 | <class>QWidget</class> | 515 | <class>QWidget</class> |
548 | <property stdset="1"> | 516 | <property stdset="1"> |
549 | <name>name</name> | 517 | <name>name</name> |
550 | <cstring>tab</cstring> | 518 | <cstring>tab</cstring> |
551 | </property> | 519 | </property> |
552 | <attribute> | 520 | <attribute> |
553 | <name>title</name> | 521 | <name>title</name> |
554 | <string>on AC</string> | 522 | <string>on AC</string> |
555 | </attribute> | 523 | </attribute> |
556 | <vbox> | 524 | <vbox> |
557 | <property stdset="1"> | 525 | <property stdset="1"> |
558 | <name>margin</name> | 526 | <name>margin</name> |
559 | <number>5</number> | 527 | <number>5</number> |
560 | </property> | 528 | </property> |
561 | <property stdset="1"> | 529 | <property stdset="1"> |
562 | <name>spacing</name> | 530 | <name>spacing</name> |
563 | <number>3</number> | 531 | <number>3</number> |
564 | </property> | 532 | </property> |
565 | <widget> | 533 | <widget> |
566 | <class>QGroupBox</class> | 534 | <class>QGroupBox</class> |
567 | <property stdset="1"> | 535 | <property stdset="1"> |
568 | <name>name</name> | 536 | <name>name</name> |
569 | <cstring>GroupBox4</cstring> | 537 | <cstring>Group3</cstring> |
570 | </property> | 538 | </property> |
571 | <property stdset="1"> | 539 | <property stdset="1"> |
572 | <name>enabled</name> | 540 | <name>enabled</name> |
573 | <bool>true</bool> | 541 | <bool>true</bool> |
574 | </property> | 542 | </property> |
575 | <property stdset="1"> | 543 | <property stdset="1"> |
576 | <name>title</name> | 544 | <name>title</name> |
577 | <string>General Settings</string> | 545 | <string>General Settings</string> |
578 | </property> | 546 | </property> |
579 | <property> | 547 | <property> |
580 | <name>layoutMargin</name> | 548 | <name>layoutMargin</name> |
581 | </property> | 549 | </property> |
582 | <property> | 550 | <property> |
583 | <name>layoutSpacing</name> | 551 | <name>layoutSpacing</name> |
584 | </property> | 552 | </property> |
585 | <grid> | 553 | <grid> |
586 | <property stdset="1"> | 554 | <property stdset="1"> |
587 | <name>margin</name> | 555 | <name>margin</name> |
588 | <number>5</number> | 556 | <number>5</number> |
589 | </property> | 557 | </property> |
590 | <property stdset="1"> | 558 | <property stdset="1"> |
591 | <name>spacing</name> | 559 | <name>spacing</name> |
592 | <number>3</number> | 560 | <number>3</number> |
593 | </property> | 561 | </property> |
594 | <widget row="1" column="1" > | 562 | <widget row="1" column="1" > |
595 | <class>QSpinBox</class> | 563 | <class>QSpinBox</class> |
596 | <property stdset="1"> | 564 | <property stdset="1"> |
597 | <name>name</name> | 565 | <name>name</name> |
598 | <cstring>interval_lightoff_ac</cstring> | 566 | <cstring>interval_lightoff_ac</cstring> |
599 | </property> | 567 | </property> |
600 | <property stdset="1"> | 568 | <property stdset="1"> |
601 | <name>suffix</name> | 569 | <name>suffix</name> |
602 | <string> sec</string> | 570 | <string> sec</string> |
603 | </property> | 571 | </property> |
604 | <property stdset="1"> | 572 | <property stdset="1"> |
605 | <name>specialValueText</name> | 573 | <name>specialValueText</name> |
606 | <string>never</string> | 574 | <string>never</string> |
607 | </property> | 575 | </property> |
608 | <property stdset="1"> | 576 | <property stdset="1"> |
609 | <name>buttonSymbols</name> | 577 | <name>buttonSymbols</name> |
610 | <enum>PlusMinus</enum> | 578 | <enum>PlusMinus</enum> |
611 | </property> | 579 | </property> |
612 | <property stdset="1"> | 580 | <property stdset="1"> |
613 | <name>maxValue</name> | 581 | <name>maxValue</name> |
614 | <number>3600</number> | 582 | <number>3600</number> |
615 | </property> | 583 | </property> |
616 | <property stdset="1"> | 584 | <property stdset="1"> |
617 | <name>minValue</name> | 585 | <name>minValue</name> |
618 | <number>0</number> | 586 | <number>0</number> |
619 | </property> | 587 | </property> |
620 | <property stdset="1"> | 588 | <property stdset="1"> |
621 | <name>lineStep</name> | 589 | <name>lineStep</name> |
622 | <number>10</number> | 590 | <number>10</number> |
623 | </property> | 591 | </property> |
624 | </widget> | 592 | </widget> |
625 | <widget row="0" column="0" > | 593 | <widget row="0" column="0" > |
626 | <class>QLabel</class> | 594 | <class>QLabel</class> |
627 | <property stdset="1"> | 595 | <property stdset="1"> |
628 | <name>name</name> | 596 | <name>name</name> |
629 | <cstring>TextLabel1_3_2</cstring> | 597 | <cstring>TextLabel1_3_2</cstring> |
630 | </property> | 598 | </property> |
631 | <property stdset="1"> | 599 | <property stdset="1"> |
632 | <name>sizePolicy</name> | 600 | <name>sizePolicy</name> |
633 | <sizepolicy> | 601 | <sizepolicy> |
634 | <hsizetype>3</hsizetype> | 602 | <hsizetype>3</hsizetype> |
635 | <vsizetype>1</vsizetype> | 603 | <vsizetype>1</vsizetype> |
636 | </sizepolicy> | 604 | </sizepolicy> |
637 | </property> | 605 | </property> |
638 | <property stdset="1"> | 606 | <property stdset="1"> |
639 | <name>text</name> | 607 | <name>text</name> |
640 | <string>Dim light after</string> | 608 | <string>Dim light after</string> |
641 | </property> | 609 | </property> |
642 | </widget> | 610 | </widget> |
643 | <widget row="2" column="1" > | 611 | <widget row="2" column="1" > |
644 | <class>QSpinBox</class> | 612 | <class>QSpinBox</class> |
645 | <property stdset="1"> | 613 | <property stdset="1"> |
646 | <name>name</name> | 614 | <name>name</name> |
647 | <cstring>interval_suspend_ac</cstring> | 615 | <cstring>interval_suspend_ac</cstring> |
648 | </property> | 616 | </property> |
649 | <property stdset="1"> | 617 | <property stdset="1"> |
650 | <name>suffix</name> | 618 | <name>suffix</name> |
651 | <string> sec</string> | 619 | <string> sec</string> |
652 | </property> | 620 | </property> |
653 | <property stdset="1"> | 621 | <property stdset="1"> |
654 | <name>specialValueText</name> | 622 | <name>specialValueText</name> |
655 | <string>never</string> | 623 | <string>never</string> |
656 | </property> | 624 | </property> |
657 | <property stdset="1"> | 625 | <property stdset="1"> |
658 | <name>buttonSymbols</name> | 626 | <name>buttonSymbols</name> |
659 | <enum>PlusMinus</enum> | 627 | <enum>PlusMinus</enum> |
660 | </property> | 628 | </property> |
661 | <property stdset="1"> | 629 | <property stdset="1"> |
662 | <name>maxValue</name> | 630 | <name>maxValue</name> |
663 | <number>3600</number> | 631 | <number>3600</number> |
664 | </property> | 632 | </property> |
665 | <property stdset="1"> | 633 | <property stdset="1"> |
666 | <name>minValue</name> | 634 | <name>minValue</name> |
667 | <number>0</number> | 635 | <number>0</number> |
668 | </property> | 636 | </property> |
669 | <property stdset="1"> | 637 | <property stdset="1"> |
670 | <name>lineStep</name> | 638 | <name>lineStep</name> |
671 | <number>10</number> | 639 | <number>10</number> |
672 | </property> | 640 | </property> |
673 | </widget> | 641 | </widget> |
674 | <widget row="2" column="0" > | 642 | <widget row="2" column="0" > |
675 | <class>QLabel</class> | 643 | <class>QLabel</class> |
676 | <property stdset="1"> | 644 | <property stdset="1"> |
677 | <name>name</name> | 645 | <name>name</name> |
678 | <cstring>TextLabel1_2_2_3</cstring> | 646 | <cstring>TextLabel1_2_2_3</cstring> |
679 | </property> | 647 | </property> |
680 | <property stdset="1"> | 648 | <property stdset="1"> |
681 | <name>sizePolicy</name> | 649 | <name>sizePolicy</name> |
682 | <sizepolicy> | 650 | <sizepolicy> |
683 | <hsizetype>3</hsizetype> | 651 | <hsizetype>3</hsizetype> |
684 | <vsizetype>1</vsizetype> | 652 | <vsizetype>1</vsizetype> |
685 | </sizepolicy> | 653 | </sizepolicy> |
686 | </property> | 654 | </property> |
687 | <property stdset="1"> | 655 | <property stdset="1"> |
688 | <name>text</name> | 656 | <name>text</name> |
689 | <string>Suspend after</string> | 657 | <string>Suspend after</string> |
690 | </property> | 658 | </property> |
691 | </widget> | 659 | </widget> |
692 | <widget row="0" column="1" > | 660 | <widget row="0" column="1" > |
693 | <class>QSpinBox</class> | 661 | <class>QSpinBox</class> |
694 | <property stdset="1"> | 662 | <property stdset="1"> |
695 | <name>name</name> | 663 | <name>name</name> |
696 | <cstring>interval_dim_ac</cstring> | 664 | <cstring>interval_dim_ac</cstring> |
697 | </property> | 665 | </property> |
698 | <property stdset="1"> | 666 | <property stdset="1"> |
699 | <name>suffix</name> | 667 | <name>suffix</name> |
700 | <string> sec</string> | 668 | <string> sec</string> |
701 | </property> | 669 | </property> |
702 | <property stdset="1"> | 670 | <property stdset="1"> |
703 | <name>specialValueText</name> | 671 | <name>specialValueText</name> |
704 | <string>never</string> | 672 | <string>never</string> |
705 | </property> | 673 | </property> |
706 | <property stdset="1"> | 674 | <property stdset="1"> |
707 | <name>buttonSymbols</name> | 675 | <name>buttonSymbols</name> |
708 | <enum>PlusMinus</enum> | 676 | <enum>PlusMinus</enum> |
709 | </property> | 677 | </property> |
710 | <property stdset="1"> | 678 | <property stdset="1"> |
711 | <name>maxValue</name> | 679 | <name>maxValue</name> |
712 | <number>3600</number> | 680 | <number>3600</number> |
713 | </property> | 681 | </property> |
714 | <property stdset="1"> | 682 | <property stdset="1"> |
715 | <name>minValue</name> | 683 | <name>minValue</name> |
716 | <number>0</number> | 684 | <number>0</number> |
717 | </property> | 685 | </property> |
718 | <property stdset="1"> | 686 | <property stdset="1"> |
719 | <name>lineStep</name> | 687 | <name>lineStep</name> |
720 | <number>10</number> | 688 | <number>10</number> |
721 | </property> | 689 | </property> |
722 | </widget> | 690 | </widget> |
723 | <widget row="1" column="0" > | 691 | <widget row="1" column="0" > |
724 | <class>QLabel</class> | 692 | <class>QLabel</class> |
725 | <property stdset="1"> | 693 | <property stdset="1"> |
726 | <name>name</name> | 694 | <name>name</name> |
727 | <cstring>TextLabel2_2_2</cstring> | 695 | <cstring>TextLabel2_2_2</cstring> |
728 | </property> | 696 | </property> |
729 | <property stdset="1"> | 697 | <property stdset="1"> |
730 | <name>sizePolicy</name> | 698 | <name>sizePolicy</name> |
731 | <sizepolicy> | 699 | <sizepolicy> |
732 | <hsizetype>3</hsizetype> | 700 | <hsizetype>3</hsizetype> |
733 | <vsizetype>1</vsizetype> | 701 | <vsizetype>1</vsizetype> |
734 | </sizepolicy> | 702 | </sizepolicy> |
735 | </property> | 703 | </property> |
736 | <property stdset="1"> | 704 | <property stdset="1"> |
737 | <name>text</name> | 705 | <name>text</name> |
738 | <string>Light off after</string> | 706 | <string>Light off after</string> |
739 | </property> | 707 | </property> |
740 | </widget> | 708 | </widget> |
741 | <widget row="3" column="0" rowspan="1" colspan="2" > | 709 | <widget row="3" column="0" rowspan="1" colspan="2" > |
742 | <class>QCheckBox</class> | 710 | <class>QCheckBox</class> |
743 | <property stdset="1"> | 711 | <property stdset="1"> |
744 | <name>name</name> | 712 | <name>name</name> |
745 | <cstring>LcdOffOnly_ac</cstring> | 713 | <cstring>LcdOffOnly_ac</cstring> |
746 | </property> | 714 | </property> |
747 | <property stdset="1"> | 715 | <property stdset="1"> |
748 | <name>sizePolicy</name> | 716 | <name>sizePolicy</name> |
749 | <sizepolicy> | 717 | <sizepolicy> |
750 | <hsizetype>7</hsizetype> | 718 | <hsizetype>7</hsizetype> |
751 | <vsizetype>0</vsizetype> | 719 | <vsizetype>0</vsizetype> |
752 | </sizepolicy> | 720 | </sizepolicy> |
753 | </property> | 721 | </property> |
754 | <property stdset="1"> | 722 | <property stdset="1"> |
755 | <name>text</name> | 723 | <name>text</name> |
756 | <string>Deactivate LCD only (does not suspend)</string> | 724 | <string>Deactivate LCD only (does not suspend)</string> |
757 | </property> | 725 | </property> |
758 | </widget> | 726 | </widget> |
759 | </grid> | 727 | </grid> |
760 | </widget> | 728 | </widget> |
761 | <widget> | 729 | <widget> |
762 | <class>QGroupBox</class> | 730 | <class>QGroupBox</class> |
763 | <property stdset="1"> | 731 | <property stdset="1"> |
764 | <name>name</name> | 732 | <name>name</name> |
765 | <cstring>GroupBox8</cstring> | 733 | <cstring>Group4</cstring> |
766 | </property> | 734 | </property> |
767 | <property stdset="1"> | 735 | <property stdset="1"> |
768 | <name>title</name> | 736 | <name>title</name> |
769 | <string>Backlight</string> | 737 | <string>Backlight</string> |
770 | </property> | 738 | </property> |
771 | <property> | 739 | <property> |
772 | <name>layoutMargin</name> | 740 | <name>layoutMargin</name> |
773 | </property> | 741 | </property> |
774 | <property> | 742 | <property> |
775 | <name>layoutSpacing</name> | 743 | <name>layoutSpacing</name> |
776 | </property> | 744 | </property> |
777 | <vbox> | 745 | <vbox> |
778 | <property stdset="1"> | 746 | <property stdset="1"> |
779 | <name>margin</name> | 747 | <name>margin</name> |
780 | <number>11</number> | 748 | <number>11</number> |
781 | </property> | 749 | </property> |
782 | <property stdset="1"> | 750 | <property stdset="1"> |
783 | <name>spacing</name> | 751 | <name>spacing</name> |
784 | <number>6</number> | 752 | <number>6</number> |
785 | </property> | 753 | </property> |
786 | <widget> | 754 | <widget> |
787 | <class>QSlider</class> | 755 | <class>QSlider</class> |
788 | <property stdset="1"> | 756 | <property stdset="1"> |
789 | <name>name</name> | 757 | <name>name</name> |
790 | <cstring>brightness_ac</cstring> | 758 | <cstring>brightness_ac</cstring> |
791 | </property> | 759 | </property> |
792 | <property stdset="1"> | 760 | <property stdset="1"> |
793 | <name>minValue</name> | ||
794 | <number>0</number> | ||
795 | </property> | ||
796 | <property stdset="1"> | ||
797 | <name>maxValue</name> | 761 | <name>maxValue</name> |
798 | <number>255</number> | 762 | <number>255</number> |
799 | </property> | 763 | </property> |
800 | <property stdset="1"> | 764 | <property stdset="1"> |
801 | <name>lineStep</name> | ||
802 | <number>16</number> | ||
803 | </property> | ||
804 | <property stdset="1"> | ||
805 | <name>pageStep</name> | ||
806 | <number>16</number> | ||
807 | </property> | ||
808 | <property stdset="1"> | ||
809 | <name>value</name> | 765 | <name>value</name> |
810 | <number>255</number> | 766 | <number>255</number> |
811 | </property> | 767 | </property> |
812 | <property stdset="1"> | 768 | <property stdset="1"> |
813 | <name>tracking</name> | ||
814 | <bool>true</bool> | ||
815 | </property> | ||
816 | <property stdset="1"> | ||
817 | <name>orientation</name> | 769 | <name>orientation</name> |
818 | <enum>Horizontal</enum> | 770 | <enum>Horizontal</enum> |
819 | </property> | 771 | </property> |
820 | <property stdset="1"> | 772 | <property stdset="1"> |
821 | <name>tickmarks</name> | 773 | <name>tickmarks</name> |
822 | <enum>Right</enum> | 774 | <enum>Right</enum> |
823 | </property> | 775 | </property> |
824 | <property> | 776 | <property> |
825 | <name>whatsThis</name> | 777 | <name>whatsThis</name> |
826 | <string>set a fix value for backlight</string> | 778 | <string>set a fix value for backlight</string> |
827 | </property> | 779 | </property> |
828 | </widget> | 780 | </widget> |
829 | <widget> | 781 | <widget> |
830 | <class>QSlider</class> | 782 | <class>QSlider</class> |
831 | <property stdset="1"> | 783 | <property stdset="1"> |
832 | <name>name</name> | 784 | <name>name</name> |
833 | <cstring>contrast_ac</cstring> | 785 | <cstring>contrast_ac</cstring> |
834 | </property> | 786 | </property> |
835 | <property stdset="1"> | 787 | <property stdset="1"> |
836 | <name>minValue</name> | ||
837 | <number>0</number> | ||
838 | </property> | ||
839 | <property stdset="1"> | ||
840 | <name>maxValue</name> | 788 | <name>maxValue</name> |
841 | <number>255</number> | 789 | <number>255</number> |
842 | </property> | 790 | </property> |
843 | <property stdset="1"> | 791 | <property stdset="1"> |
844 | <name>lineStep</name> | ||
845 | <number>16</number> | ||
846 | </property> | ||
847 | <property stdset="1"> | ||
848 | <name>pageStep</name> | ||
849 | <number>16</number> | ||
850 | </property> | ||
851 | <property stdset="1"> | ||
852 | <name>value</name> | 792 | <name>value</name> |
853 | <number>255</number> | 793 | <number>255</number> |
854 | </property> | 794 | </property> |
855 | <property stdset="1"> | 795 | <property stdset="1"> |
856 | <name>tracking</name> | ||
857 | <bool>true</bool> | ||
858 | </property> | ||
859 | <property stdset="1"> | ||
860 | <name>orientation</name> | 796 | <name>orientation</name> |
861 | <enum>Horizontal</enum> | 797 | <enum>Horizontal</enum> |
862 | </property> | 798 | </property> |
863 | <property stdset="1"> | 799 | <property stdset="1"> |
864 | <name>tickmarks</name> | 800 | <name>tickmarks</name> |
865 | <enum>Right</enum> | 801 | <enum>Right</enum> |
866 | </property> | 802 | </property> |
867 | <property> | 803 | <property> |
868 | <name>whatsThis</name> | 804 | <name>whatsThis</name> |
869 | <string>set a fix value for backlight</string> | 805 | <string>set a fix value for contrast</string> |
870 | </property> | 806 | </property> |
871 | </widget> | 807 | </widget> |
872 | <widget> | 808 | <widget> |
873 | <class>QLayoutWidget</class> | 809 | <class>QLayoutWidget</class> |
874 | <property stdset="1"> | 810 | <property stdset="1"> |
875 | <name>name</name> | 811 | <name>name</name> |
876 | <cstring>Layout20</cstring> | 812 | <cstring>Layout20</cstring> |
877 | </property> | 813 | </property> |
878 | <property> | 814 | <property> |
879 | <name>layoutSpacing</name> | 815 | <name>layoutSpacing</name> |
880 | </property> | 816 | </property> |
881 | <hbox> | 817 | <hbox> |
882 | <property stdset="1"> | 818 | <property stdset="1"> |
883 | <name>margin</name> | 819 | <name>margin</name> |
884 | <number>0</number> | 820 | <number>0</number> |
885 | </property> | 821 | </property> |
886 | <property stdset="1"> | 822 | <property stdset="1"> |
887 | <name>spacing</name> | 823 | <name>spacing</name> |
888 | <number>3</number> | 824 | <number>3</number> |
889 | </property> | 825 | </property> |
890 | <widget> | 826 | <widget> |
891 | <class>QLabel</class> | 827 | <class>QLabel</class> |
892 | <property stdset="1"> | 828 | <property stdset="1"> |
893 | <name>name</name> | 829 | <name>name</name> |
894 | <cstring>PixmapLabel2_2_3</cstring> | 830 | <cstring>PixmapLabel2_2_3</cstring> |
895 | </property> | 831 | </property> |
896 | <property stdset="1"> | 832 | <property stdset="1"> |
897 | <name>pixmap</name> | 833 | <name>pixmap</name> |
898 | <pixmap>image0</pixmap> | 834 | <pixmap>image0</pixmap> |
899 | </property> | 835 | </property> |
900 | <property stdset="1"> | 836 | <property stdset="1"> |
901 | <name>scaledContents</name> | 837 | <name>scaledContents</name> |
902 | <bool>false</bool> | 838 | <bool>false</bool> |
903 | </property> | 839 | </property> |
904 | </widget> | 840 | </widget> |
905 | <widget> | 841 | <widget> |
906 | <class>QLabel</class> | 842 | <class>QLabel</class> |
907 | <property stdset="1"> | 843 | <property stdset="1"> |
908 | <name>name</name> | 844 | <name>name</name> |
909 | <cstring>TextLabel6</cstring> | 845 | <cstring>TextLabel6</cstring> |
910 | </property> | 846 | </property> |
911 | <property stdset="1"> | 847 | <property stdset="1"> |
912 | <name>text</name> | 848 | <name>text</name> |
913 | <string>Off</string> | 849 | <string>Off</string> |
914 | </property> | 850 | </property> |
915 | </widget> | 851 | </widget> |
916 | <spacer> | 852 | <spacer> |
917 | <property> | 853 | <property> |
918 | <name>name</name> | 854 | <name>name</name> |
919 | <cstring>Spacer3</cstring> | 855 | <cstring>Spacer3</cstring> |
920 | </property> | 856 | </property> |
921 | <property stdset="1"> | 857 | <property stdset="1"> |
922 | <name>orientation</name> | 858 | <name>orientation</name> |
923 | <enum>Horizontal</enum> | 859 | <enum>Horizontal</enum> |
924 | </property> | 860 | </property> |
925 | <property stdset="1"> | 861 | <property stdset="1"> |
926 | <name>sizeType</name> | 862 | <name>sizeType</name> |
927 | <enum>Expanding</enum> | 863 | <enum>Expanding</enum> |
928 | </property> | 864 | </property> |
929 | <property> | 865 | <property> |
930 | <name>sizeHint</name> | 866 | <name>sizeHint</name> |
931 | <size> | 867 | <size> |
932 | <width>20</width> | 868 | <width>20</width> |
933 | <height>20</height> | 869 | <height>20</height> |
934 | </size> | 870 | </size> |
935 | </property> | 871 | </property> |
936 | </spacer> | 872 | </spacer> |
937 | <widget> | 873 | <widget> |
938 | <class>QLabel</class> | 874 | <class>QLabel</class> |
939 | <property stdset="1"> | 875 | <property stdset="1"> |
940 | <name>name</name> | 876 | <name>name</name> |
941 | <cstring>TextLabel7</cstring> | 877 | <cstring>TextLabel7</cstring> |
942 | </property> | 878 | </property> |
943 | <property stdset="1"> | 879 | <property stdset="1"> |
944 | <name>text</name> | 880 | <name>text</name> |
945 | <string>Full</string> | 881 | <string>Full</string> |
946 | </property> | 882 | </property> |
947 | </widget> | 883 | </widget> |
948 | <widget> | 884 | <widget> |
949 | <class>QLabel</class> | 885 | <class>QLabel</class> |
950 | <property stdset="1"> | 886 | <property stdset="1"> |
951 | <name>name</name> | 887 | <name>name</name> |
952 | <cstring>PixmapLabel1_2_3</cstring> | 888 | <cstring>PixmapLabel1_2_3</cstring> |
953 | </property> | 889 | </property> |
954 | <property stdset="1"> | 890 | <property stdset="1"> |
955 | <name>pixmap</name> | 891 | <name>pixmap</name> |
956 | <pixmap>image1</pixmap> | 892 | <pixmap>image1</pixmap> |
957 | </property> | 893 | </property> |
958 | <property stdset="1"> | 894 | <property stdset="1"> |
959 | <name>scaledContents</name> | 895 | <name>scaledContents</name> |
960 | <bool>false</bool> | 896 | <bool>false</bool> |
961 | </property> | 897 | </property> |
962 | </widget> | 898 | </widget> |
963 | </hbox> | 899 | </hbox> |
964 | </widget> | 900 | </widget> |
965 | <widget> | 901 | <widget> |
966 | <class>QLayoutWidget</class> | 902 | <class>QLayoutWidget</class> |
967 | <property stdset="1"> | 903 | <property stdset="1"> |
968 | <name>name</name> | 904 | <name>name</name> |
969 | <cstring>Layout10</cstring> | 905 | <cstring>Layout10</cstring> |
970 | </property> | 906 | </property> |
971 | <property> | 907 | <property> |
972 | <name>layoutSpacing</name> | 908 | <name>layoutSpacing</name> |
973 | </property> | 909 | </property> |
974 | <hbox> | 910 | <hbox> |
975 | <property stdset="1"> | 911 | <property stdset="1"> |
976 | <name>margin</name> | 912 | <name>margin</name> |
977 | <number>0</number> | 913 | <number>0</number> |
978 | </property> | 914 | </property> |
979 | <property stdset="1"> | 915 | <property stdset="1"> |
980 | <name>spacing</name> | 916 | <name>spacing</name> |
981 | <number>3</number> | 917 | <number>3</number> |
982 | </property> | 918 | </property> |
983 | <widget> | 919 | <widget> |
984 | <class>QCheckBox</class> | 920 | <class>QCheckBox</class> |
985 | <property stdset="1"> | 921 | <property stdset="1"> |
986 | <name>name</name> | 922 | <name>name</name> |
987 | <cstring>auto_brightness_ac</cstring> | 923 | <cstring>auto_brightness_ac</cstring> |
988 | </property> | 924 | </property> |
989 | <property stdset="1"> | 925 | <property stdset="1"> |
990 | <name>text</name> | 926 | <name>text</name> |
991 | <string>Use Light Sensor</string> | 927 | <string>Use Light Sensor</string> |
992 | </property> | 928 | </property> |
993 | <property> | 929 | <property> |
994 | <name>whatsThis</name> | 930 | <name>whatsThis</name> |
995 | <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> | 931 | <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> |
996 | </property> | 932 | </property> |
997 | </widget> | 933 | </widget> |
998 | <widget> | 934 | <widget> |
999 | <class>QPushButton</class> | 935 | <class>QPushButton</class> |
1000 | <property stdset="1"> | 936 | <property stdset="1"> |
1001 | <name>name</name> | 937 | <name>name</name> |
1002 | <cstring>CalibrateLightSensor_ac</cstring> | 938 | <cstring>CalibrateLightSensor_ac</cstring> |
1003 | </property> | 939 | </property> |
1004 | <property stdset="1"> | 940 | <property stdset="1"> |
1005 | <name>text</name> | 941 | <name>text</name> |
1006 | <string>Calibrate</string> | 942 | <string>Calibrate</string> |
1007 | </property> | 943 | </property> |
1008 | <property> | 944 | <property> |
1009 | <name>whatsThis</name> | 945 | <name>whatsThis</name> |
1010 | <string>Advanced settings for light sensor handling</string> | 946 | <string>Advanced settings for light sensor handling</string> |
1011 | </property> | 947 | </property> |
1012 | </widget> | 948 | </widget> |
1013 | </hbox> | 949 | </hbox> |
1014 | </widget> | 950 | </widget> |
1015 | </vbox> | 951 | </vbox> |
1016 | </widget> | 952 | </widget> |
1017 | <spacer> | 953 | <spacer> |
1018 | <property> | 954 | <property> |
1019 | <name>name</name> | 955 | <name>name</name> |
1020 | <cstring>Spacer5</cstring> | 956 | <cstring>Spacer5</cstring> |
1021 | </property> | 957 | </property> |
1022 | <property stdset="1"> | 958 | <property stdset="1"> |
1023 | <name>orientation</name> | 959 | <name>orientation</name> |
1024 | <enum>Vertical</enum> | 960 | <enum>Vertical</enum> |
1025 | </property> | 961 | </property> |
1026 | <property stdset="1"> | 962 | <property stdset="1"> |
1027 | <name>sizeType</name> | 963 | <name>sizeType</name> |
1028 | <enum>Expanding</enum> | 964 | <enum>Expanding</enum> |
1029 | </property> | 965 | </property> |
1030 | <property> | 966 | <property> |
1031 | <name>sizeHint</name> | 967 | <name>sizeHint</name> |
1032 | <size> | 968 | <size> |
1033 | <width>20</width> | 969 | <width>20</width> |
1034 | <height>20</height> | 970 | <height>20</height> |
1035 | </size> | 971 | </size> |
1036 | </property> | 972 | </property> |
1037 | </spacer> | 973 | </spacer> |
1038 | </vbox> | 974 | </vbox> |
1039 | </widget> | 975 | </widget> |
1040 | <widget> | 976 | <widget> |
1041 | <class>QWidget</class> | 977 | <class>QWidget</class> |
1042 | <property stdset="1"> | 978 | <property stdset="1"> |
1043 | <name>name</name> | 979 | <name>name</name> |
1044 | <cstring>tab</cstring> | 980 | <cstring>tab</cstring> |
1045 | </property> | 981 | </property> |
1046 | <attribute> | 982 | <attribute> |
1047 | <name>title</name> | 983 | <name>title</name> |
1048 | <string>Warnings</string> | 984 | <string>Warnings</string> |
1049 | </attribute> | 985 | </attribute> |
1050 | <vbox> | 986 | <vbox> |
1051 | <property stdset="1"> | 987 | <property stdset="1"> |
1052 | <name>margin</name> | 988 | <name>margin</name> |
1053 | <number>5</number> | 989 | <number>5</number> |
1054 | </property> | 990 | </property> |
1055 | <property stdset="1"> | 991 | <property stdset="1"> |
1056 | <name>spacing</name> | 992 | <name>spacing</name> |
1057 | <number>3</number> | 993 | <number>3</number> |
1058 | </property> | 994 | </property> |
1059 | <widget> | 995 | <widget> |
1060 | <class>QGroupBox</class> | 996 | <class>QGroupBox</class> |
1061 | <property stdset="1"> | 997 | <property stdset="1"> |
1062 | <name>name</name> | 998 | <name>name</name> |
1063 | <cstring>GroupBox5</cstring> | 999 | <cstring>Group5</cstring> |
1064 | </property> | 1000 | </property> |
1065 | <property stdset="1"> | 1001 | <property stdset="1"> |
1066 | <name>title</name> | 1002 | <name>title</name> |
1067 | <string>Warnings</string> | 1003 | <string>Warnings</string> |
1068 | </property> | 1004 | </property> |
1069 | <property> | 1005 | <property> |
1070 | <name>layoutMargin</name> | 1006 | <name>layoutMargin</name> |
1071 | </property> | 1007 | </property> |
1072 | <property> | 1008 | <property> |
1073 | <name>layoutSpacing</name> | 1009 | <name>layoutSpacing</name> |
1074 | </property> | 1010 | </property> |
1075 | <grid> | 1011 | <grid> |
1076 | <property stdset="1"> | 1012 | <property stdset="1"> |
1077 | <name>margin</name> | 1013 | <name>margin</name> |
1078 | <number>5</number> | 1014 | <number>5</number> |
1079 | </property> | 1015 | </property> |
1080 | <property stdset="1"> | 1016 | <property stdset="1"> |
1081 | <name>spacing</name> | 1017 | <name>spacing</name> |
1082 | <number>3</number> | 1018 | <number>3</number> |
1083 | </property> | 1019 | </property> |
1084 | <widget row="0" column="0" > | 1020 | <widget row="0" column="0" > |
1085 | <class>QLabel</class> | 1021 | <class>QLabel</class> |
1086 | <property stdset="1"> | 1022 | <property stdset="1"> |
1087 | <name>name</name> | 1023 | <name>name</name> |
1088 | <cstring>TextLabel1</cstring> | 1024 | <cstring>TextLabel1</cstring> |
1089 | </property> | 1025 | </property> |
1090 | <property stdset="1"> | 1026 | <property stdset="1"> |
1091 | <name>sizePolicy</name> | 1027 | <name>sizePolicy</name> |
1092 | <sizepolicy> | 1028 | <sizepolicy> |
1093 | <hsizetype>3</hsizetype> | 1029 | <hsizetype>3</hsizetype> |
1094 | <vsizetype>5</vsizetype> | 1030 | <vsizetype>5</vsizetype> |
1095 | </sizepolicy> | 1031 | </sizepolicy> |
1096 | </property> | 1032 | </property> |
1097 | <property stdset="1"> | 1033 | <property stdset="1"> |
1098 | <name>text</name> | 1034 | <name>text</name> |
1099 | <string>Low power warning interval</string> | 1035 | <string>Low power warning interval</string> |
1100 | </property> | 1036 | </property> |
1101 | <property stdset="1"> | 1037 | <property stdset="1"> |
1102 | <name>alignment</name> | 1038 | <name>alignment</name> |
1103 | <set>WordBreak|AlignVCenter|AlignLeft</set> | 1039 | <set>WordBreak|AlignVCenter|AlignLeft</set> |
1104 | </property> | 1040 | </property> |
1105 | <property> | 1041 | <property> |
1106 | <name>wordwrap</name> | 1042 | <name>wordwrap</name> |
1107 | </property> | 1043 | </property> |
1108 | </widget> | 1044 | </widget> |
1109 | <widget row="1" column="1" > | 1045 | <widget row="1" column="1" > |
1110 | <class>QSpinBox</class> | 1046 | <class>QSpinBox</class> |
1111 | <property stdset="1"> | 1047 | <property stdset="1"> |
1112 | <name>name</name> | 1048 | <name>name</name> |
1113 | <cstring>lowSpinBox</cstring> | 1049 | <cstring>lowSpinBox</cstring> |
1114 | </property> | 1050 | </property> |
1115 | <property stdset="1"> | 1051 | <property stdset="1"> |
1116 | <name>suffix</name> | 1052 | <name>suffix</name> |
1117 | <string> %</string> | 1053 | <string> %</string> |
1118 | </property> | 1054 | </property> |
1119 | <property stdset="1"> | 1055 | <property stdset="1"> |
1120 | <name>buttonSymbols</name> | 1056 | <name>buttonSymbols</name> |
1121 | <enum>PlusMinus</enum> | 1057 | <enum>PlusMinus</enum> |
1122 | </property> | 1058 | </property> |
1123 | <property stdset="1"> | 1059 | <property stdset="1"> |
1124 | <name>maxValue</name> | 1060 | <name>maxValue</name> |
1125 | <number>80</number> | 1061 | <number>80</number> |
1126 | </property> | 1062 | </property> |
1127 | <property stdset="1"> | 1063 | <property stdset="1"> |
1128 | <name>minValue</name> | 1064 | <name>minValue</name> |
1129 | <number>2</number> | 1065 | <number>2</number> |
1130 | </property> | 1066 | </property> |
1131 | <property> | 1067 | <property> |
1132 | <name>whatsThis</name> | 1068 | <name>whatsThis</name> |
1133 | <string>At what battery level should the low power warning pop up</string> | 1069 | <string>At what battery level should the low power warning pop up</string> |
1134 | </property> | 1070 | </property> |
1135 | </widget> | 1071 | </widget> |
1136 | <widget row="0" column="1" > | 1072 | <widget row="0" column="1" > |
1137 | <class>QSpinBox</class> | 1073 | <class>QSpinBox</class> |
1138 | <property stdset="1"> | 1074 | <property stdset="1"> |
1139 | <name>name</name> | 1075 | <name>name</name> |
1140 | <cstring>warnintervalBox</cstring> | 1076 | <cstring>warnintervalBox</cstring> |
1141 | </property> | 1077 | </property> |
1142 | <property stdset="1"> | 1078 | <property stdset="1"> |
1143 | <name>suffix</name> | 1079 | <name>suffix</name> |
1144 | <string> sec</string> | 1080 | <string> sec</string> |
1145 | </property> | 1081 | </property> |
1146 | <property stdset="1"> | 1082 | <property stdset="1"> |
1147 | <name>specialValueText</name> | 1083 | <name>specialValueText</name> |
1148 | <string>never</string> | 1084 | <string>never</string> |
1149 | </property> | 1085 | </property> |
1150 | <property stdset="1"> | 1086 | <property stdset="1"> |
1151 | <name>wrapping</name> | 1087 | <name>wrapping</name> |
1152 | <bool>true</bool> | 1088 | <bool>true</bool> |
1153 | </property> | 1089 | </property> |
1154 | <property stdset="1"> | 1090 | <property stdset="1"> |
1155 | <name>buttonSymbols</name> | 1091 | <name>buttonSymbols</name> |
1156 | <enum>PlusMinus</enum> | 1092 | <enum>PlusMinus</enum> |
1157 | </property> | 1093 | </property> |
1158 | <property stdset="1"> | 1094 | <property stdset="1"> |
1159 | <name>maxValue</name> | 1095 | <name>maxValue</name> |
1160 | <number>300</number> | 1096 | <number>300</number> |
1161 | </property> | 1097 | </property> |
1162 | <property stdset="1"> | 1098 | <property stdset="1"> |
1163 | <name>minValue</name> | 1099 | <name>minValue</name> |
1164 | <number>0</number> | 1100 | <number>0</number> |
1165 | </property> | 1101 | </property> |
1166 | <property stdset="1"> | 1102 | <property stdset="1"> |
1167 | <name>lineStep</name> | 1103 | <name>lineStep</name> |
1168 | <number>5</number> | 1104 | <number>5</number> |
1169 | </property> | 1105 | </property> |
1170 | <property stdset="1"> | 1106 | <property stdset="1"> |
1171 | <name>value</name> | 1107 | <name>value</name> |
1172 | <number>5</number> | 1108 | <number>5</number> |
1173 | </property> | 1109 | </property> |
1174 | <property> | 1110 | <property> |
1175 | <name>whatsThis</name> | 1111 | <name>whatsThis</name> |
1176 | <string>how often should be checked for low power. This determines the rate popups occure in low power situations</string> | 1112 | <string>how often should be checked for low power. This determines the rate popups occure in low power situations</string> |
1177 | </property> | 1113 | </property> |
1178 | </widget> | 1114 | </widget> |
1179 | <widget row="2" column="1" > | 1115 | <widget row="2" column="1" > |
1180 | <class>QSpinBox</class> | 1116 | <class>QSpinBox</class> |
1181 | <property stdset="1"> | 1117 | <property stdset="1"> |
1182 | <name>name</name> | 1118 | <name>name</name> |
1183 | <cstring>criticalSpinBox</cstring> | 1119 | <cstring>criticalSpinBox</cstring> |
1184 | </property> | 1120 | </property> |
1185 | <property stdset="1"> | 1121 | <property stdset="1"> |
1186 | <name>prefix</name> | 1122 | <name>prefix</name> |
1187 | <string></string> | 1123 | <string></string> |
1188 | </property> | 1124 | </property> |
1189 | <property stdset="1"> | 1125 | <property stdset="1"> |
1190 | <name>suffix</name> | 1126 | <name>suffix</name> |
1191 | <string> %</string> | 1127 | <string> %</string> |
1192 | </property> | 1128 | </property> |
1193 | <property stdset="1"> | 1129 | <property stdset="1"> |
1194 | <name>buttonSymbols</name> | 1130 | <name>buttonSymbols</name> |
1195 | <enum>PlusMinus</enum> | 1131 | <enum>PlusMinus</enum> |
1196 | </property> | 1132 | </property> |
1197 | <property stdset="1"> | 1133 | <property stdset="1"> |
1198 | <name>maxValue</name> | 1134 | <name>maxValue</name> |
1199 | <number>80</number> | 1135 | <number>80</number> |
1200 | </property> | 1136 | </property> |
1201 | <property stdset="1"> | 1137 | <property stdset="1"> |
1202 | <name>minValue</name> | 1138 | <name>minValue</name> |
1203 | <number>2</number> | 1139 | <number>2</number> |
1204 | </property> | 1140 | </property> |
1205 | <property> | 1141 | <property> |
1206 | <name>whatsThis</name> | 1142 | <name>whatsThis</name> |
1207 | <string>At what battery level should the critical power warning pop up</string> | 1143 | <string>At what battery level should the critical power warning pop up</string> |
1208 | </property> | 1144 | </property> |
1209 | </widget> | 1145 | </widget> |
1210 | <widget row="1" column="0" > | 1146 | <widget row="1" column="0" > |
1211 | <class>QLabel</class> | 1147 | <class>QLabel</class> |
1212 | <property stdset="1"> | 1148 | <property stdset="1"> |
1213 | <name>name</name> | 1149 | <name>name</name> |
1214 | <cstring>TextLabel2</cstring> | 1150 | <cstring>TextLabel2</cstring> |
1215 | </property> | 1151 | </property> |
1216 | <property stdset="1"> | 1152 | <property stdset="1"> |
1217 | <name>sizePolicy</name> | 1153 | <name>sizePolicy</name> |
1218 | <sizepolicy> | 1154 | <sizepolicy> |
1219 | <hsizetype>1</hsizetype> | 1155 | <hsizetype>1</hsizetype> |
1220 | <vsizetype>5</vsizetype> | 1156 | <vsizetype>5</vsizetype> |
1221 | </sizepolicy> | 1157 | </sizepolicy> |
1222 | </property> | 1158 | </property> |
1223 | <property stdset="1"> | 1159 | <property stdset="1"> |
1224 | <name>text</name> | 1160 | <name>text</name> |
1225 | <string>very low battery warning at</string> | 1161 | <string>very low battery warning at</string> |
1226 | </property> | 1162 | </property> |
1227 | </widget> | 1163 | </widget> |
1228 | <widget row="2" column="0" > | 1164 | <widget row="2" column="0" > |
1229 | <class>QLabel</class> | 1165 | <class>QLabel</class> |
1230 | <property stdset="1"> | 1166 | <property stdset="1"> |
1231 | <name>name</name> | 1167 | <name>name</name> |
1232 | <cstring>TextLabel3</cstring> | 1168 | <cstring>TextLabel3</cstring> |
1233 | </property> | 1169 | </property> |
1234 | <property stdset="1"> | 1170 | <property stdset="1"> |
1235 | <name>sizePolicy</name> | 1171 | <name>sizePolicy</name> |
1236 | <sizepolicy> | 1172 | <sizepolicy> |
1237 | <hsizetype>1</hsizetype> | 1173 | <hsizetype>1</hsizetype> |
1238 | <vsizetype>5</vsizetype> | 1174 | <vsizetype>5</vsizetype> |
1239 | </sizepolicy> | 1175 | </sizepolicy> |
1240 | </property> | 1176 | </property> |
1241 | <property stdset="1"> | 1177 | <property stdset="1"> |
1242 | <name>text</name> | 1178 | <name>text</name> |
1243 | <string>critical power warning at</string> | 1179 | <string>critical power warning at</string> |
1244 | </property> | 1180 | </property> |
1245 | </widget> | 1181 | </widget> |
1246 | </grid> | 1182 | </grid> |
1247 | </widget> | 1183 | </widget> |
1248 | <spacer> | 1184 | <spacer> |
1249 | <property> | 1185 | <property> |
1250 | <name>name</name> | 1186 | <name>name</name> |
1251 | <cstring>Spacer1</cstring> | 1187 | <cstring>Spacer1</cstring> |
1252 | </property> | 1188 | </property> |
1253 | <property stdset="1"> | 1189 | <property stdset="1"> |
1254 | <name>orientation</name> | 1190 | <name>orientation</name> |
1255 | <enum>Vertical</enum> | 1191 | <enum>Vertical</enum> |
1256 | </property> | 1192 | </property> |
1257 | <property stdset="1"> | 1193 | <property stdset="1"> |
1258 | <name>sizeType</name> | 1194 | <name>sizeType</name> |
1259 | <enum>Expanding</enum> | 1195 | <enum>Expanding</enum> |
1260 | </property> | 1196 | </property> |
1261 | <property> | 1197 | <property> |
1262 | <name>sizeHint</name> | 1198 | <name>sizeHint</name> |
1263 | <size> | 1199 | <size> |
1264 | <width>20</width> | 1200 | <width>20</width> |
1265 | <height>20</height> | 1201 | <height>20</height> |
1266 | </size> | 1202 | </size> |
1267 | </property> | 1203 | </property> |
1268 | </spacer> | 1204 | </spacer> |
1269 | </vbox> | 1205 | </vbox> |
1270 | </widget> | 1206 | </widget> |
1271 | </widget> | 1207 | </widget> |
1272 | </vbox> | 1208 | </vbox> |
1273 | </widget> | 1209 | </widget> |
1274 | <images> | 1210 | <images> |
1275 | <image> | 1211 | <image> |
1276 | <name>image0</name> | 1212 | <name>image0</name> |
1277 | <data format="XPM.GZ" length="680">789c5dd04d6ac3301005e0bd4f21ec5d280931b1c0941ca1a5cb42e962a4194956e2d8f9e9a294debd9e9168ec3cbcd0f72ca1b1372bf5fef6a2569be27a835b67950d70512bfceafbef8fcffd4f516eb59a9e7aabb6e55351ae9555afc389787d9ed6556bdbb6b5cc2b1376d0c08e79115a0090b74326258e4cb333b591cd27a66d6c6d1b669fa9134988162c328f99945831b1c11a65f32153271a2121a0cc1c3329b16392a69a3413327562101201c9669f4989c874dad54e36bb4c9d6885ce8173f2df24158049abff0eec14a479371de1f859573944873e00dd3b8353ba18e3e1de1dbcf7d04d31b3b39033eb8e1052aad9bdc64be262bec0b784e5cc81c78387efe0ae5b767decba785a76c3380cc379d9ad2fe3787df82fb394bfcfc51f5517a686</data> | 1213 | <data format="XPM.GZ" length="680">789c5dd04d6ac3301005e0bd4f21ec5d280931b1c0941ca1a5cb42e962a4194956e2d8f9e9a294debd9e9168ec3cbcd0f72ca1b1372bf5fef6a2569be27a835b67950d70512bfceafbef8fcffd4f516eb59a9e7aabb6e55351ae9555afc389787d9ed6556bdbb6b5cc2b1376d0c08e79115a0090b74326258e4cb333b591cd27a66d6c6d1b669fa9134988162c328f99945831b1c11a65f32153271a2121a0cc1c3329b16392a69a3413327562101201c9669f4989c874dad54e36bb4c9d6885ce8173f2df24158049abff0eec14a479371de1f859573944873e00dd3b8353ba18e3e1de1dbcf7d04d31b3b39033eb8e1052aad9bdc64be262bec0b784e5cc81c78387efe0ae5b767decba785a76c3380cc379d9ad2fe3787df82fb394bfcfc51f5517a686</data> |
1278 | </image> | 1214 | </image> |
1279 | <image> | 1215 | <image> |
1280 | <name>image1</name> | 1216 | <name>image1</name> |
1281 | <data format="XPM.GZ" length="1220">789c5dd35f53e2301000f0773e4507de981ba4a5443a37f7a028fe41101514bcb987344d0515a8b4a0e0dc77bfee6e36d0dbe121bf4d48361b38aa3ae341cfa91e95d24c6633e5a8a95c39d5683d9f6f7ffff9f55d2abbc2c93fcd63c72dff28956b8e72facb8586f1733eae042a080205f480d2974de903eb4825a5c4d927434d9c30435c3c26861ed105863ef31118692584043e18cae306700ad43af27c9cbd00c622120d2cf8c350d65bc02b66230056984d0f786ea83d9c7d67fab89562d2b92ba2f6e8bb4343d10a81236680579086927a1532a957d7c898b7fa32146e1db865d28d7acc26def7de50b6b0aa3b4b2ce3cc507bb8d58c498b0796b8386252cd1b62ec51199f96d8c95326f5aacfa49d6f99b455db50d0e235935ea1c3a43e279678c14ba6c0e62c99f40a5d4bbcc21b931afbc20c23e0c250d2e21b26d5bcb3c4d913265d21b5c417cc9874d09c49bfd857c358e1b931530ba0b6c4ff510da3224345239b8b74bee6657a989bbd62bc1de4dee7108b65f2b1cfadd22ccdd69bcde7d73eb7dd9dec92d376bb7db6cf9d77924e02b1dde72e2e4d5c1d9c7bddbdc9a3db2bd4d74ff3e8176bbe856206c5dc1d947c5fcc3d0c47a3e16331f7349e4c26cfc55cadeebade7f7d3988f2df9fa57f7da120b4</data> | 1217 | <data format="XPM.GZ" length="1220">789c5dd35f53e2301000f0773e4507de981ba4a5443a37f7a028fe41101514bcb987344d0515a8b4a0e0dc77bfee6e36d0dbe121bf4d48361b38aa3ae341cfa91e95d24c6633e5a8a95c39d5683d9f6f7ffff9f55d2abbc2c93fcd63c72dff28956b8e72facb8586f1733eae042a080205f480d2974de903eb4825a5c4d927434d9c30435c3c26861ed105863ef31118692584043e18cae306700ad43af27c9cbd00c622120d2cf8c350d65bc02b66230056984d0f786ea83d9c7d67fab89562d2b92ba2f6e8bb4343d10a81236680579086927a1532a957d7c898b7fa32146e1db865d28d7acc26def7de50b6b0aa3b4b2ce3cc507bb8d58c498b0796b8386252cd1b62ec51199f96d8c95326f5aacfa49d6f99b455db50d0e235935ea1c3a43e279678c14ba6c0e62c99f40a5d4bbcc21b931afbc20c23e0c250d2e21b26d5bcb3c4d913265d21b5c417cc9874d09c49bfd857c358e1b931530ba0b6c4ff510da3224345239b8b74bee6657a989bbd62bc1de4dee7108b65f2b1cfadd22ccdd69bcde7d73eb7dd9dec92d376bb7db6cf9d77924e02b1dde72e2e4d5c1d9c7bddbdc9a3db2bd4d74ff3e8176bbe856206c5dc1d947c5fcc3d0c47a3e16331f7349e4c26cfc55cadeebade7f7d3988f2df9fa57f7da120b4</data> |
1282 | </image> | 1218 | </image> |
1283 | </images> | 1219 | </images> |
1284 | <connections> | 1220 | <connections> |
1285 | <connection> | 1221 | <connection> |
1286 | <sender>CalibrateLightSensor</sender> | 1222 | <sender>CalibrateLightSensor</sender> |
1287 | <signal>clicked()</signal> | 1223 | <signal>clicked()</signal> |
1288 | <receiver>LightSettingsBase</receiver> | 1224 | <receiver>LightSettingsBase</receiver> |
1289 | <slot>calibrateSensor()</slot> | 1225 | <slot>calibrateSensor()</slot> |
1290 | </connection> | 1226 | </connection> |
1291 | <connection> | 1227 | <connection> |
1292 | <sender>CalibrateLightSensor_ac</sender> | 1228 | <sender>CalibrateLightSensor_ac</sender> |
1293 | <signal>clicked()</signal> | 1229 | <signal>clicked()</signal> |
1294 | <receiver>LightSettingsBase</receiver> | 1230 | <receiver>LightSettingsBase</receiver> |
1295 | <slot>calibrateSensorAC()</slot> | 1231 | <slot>calibrateSensorAC()</slot> |
1296 | </connection> | 1232 | </connection> |
1297 | <slot access="public">calibrateSensor()</slot> | 1233 | <slot access="public">calibrateSensor()</slot> |
1298 | <slot access="public">calibrateSensorAC()</slot> | 1234 | <slot access="public">calibrateSensorAC()</slot> |
1299 | </connections> | 1235 | </connections> |
1300 | <tabstops> | 1236 | <tabstops> |
1301 | <tabstop>interval_dim</tabstop> | 1237 | <tabstop>interval_dim</tabstop> |
1302 | <tabstop>interval_lightoff</tabstop> | 1238 | <tabstop>interval_lightoff</tabstop> |
1303 | <tabstop>interval_suspend</tabstop> | 1239 | <tabstop>interval_suspend</tabstop> |
1304 | <tabstop>LcdOffOnly</tabstop> | 1240 | <tabstop>LcdOffOnly</tabstop> |
1305 | <tabstop>brightness</tabstop> | 1241 | <tabstop>brightness</tabstop> |
1306 | <tabstop>auto_brightness</tabstop> | 1242 | <tabstop>auto_brightness</tabstop> |
1307 | <tabstop>CalibrateLightSensor</tabstop> | 1243 | <tabstop>CalibrateLightSensor</tabstop> |
1308 | <tabstop>tabs</tabstop> | 1244 | <tabstop>tabs</tabstop> |
1309 | <tabstop>interval_lightoff_ac</tabstop> | 1245 | <tabstop>interval_lightoff_ac</tabstop> |
1310 | <tabstop>interval_suspend_ac</tabstop> | 1246 | <tabstop>interval_suspend_ac</tabstop> |
1311 | <tabstop>interval_dim_ac</tabstop> | 1247 | <tabstop>interval_dim_ac</tabstop> |
1312 | <tabstop>LcdOffOnly_ac</tabstop> | 1248 | <tabstop>LcdOffOnly_ac</tabstop> |
1313 | <tabstop>brightness_ac</tabstop> | 1249 | <tabstop>brightness_ac</tabstop> |
1314 | <tabstop>auto_brightness_ac</tabstop> | 1250 | <tabstop>auto_brightness_ac</tabstop> |
1315 | <tabstop>CalibrateLightSensor_ac</tabstop> | 1251 | <tabstop>CalibrateLightSensor_ac</tabstop> |
1316 | <tabstop>lowSpinBox</tabstop> | 1252 | <tabstop>lowSpinBox</tabstop> |
1317 | <tabstop>warnintervalBox</tabstop> | 1253 | <tabstop>warnintervalBox</tabstop> |
1318 | <tabstop>criticalSpinBox</tabstop> | 1254 | <tabstop>criticalSpinBox</tabstop> |
1319 | </tabstops> | 1255 | </tabstops> |
1320 | </UI> | 1256 | </UI> |