author | harlekin <harlekin> | 2002-10-27 16:24:16 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-27 16:24:16 (UTC) |
commit | 417d7bd0d307921b4540e99b8f52d10a03729153 (patch) (unidiff) | |
tree | 25d2ccf03282fc494c8a9e17ace70ad52b990a70 | |
parent | 1d1fdae1ff88ed6f1e331cbbab59fc978c04b370 (diff) | |
download | opie-417d7bd0d307921b4540e99b8f52d10a03729153.zip opie-417d7bd0d307921b4540e99b8f52d10a03729153.tar.gz opie-417d7bd0d307921b4540e99b8f52d10a03729153.tar.bz2 |
next try for light and power gui
-rw-r--r-- | core/settings/light-and-power/light.cpp | 107 | ||||
-rw-r--r-- | core/settings/light-and-power/lightsettingsbase.ui | 682 |
2 files changed, 291 insertions, 498 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index 04d2249..97120f2 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp | |||
@@ -1,271 +1,288 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | // redone by Maximilian Reiss <harlekin@handhelds.org> | 21 | // redone by Maximilian Reiss <harlekin@handhelds.org> |
22 | 22 | ||
23 | #include "settings.h" | 23 | #include "settings.h" |
24 | 24 | ||
25 | #include <qpe/global.h> | 25 | #include <qpe/global.h> |
26 | #include <qpe/fontmanager.h> | 26 | #include <qpe/fontmanager.h> |
27 | #include <qpe/config.h> | 27 | #include <qpe/config.h> |
28 | #include <qpe/applnk.h> | 28 | #include <qpe/applnk.h> |
29 | #include <qpe/qpeapplication.h> | 29 | #include <qpe/qpeapplication.h> |
30 | #include <qpe/power.h> | 30 | #include <qpe/power.h> |
31 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 31 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) |
32 | #include <qpe/qcopenvelope_qws.h> | 32 | #include <qpe/qcopenvelope_qws.h> |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #include <qlabel.h> | 35 | #include <qlabel.h> |
36 | #include <qcheckbox.h> | 36 | #include <qcheckbox.h> |
37 | #include <qradiobutton.h> | 37 | #include <qradiobutton.h> |
38 | #include <qtabwidget.h> | 38 | #include <qtabwidget.h> |
39 | #include <qslider.h> | 39 | #include <qslider.h> |
40 | #include <qfile.h> | 40 | #include <qfile.h> |
41 | #include <qtextstream.h> | 41 | #include <qtextstream.h> |
42 | #include <qdatastream.h> | 42 | #include <qdatastream.h> |
43 | #include <qmessagebox.h> | 43 | #include <qmessagebox.h> |
44 | #include <qcombobox.h> | 44 | #include <qcombobox.h> |
45 | #include <qgroupbox.h> | 45 | #include <qgroupbox.h> |
46 | #include <qspinbox.h> | 46 | #include <qspinbox.h> |
47 | #include <qpushbutton.h> | ||
47 | #include <qlistbox.h> | 48 | #include <qlistbox.h> |
48 | #include <qdir.h> | 49 | #include <qdir.h> |
49 | #if QT_VERSION >= 300 | 50 | #if QT_VERSION >= 300 |
50 | #include <qstylefactory.h> | 51 | #include <qstylefactory.h> |
51 | #endif | 52 | #endif |
52 | 53 | ||
53 | #include <opie/odevice.h> | 54 | #include <opie/odevice.h> |
54 | 55 | ||
55 | using namespace Opie; | 56 | using namespace Opie; |
56 | 57 | ||
57 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags fl ) | 58 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags fl ) |
58 | : LightSettingsBase( parent, name, TRUE, fl ) | 59 | : LightSettingsBase( parent, name, TRUE, fl ) |
59 | { | 60 | { |
60 | 61 | ||
61 | if ( ODevice::inst()->model() == Model_iPAQ_H31xx || | 62 | if ( ODevice::inst()->hasLightSensor() ) { |
62 | ODevice::inst()->model() == Model_iPAQ_H36xx || | ||
63 | ODevice::inst()->model() == Model_iPAQ_H37xx || | ||
64 | ODevice::inst()->model() == Model_iPAQ_H38xx ) { | ||
65 | // Not supported yet - hide until implemented | 63 | // Not supported yet - hide until implemented |
66 | IpaqGroupBox->setEnabled( false ); | 64 | auto_brightness->setEnabled( false ); |
67 | IpaqGroupBoxAC->setEnabled( false ); | 65 | CalibrateLightSensor->setEnabled( false ); |
68 | LightSensorGroupBox->setEnabled( false ); | 66 | auto_brightness_ac_3->setEnabled( false ); |
67 | CalibrateLightSensorAC->setEnabled( false ); | ||
69 | } else { | 68 | } else { |
70 | // if ipaq no need to show the sensor box | 69 | // if ipaq no need to show the sensor box |
71 | IpaqGroupBox->hide(); | 70 | auto_brightness->hide(); |
72 | IpaqGroupBoxAC->hide(); | 71 | CalibrateLightSensor->hide(); |
73 | LightSensorGroupBox->hide(); | 72 | auto_brightness_ac_3->hide(); |
73 | CalibrateLightSensorAC->hide(); | ||
74 | } | 74 | } |
75 | 75 | ||
76 | Config config( "qpe" ); | 76 | Config config( "qpe" ); |
77 | config.setGroup( "Screensaver" ); | 77 | config.setGroup( "Screensaver" ); |
78 | 78 | ||
79 | int interval; | 79 | int interval; |
80 | 80 | ||
81 | // battery spinboxes | 81 | // battery spinboxes |
82 | interval = config.readNumEntry( "Interval_Dim", 20 ); | 82 | interval = config.readNumEntry( "Interval_Dim", 20 ); |
83 | interval_dim->setValue( interval ); | 83 | if ( config.readNumEntry("Dim",1) == 0 ) { |
84 | interval_dim->setSpecialValueText( tr("never") ); | ||
85 | } else { | ||
86 | interval_dim->setValue( interval ); | ||
87 | } | ||
88 | |||
84 | interval = config.readNumEntry( "Interval_LightOff", 30 ); | 89 | interval = config.readNumEntry( "Interval_LightOff", 30 ); |
85 | interval_lightoff->setValue( interval ); | 90 | if ( config.readNumEntry("LightOff",1) == 0 ) { |
91 | interval_lightoff->setSpecialValueText( tr("never") ); | ||
92 | } else { | ||
93 | interval_lightoff->setValue( interval ); | ||
94 | } | ||
95 | |||
86 | interval = config.readNumEntry( "Interval", 60 ); | 96 | interval = config.readNumEntry( "Interval", 60 ); |
87 | if ( interval > 3600 ) interval /= 1000; // compatibility (was millisecs) | 97 | if ( interval > 3600 ) interval /= 1000; // compatibility (was millisecs) |
88 | interval_suspend->setValue( interval ); | 98 | interval_suspend->setValue( interval ); |
89 | 99 | ||
90 | // ac spinboxes | 100 | // ac spinboxes |
91 | interval = config.readNumEntry( "Interval_DimAC", 20 ); | 101 | interval = config.readNumEntry( "Interval_DimAC", 20 ); |
102 | if ( config.readNumEntry("DimAC",1) == 0 ) { | ||
103 | interval_dim_ac_3->setSpecialValueText( tr("never") ); | ||
104 | } else { | ||
92 | interval_dim_ac_3->setValue( interval ); | 105 | interval_dim_ac_3->setValue( interval ); |
106 | } | ||
107 | |||
93 | interval = config.readNumEntry( "Interval_LightOffAC", 30 ); | 108 | interval = config.readNumEntry( "Interval_LightOffAC", 30 ); |
94 | interval_lightoff_ac_3->setValue( interval ); | 109 | if ( config.readNumEntry("LightOffAC",1) == 0 ) { |
110 | interval_lightoff_ac_3->setSpecialValueText( tr("never") ); | ||
111 | } else { | ||
112 | interval_lightoff_ac_3->setValue( interval ); | ||
113 | } | ||
114 | |||
95 | interval = config.readNumEntry( "IntervalAC", 60 ); | 115 | interval = config.readNumEntry( "IntervalAC", 60 ); |
96 | if ( interval > 3600 ) { | 116 | if ( interval > 3600 ) { |
97 | interval /= 1000; // compatibility (was millisecs) | 117 | interval /= 1000; // compatibility (was millisecs) |
98 | } | 118 | } |
99 | interval_suspend_ac_3->setValue( interval ); | 119 | if ( config.readNumEntry("NoApmAC", 0) == 0 ) { |
120 | interval_suspend_ac_3->setSpecialValueText( tr("never") ); | ||
121 | } else { | ||
122 | interval_suspend_ac_3->setValue( interval ); | ||
123 | } | ||
100 | 124 | ||
101 | 125 | ||
102 | // battery check and slider | 126 | // battery check and slider |
103 | screensaver_dim->setChecked( config.readNumEntry("Dim",1) != 0 ); | 127 | |
104 | screensaver_lightoff->setChecked( config.readNumEntry("LightOff",1) != 0 ); | 128 | |
129 | |||
130 | |||
105 | LcdOffOnly->setChecked( config.readNumEntry("LcdOffOnly",0) != 0 ); | 131 | LcdOffOnly->setChecked( config.readNumEntry("LcdOffOnly",0) != 0 ); |
106 | int maxbright = ODevice::inst ( )-> displayBrightnessResolution ( ); | 132 | int maxbright = ODevice::inst ( )-> displayBrightnessResolution ( ); |
107 | initbright = config.readNumEntry("Brightness",255); | 133 | initbright = config.readNumEntry("Brightness",255); |
108 | brightness->setMaxValue( maxbright ); | 134 | brightness->setMaxValue( maxbright ); |
109 | brightness->setTickInterval( QMAX(1,maxbright/16) ); | 135 | brightness->setTickInterval( QMAX(1,maxbright/16) ); |
110 | brightness->setLineStep( QMAX(1,maxbright/16) ); | 136 | brightness->setLineStep( QMAX(1,maxbright/16) ); |
111 | brightness->setPageStep( QMAX(1,maxbright/16) ); | 137 | brightness->setPageStep( QMAX(1,maxbright/16) ); |
112 | brightness->setValue( (maxbright*255 - initbright*maxbright)/255 ); | 138 | brightness->setValue( (maxbright*255 - initbright*maxbright)/255 ); |
113 | 139 | ||
114 | // ac check and slider | 140 | // ac check and slider |
115 | screensaver_dim_ac_3->setChecked( config.readNumEntry("DimAC",1) != 0 ); | ||
116 | screensaver_lightoff_ac_3->setChecked( config.readNumEntry("LightOffAC",1) != 0 ); | ||
117 | LcdOffOnly_2_3->setChecked( config.readNumEntry("LcdOffOnlyAC",0) != 0 ); | 141 | LcdOffOnly_2_3->setChecked( config.readNumEntry("LcdOffOnlyAC",0) != 0 ); |
118 | noApmAC->setChecked( config.readNumEntry("NoApmAC",0) != 0 ); | ||
119 | int maxbright_ac = ODevice::inst ( )-> displayBrightnessResolution ( ); | 142 | int maxbright_ac = ODevice::inst ( )-> displayBrightnessResolution ( ); |
120 | initbright_ac = config.readNumEntry("BrightnessAC",255); | 143 | initbright_ac = config.readNumEntry("BrightnessAC",255); |
121 | brightness_ac_3->setMaxValue( maxbright_ac ); | 144 | brightness_ac_3->setMaxValue( maxbright_ac ); |
122 | brightness_ac_3->setTickInterval( QMAX(1,maxbright_ac/16) ); | 145 | brightness_ac_3->setTickInterval( QMAX(1,maxbright_ac/16) ); |
123 | brightness_ac_3->setLineStep( QMAX(1,maxbright_ac/16) ); | 146 | brightness_ac_3->setLineStep( QMAX(1,maxbright_ac/16) ); |
124 | brightness_ac_3->setPageStep( QMAX(1,maxbright_ac/16) ); | 147 | brightness_ac_3->setPageStep( QMAX(1,maxbright_ac/16) ); |
125 | brightness_ac_3->setValue( (maxbright_ac*255 - initbright_ac*maxbright_ac)/255 ); | 148 | brightness_ac_3->setValue( (maxbright_ac*255 - initbright_ac*maxbright_ac)/255 ); |
126 | 149 | ||
127 | 150 | ||
128 | // ipaq sensor | 151 | // ipaq sensor |
129 | config.setGroup( "Ipaqlightsensor" ); | 152 | config.setGroup( "Ipaqlightsensor" ); |
130 | auto_brightness->setChecked( config.readNumEntry("LightSensor",1) != 0 ); | 153 | auto_brightness->setChecked( config.readNumEntry("LightSensor",1) != 0 ); |
131 | auto_brightness_ac_3->setChecked( config.readNumEntry("LightSensorAC",1) != 0 ); | 154 | auto_brightness_ac_3->setChecked( config.readNumEntry("LightSensorAC",1) != 0 ); |
132 | LightStepSpin->setValue( config.readNumEntry("Steps", 10 ) ); | 155 | //LightStepSpin->setValue( config.readNumEntry("Steps", 10 ) ); |
133 | LightMinValueSlider->setValue( config.readNumEntry("MinValue", 70 ) ); | 156 | //LightMinValueSlider->setValue( config.readNumEntry("MinValue", 70 ) ); |
134 | connect( LightStepSpin, SIGNAL( valueChanged( int ) ), this, SLOT( slotSliderTicks( int ) ) ) ; | 157 | //connect( LightStepSpin, SIGNAL( valueChanged( int ) ), this, SLOT( slotSliderTicks( int ) ) ) ; |
135 | LightShiftSpin->setValue( config.readNumEntry("Shift", 0 ) ); | 158 | //LightShiftSpin->setValue( config.readNumEntry("Shift", 0 ) ); |
136 | 159 | ||
137 | // advanced settings | 160 | // advanced settings |
138 | Config conf("apm"); | 161 | Config conf("apm"); |
139 | conf.setGroup( "warnings" ); | 162 | conf.setGroup( "warnings" ); |
140 | warnintervalBox->setValue( conf.readNumEntry("checkinterval", 10000)/1000 ); | 163 | warnintervalBox->setValue( conf.readNumEntry("checkinterval", 10000)/1000 ); |
141 | lowSpinBox->setValue( conf.readNumEntry("powerverylow", 10 ) ); | 164 | lowSpinBox->setValue( conf.readNumEntry("powerverylow", 10 ) ); |
142 | criticalSpinBox->setValue( conf.readNumEntry("powercritical", 5 ) ); | 165 | criticalSpinBox->setValue( conf.readNumEntry("powercritical", 5 ) ); |
143 | 166 | ||
144 | |||
145 | |||
146 | connect( brightness, SIGNAL( valueChanged(int) ), this, SLOT( applyBrightness() ) ); | 167 | connect( brightness, SIGNAL( valueChanged(int) ), this, SLOT( applyBrightness() ) ); |
147 | connect( brightness_ac_3, SIGNAL( valueChanged(int) ), this, SLOT( applyBrightnessAC() ) ); | 168 | connect( brightness_ac_3, SIGNAL( valueChanged(int) ), this, SLOT( applyBrightnessAC() ) ); |
148 | } | 169 | } |
149 | 170 | ||
150 | LightSettings::~LightSettings() | 171 | LightSettings::~LightSettings() |
151 | { | 172 | { |
152 | } | 173 | } |
153 | 174 | ||
154 | void LightSettings::slotSliderTicks( int steps ) { | 175 | void LightSettings::slotSliderTicks( int steps ) { |
155 | LightMinValueSlider->setTickInterval( steps ); | 176 | // LightMinValueSlider->setTickInterval( steps ); |
156 | } | 177 | } |
157 | 178 | ||
158 | static void set_fl(int bright) | 179 | static void set_fl(int bright) |
159 | { | 180 | { |
160 | qDebug ( QString( "Brightness" ).arg( bright ) ); | 181 | qDebug ( QString( "Brightness" ).arg( bright ) ); |
161 | QCopEnvelope e("QPE/System", "setBacklight(int)" ); | 182 | QCopEnvelope e("QPE/System", "setBacklight(int)" ); |
162 | e << bright; | 183 | e << bright; |
163 | } | 184 | } |
164 | 185 | ||
165 | void LightSettings::reject() | 186 | void LightSettings::reject() |
166 | { | 187 | { |
167 | set_fl(initbright); | 188 | set_fl(initbright); |
168 | 189 | ||
169 | QDialog::reject(); | 190 | QDialog::reject(); |
170 | } | 191 | } |
171 | 192 | ||
172 | void LightSettings::accept() | 193 | void LightSettings::accept() |
173 | { | 194 | { |
174 | if ( qApp->focusWidget() ) | 195 | if ( qApp->focusWidget() ) { |
175 | qApp->focusWidget()->clearFocus(); | 196 | qApp->focusWidget()->clearFocus(); |
197 | } | ||
176 | 198 | ||
177 | applyBrightness(); | 199 | applyBrightness(); |
178 | 200 | ||
179 | // bat | 201 | // bat |
180 | int i_dim = (screensaver_dim->isChecked() ? interval_dim->value() : 0); | 202 | int i_dim = ( !( interval_dim->specialValueText() == tr("never") ) ? interval_dim->value() : 0); |
181 | int i_lightoff = (screensaver_lightoff->isChecked() ? interval_lightoff->value() : 0); | 203 | int i_lightoff = ( !( interval_lightoff->specialValueText() == tr("never") ) ? interval_lightoff->value() : 0); |
182 | int i_suspend = interval_suspend->value(); | 204 | int i_suspend = interval_suspend->value(); |
183 | QCopEnvelope e("QPE/System", "setScreenSaverIntervals(int,int,int)" ); | 205 | QCopEnvelope e("QPE/System", "setScreenSaverIntervals(int,int,int)" ); |
184 | e << i_dim << i_lightoff << i_suspend; | 206 | e << i_dim << i_lightoff << i_suspend; |
185 | 207 | ||
186 | // ac | 208 | // ac |
187 | int i_dim_ac = (screensaver_dim_ac_3->isChecked() ? interval_dim_ac_3->value() : 0); | 209 | int i_dim_ac = ( !( interval_dim_ac_3->specialValueText() == tr("never") ) ? interval_dim_ac_3->value() : 0); |
188 | int i_lightoff_ac = (screensaver_lightoff_ac_3->isChecked() ? interval_lightoff_ac_3->value() : 0); | 210 | int i_lightoff_ac = ( !( interval_lightoff_ac_3->specialValueText() == tr("never") ) ? interval_lightoff_ac_3->value() : 0); |
189 | int i_suspend_ac = interval_suspend_ac_3->value(); | 211 | int i_suspend_ac = interval_suspend_ac_3->value(); |
190 | QCopEnvelope e_ac("QPE/System", "setScreenSaverIntervalsAC(int,int,int)" ); | 212 | QCopEnvelope e_ac("QPE/System", "setScreenSaverIntervalsAC(int,int,int)" ); |
191 | e << i_dim_ac << i_lightoff_ac << i_suspend_ac; | 213 | e << i_dim_ac << i_lightoff_ac << i_suspend_ac; |
192 | 214 | ||
193 | Config config( "qpe" ); | 215 | Config config( "qpe" ); |
194 | config.setGroup( "Screensaver" ); | 216 | config.setGroup( "Screensaver" ); |
195 | 217 | ||
196 | // bat | 218 | // bat |
197 | config.writeEntry( "Dim", (int)screensaver_dim->isChecked() ); | 219 | config.writeEntry( "Dim", interval_dim->specialValueText() == tr("never") ); |
198 | config.writeEntry( "LightOff", (int)screensaver_lightoff->isChecked() ); | 220 | config.writeEntry( "LightOff", interval_lightoff->specialValueText() == tr("never") ); |
199 | config.writeEntry( "LcdOffOnly", (int)LcdOffOnly->isChecked() ); | 221 | config.writeEntry( "LcdOffOnly", (int)LcdOffOnly->isChecked() ); |
200 | config.writeEntry( "Interval_Dim", interval_dim->value() ); | 222 | config.writeEntry( "Interval_Dim", interval_dim->value() ); |
201 | config.writeEntry( "Interval_LightOff", interval_lightoff->value() ); | 223 | config.writeEntry( "Interval_LightOff", interval_lightoff->value() ); |
202 | config.writeEntry( "Interval", interval_suspend->value() ); | 224 | config.writeEntry( "Interval", interval_suspend->value() ); |
203 | config.writeEntry( "Brightness", | 225 | config.writeEntry( "Brightness", |
204 | ( brightness->value() ) * 255 / brightness->maxValue() ); | 226 | ( brightness->value() ) * 255 / brightness->maxValue() ); |
205 | 227 | ||
206 | // ac | 228 | // ac |
207 | config.writeEntry( "DimAC", (int)screensaver_dim_ac_3->isChecked() ); | 229 | config.writeEntry( "DimAC", interval_dim_ac_3->specialValueText() == tr("never") ); |
208 | config.writeEntry( "LightOffAC", (int)screensaver_lightoff_ac_3->isChecked() ); | 230 | config.writeEntry( "LightOffAC", interval_lightoff_ac_3->specialValueText() == tr("never") ); |
209 | config.writeEntry( "LcdOffOnlyAC", (int)LcdOffOnly_2_3->isChecked() ); | 231 | config.writeEntry( "LcdOffOnlyAC", (int)LcdOffOnly_2_3->isChecked() ); |
210 | config.writeEntry( "NoAPmAC", (int)noApmAC->isChecked() ); | 232 | config.writeEntry( "NoAPmAC", interval_suspend_ac_3->specialValueText() == tr("never") ); |
211 | config.writeEntry( "Interval_DimAC", interval_dim_ac_3->value() ); | 233 | config.writeEntry( "Interval_DimAC", interval_dim_ac_3->value() ); |
212 | config.writeEntry( "Interval_LightOffAC", interval_lightoff_ac_3->value() ); | 234 | config.writeEntry( "Interval_LightOffAC", interval_lightoff_ac_3->value() ); |
213 | config.writeEntry( "IntervalAC", interval_suspend_ac_3->value() ); | 235 | config.writeEntry( "IntervalAC", interval_suspend_ac_3->value() ); |
214 | config.writeEntry( "BrightnessAC", | 236 | config.writeEntry( "BrightnessAC", |
215 | ( brightness_ac_3->value()) * 255 / brightness_ac_3->maxValue() ); | 237 | ( brightness_ac_3->value()) * 255 / brightness_ac_3->maxValue() ); |
216 | 238 | ||
217 | 239 | ||
218 | // only make ipaq light sensor entries in config file if on an ipaq | 240 | // only make ipaq light sensor entries in config file if on an ipaq |
219 | if ( ODevice::inst()->model() == Model_iPAQ_H31xx || | 241 | if ( ODevice::inst()->hasLightSensor() ) { |
220 | ODevice::inst()->model() == Model_iPAQ_H36xx || | ||
221 | ODevice::inst()->model() == Model_iPAQ_H37xx || | ||
222 | ODevice::inst()->model() == Model_iPAQ_H38xx ) { | ||
223 | |||
224 | // ipaq sensor | 242 | // ipaq sensor |
225 | config.setGroup( "Ipaqlightsensor" ); | 243 | config.setGroup( "Ipaqlightsensor" ); |
226 | |||
227 | config.writeEntry( "LightSensor", (int)auto_brightness->isChecked() ); | 244 | config.writeEntry( "LightSensor", (int)auto_brightness->isChecked() ); |
228 | config.writeEntry( "LightSensorAC", (int)auto_brightness_ac_3->isChecked() ); | 245 | config.writeEntry( "LightSensorAC", (int)auto_brightness_ac_3->isChecked() ); |
229 | config.writeEntry( "Steps", LightStepSpin->value() ); | 246 | //config.writeEntry( "Steps", LightStepSpin->value() ); |
230 | config.writeEntry( "MinValue", LightMinValueSlider->value() ); | 247 | //onfig.writeEntry( "MinValue", LightMinValueSlider->value() ); |
231 | config.writeEntry( "Shift", LightShiftSpin->value() ); | 248 | //config.writeEntry( "Shift", LightShiftSpin->value() ); |
232 | } | 249 | } |
233 | 250 | ||
234 | config.write(); | 251 | config.write(); |
235 | 252 | ||
236 | // advanced | 253 | // advanced |
237 | Config conf("apm"); | 254 | Config conf("apm"); |
238 | conf.setGroup( "Warnings" ); | 255 | conf.setGroup( "Warnings" ); |
239 | conf.writeEntry( "check_interval", warnintervalBox->value()*1000 ); | 256 | conf.writeEntry( "check_interval", warnintervalBox->value()*1000 ); |
240 | conf.writeEntry( "power_verylow", lowSpinBox->value() ); | 257 | conf.writeEntry( "power_verylow", lowSpinBox->value() ); |
241 | conf.writeEntry( "power_critical", criticalSpinBox->value() ); | 258 | conf.writeEntry( "power_critical", criticalSpinBox->value() ); |
242 | QCopEnvelope e_warn("QPE/System", "reloadPowerWarnSettings()"); | 259 | QCopEnvelope e_warn("QPE/System", "reloadPowerWarnSettings()"); |
243 | conf.write(); | 260 | conf.write(); |
244 | 261 | ||
245 | QDialog::accept(); | 262 | QDialog::accept(); |
246 | } | 263 | } |
247 | 264 | ||
248 | void LightSettings::applyBrightness() | 265 | void LightSettings::applyBrightness() |
249 | { | 266 | { |
250 | if ( PowerStatusManager::readStatus().acStatus() != PowerStatus::Online ) { | 267 | if ( PowerStatusManager::readStatus().acStatus() != PowerStatus::Online ) { |
251 | int bright = ( brightness->value() ) * 255 / brightness->maxValue(); | 268 | int bright = ( brightness->value() ) * 255 / brightness->maxValue(); |
252 | set_fl(bright); | 269 | set_fl(bright); |
253 | } | 270 | } |
254 | } | 271 | } |
255 | 272 | ||
256 | void LightSettings::applyBrightnessAC() | 273 | void LightSettings::applyBrightnessAC() |
257 | { | 274 | { |
258 | // if ac is attached, set directly that sliders setting, else the "on battery" sliders setting | 275 | // if ac is attached, set directly that sliders setting, else the "on battery" sliders setting |
259 | if ( PowerStatusManager::readStatus().acStatus() == PowerStatus::Online ) { | 276 | if ( PowerStatusManager::readStatus().acStatus() == PowerStatus::Online ) { |
260 | int bright = ( brightness_ac_3->value() ) * 255 / brightness_ac_3->maxValue(); | 277 | int bright = ( brightness_ac_3->value() ) * 255 / brightness_ac_3->maxValue(); |
261 | set_fl(bright); | 278 | set_fl(bright); |
262 | } | 279 | } |
263 | } | 280 | } |
264 | 281 | ||
265 | 282 | ||
266 | 283 | ||
267 | void LightSettings::done(int r) | 284 | void LightSettings::done(int r) |
268 | { | 285 | { |
269 | QDialog::done(r); | 286 | QDialog::done(r); |
270 | close ( ); | 287 | close ( ); |
271 | } | 288 | } |
diff --git a/core/settings/light-and-power/lightsettingsbase.ui b/core/settings/light-and-power/lightsettingsbase.ui index 2d0457f..fee5c2c 100644 --- a/core/settings/light-and-power/lightsettingsbase.ui +++ b/core/settings/light-and-power/lightsettingsbase.ui | |||
@@ -1,1408 +1,1184 @@ | |||
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>411</width> | 14 | <width>403</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> | ||
20 | <sizepolicy> | ||
21 | <hsizetype>7</hsizetype> | ||
22 | <vsizetype>5</vsizetype> | ||
23 | </sizepolicy> | ||
24 | </property> | ||
25 | <property stdset="1"> | ||
19 | <name>caption</name> | 26 | <name>caption</name> |
20 | <string>Light and Power Settings</string> | 27 | <string>Light and Power Settings</string> |
21 | </property> | 28 | </property> |
22 | <property stdset="1"> | 29 | <property stdset="1"> |
23 | <name>sizeGripEnabled</name> | 30 | <name>sizeGripEnabled</name> |
24 | <bool>false</bool> | 31 | <bool>false</bool> |
25 | </property> | 32 | </property> |
26 | <property> | 33 | <property> |
27 | <name>layoutMargin</name> | 34 | <name>layoutMargin</name> |
28 | </property> | 35 | </property> |
29 | <property> | 36 | <property> |
30 | <name>layoutSpacing</name> | 37 | <name>layoutSpacing</name> |
31 | </property> | 38 | </property> |
32 | <vbox> | 39 | <vbox> |
33 | <property stdset="1"> | 40 | <property stdset="1"> |
34 | <name>margin</name> | 41 | <name>margin</name> |
35 | <number>3</number> | 42 | <number>3</number> |
36 | </property> | 43 | </property> |
37 | <property stdset="1"> | 44 | <property stdset="1"> |
38 | <name>spacing</name> | 45 | <name>spacing</name> |
39 | <number>3</number> | 46 | <number>3</number> |
40 | </property> | 47 | </property> |
41 | <widget> | 48 | <widget> |
42 | <class>QTabWidget</class> | 49 | <class>QTabWidget</class> |
43 | <property stdset="1"> | 50 | <property stdset="1"> |
44 | <name>name</name> | 51 | <name>name</name> |
45 | <cstring>TabWidget3</cstring> | 52 | <cstring>TabWidget3</cstring> |
46 | </property> | 53 | </property> |
47 | <property> | 54 | <property> |
48 | <name>layoutMargin</name> | 55 | <name>layoutMargin</name> |
49 | </property> | 56 | </property> |
50 | <property> | 57 | <property> |
51 | <name>layoutSpacing</name> | 58 | <name>layoutSpacing</name> |
52 | </property> | 59 | </property> |
53 | <widget> | 60 | <widget> |
54 | <class>QWidget</class> | 61 | <class>QWidget</class> |
55 | <property stdset="1"> | 62 | <property stdset="1"> |
56 | <name>name</name> | 63 | <name>name</name> |
57 | <cstring>tab</cstring> | 64 | <cstring>tab</cstring> |
58 | </property> | 65 | </property> |
59 | <attribute> | 66 | <attribute> |
60 | <name>title</name> | 67 | <name>title</name> |
61 | <string>on Battery</string> | 68 | <string>on Battery</string> |
62 | </attribute> | 69 | </attribute> |
63 | <vbox> | 70 | <vbox> |
64 | <property stdset="1"> | 71 | <property stdset="1"> |
65 | <name>margin</name> | 72 | <name>margin</name> |
66 | <number>3</number> | 73 | <number>3</number> |
67 | </property> | 74 | </property> |
68 | <property stdset="1"> | 75 | <property stdset="1"> |
69 | <name>spacing</name> | 76 | <name>spacing</name> |
70 | <number>3</number> | 77 | <number>3</number> |
71 | </property> | 78 | </property> |
72 | <widget> | 79 | <widget> |
73 | <class>QGroupBox</class> | 80 | <class>QGroupBox</class> |
74 | <property stdset="1"> | 81 | <property stdset="1"> |
75 | <name>name</name> | 82 | <name>name</name> |
76 | <cstring>GroupBox3</cstring> | 83 | <cstring>GroupBox3</cstring> |
77 | </property> | 84 | </property> |
78 | <property stdset="1"> | 85 | <property stdset="1"> |
79 | <name>enabled</name> | 86 | <name>enabled</name> |
80 | <bool>true</bool> | 87 | <bool>true</bool> |
81 | </property> | 88 | </property> |
82 | <property stdset="1"> | 89 | <property stdset="1"> |
83 | <name>title</name> | 90 | <name>title</name> |
84 | <string>General Settings</string> | 91 | <string>General Settings</string> |
85 | </property> | 92 | </property> |
86 | <property> | 93 | <property> |
87 | <name>layoutMargin</name> | 94 | <name>layoutMargin</name> |
88 | </property> | 95 | </property> |
89 | <property> | 96 | <property> |
90 | <name>layoutSpacing</name> | 97 | <name>layoutSpacing</name> |
91 | </property> | 98 | </property> |
92 | <vbox> | 99 | <vbox> |
93 | <property stdset="1"> | 100 | <property stdset="1"> |
94 | <name>margin</name> | 101 | <name>margin</name> |
95 | <number>3</number> | 102 | <number>3</number> |
96 | </property> | 103 | </property> |
97 | <property stdset="1"> | 104 | <property stdset="1"> |
98 | <name>spacing</name> | 105 | <name>spacing</name> |
99 | <number>3</number> | 106 | <number>3</number> |
100 | </property> | 107 | </property> |
101 | <widget> | 108 | <widget> |
102 | <class>QLayoutWidget</class> | 109 | <class>QLayoutWidget</class> |
103 | <property stdset="1"> | 110 | <property stdset="1"> |
104 | <name>name</name> | 111 | <name>name</name> |
105 | <cstring>Layout8</cstring> | 112 | <cstring>Layout11</cstring> |
113 | </property> | ||
114 | <property> | ||
115 | <name>layoutMargin</name> | ||
116 | </property> | ||
117 | <property> | ||
118 | <name>layoutSpacing</name> | ||
106 | </property> | 119 | </property> |
107 | <grid> | 120 | <grid> |
108 | <property stdset="1"> | 121 | <property stdset="1"> |
109 | <name>margin</name> | 122 | <name>margin</name> |
110 | <number>0</number> | 123 | <number>3</number> |
111 | </property> | 124 | </property> |
112 | <property stdset="1"> | 125 | <property stdset="1"> |
113 | <name>spacing</name> | 126 | <name>spacing</name> |
114 | <number>6</number> | 127 | <number>3</number> |
115 | </property> | 128 | </property> |
116 | <widget row="0" column="1" > | 129 | <widget row="1" column="1" > |
117 | <class>QSpinBox</class> | 130 | <class>QSpinBox</class> |
118 | <property stdset="1"> | 131 | <property stdset="1"> |
119 | <name>name</name> | 132 | <name>name</name> |
120 | <cstring>interval_dim</cstring> | 133 | <cstring>interval_lightoff</cstring> |
121 | </property> | 134 | </property> |
122 | <property stdset="1"> | 135 | <property stdset="1"> |
123 | <name>suffix</name> | 136 | <name>suffix</name> |
124 | <string> seconds</string> | 137 | <string> sec</string> |
138 | </property> | ||
139 | <property stdset="1"> | ||
140 | <name>specialValueText</name> | ||
141 | <string>never</string> | ||
125 | </property> | 142 | </property> |
126 | <property stdset="1"> | 143 | <property stdset="1"> |
127 | <name>buttonSymbols</name> | 144 | <name>buttonSymbols</name> |
128 | <enum>PlusMinus</enum> | 145 | <enum>PlusMinus</enum> |
129 | </property> | 146 | </property> |
130 | <property stdset="1"> | 147 | <property stdset="1"> |
131 | <name>maxValue</name> | 148 | <name>maxValue</name> |
132 | <number>3600</number> | 149 | <number>3600</number> |
133 | </property> | 150 | </property> |
134 | <property stdset="1"> | 151 | <property stdset="1"> |
135 | <name>minValue</name> | 152 | <name>minValue</name> |
136 | <number>10</number> | 153 | <number>10</number> |
137 | </property> | 154 | </property> |
138 | <property stdset="1"> | 155 | <property stdset="1"> |
139 | <name>lineStep</name> | 156 | <name>lineStep</name> |
140 | <number>15</number> | 157 | <number>10</number> |
141 | </property> | 158 | </property> |
142 | </widget> | 159 | </widget> |
143 | <widget row="1" column="0" > | 160 | <widget row="1" column="0" > |
144 | <class>QCheckBox</class> | 161 | <class>QLabel</class> |
145 | <property stdset="1"> | 162 | <property stdset="1"> |
146 | <name>name</name> | 163 | <name>name</name> |
147 | <cstring>screensaver_lightoff</cstring> | 164 | <cstring>TextLabel2_2</cstring> |
165 | </property> | ||
166 | <property stdset="1"> | ||
167 | <name>text</name> | ||
168 | <string>Light off after</string> | ||
169 | </property> | ||
170 | </widget> | ||
171 | <widget row="0" column="0" > | ||
172 | <class>QLabel</class> | ||
173 | <property stdset="1"> | ||
174 | <name>name</name> | ||
175 | <cstring>TextLabel1_3</cstring> | ||
148 | </property> | 176 | </property> |
149 | <property stdset="1"> | 177 | <property stdset="1"> |
150 | <name>sizePolicy</name> | 178 | <name>sizePolicy</name> |
151 | <sizepolicy> | 179 | <sizepolicy> |
152 | <hsizetype>1</hsizetype> | 180 | <hsizetype>7</hsizetype> |
153 | <vsizetype>0</vsizetype> | 181 | <vsizetype>1</vsizetype> |
154 | </sizepolicy> | 182 | </sizepolicy> |
155 | </property> | 183 | </property> |
156 | <property stdset="1"> | 184 | <property stdset="1"> |
157 | <name>text</name> | 185 | <name>text</name> |
158 | <string>Light off after</string> | 186 | <string>Dim light after</string> |
159 | </property> | ||
160 | <property stdset="1"> | ||
161 | <name>checked</name> | ||
162 | <bool>true</bool> | ||
163 | </property> | 187 | </property> |
164 | </widget> | 188 | </widget> |
165 | <widget row="2" column="1" > | 189 | <widget row="0" column="1" > |
166 | <class>QSpinBox</class> | 190 | <class>QSpinBox</class> |
167 | <property stdset="1"> | 191 | <property stdset="1"> |
168 | <name>name</name> | 192 | <name>name</name> |
169 | <cstring>interval_suspend</cstring> | 193 | <cstring>interval_dim</cstring> |
170 | </property> | 194 | </property> |
171 | <property stdset="1"> | 195 | <property stdset="1"> |
172 | <name>suffix</name> | 196 | <name>suffix</name> |
173 | <string> seconds</string> | 197 | <string> sec</string> |
198 | </property> | ||
199 | <property stdset="1"> | ||
200 | <name>specialValueText</name> | ||
201 | <string>never</string> | ||
174 | </property> | 202 | </property> |
175 | <property stdset="1"> | 203 | <property stdset="1"> |
176 | <name>buttonSymbols</name> | 204 | <name>buttonSymbols</name> |
177 | <enum>PlusMinus</enum> | 205 | <enum>PlusMinus</enum> |
178 | </property> | 206 | </property> |
179 | <property stdset="1"> | 207 | <property stdset="1"> |
180 | <name>maxValue</name> | 208 | <name>maxValue</name> |
181 | <number>3600</number> | 209 | <number>3600</number> |
182 | </property> | 210 | </property> |
183 | <property stdset="1"> | 211 | <property stdset="1"> |
184 | <name>minValue</name> | 212 | <name>minValue</name> |
185 | <number>10</number> | 213 | <number>10</number> |
186 | </property> | 214 | </property> |
187 | <property stdset="1"> | 215 | <property stdset="1"> |
188 | <name>lineStep</name> | 216 | <name>lineStep</name> |
189 | <number>15</number> | 217 | <number>10</number> |
190 | </property> | 218 | </property> |
191 | </widget> | 219 | </widget> |
192 | <widget row="1" column="1" > | 220 | <widget row="2" column="1" > |
193 | <class>QSpinBox</class> | 221 | <class>QSpinBox</class> |
194 | <property stdset="1"> | 222 | <property stdset="1"> |
195 | <name>name</name> | 223 | <name>name</name> |
196 | <cstring>interval_lightoff</cstring> | 224 | <cstring>interval_suspend</cstring> |
197 | </property> | 225 | </property> |
198 | <property stdset="1"> | 226 | <property stdset="1"> |
199 | <name>suffix</name> | 227 | <name>suffix</name> |
200 | <string> seconds</string> | 228 | <string> sec</string> |
229 | </property> | ||
230 | <property stdset="1"> | ||
231 | <name>specialValueText</name> | ||
232 | <string>never</string> | ||
201 | </property> | 233 | </property> |
202 | <property stdset="1"> | 234 | <property stdset="1"> |
203 | <name>buttonSymbols</name> | 235 | <name>buttonSymbols</name> |
204 | <enum>PlusMinus</enum> | 236 | <enum>PlusMinus</enum> |
205 | </property> | 237 | </property> |
206 | <property stdset="1"> | 238 | <property stdset="1"> |
207 | <name>maxValue</name> | 239 | <name>maxValue</name> |
208 | <number>3600</number> | 240 | <number>3600</number> |
209 | </property> | 241 | </property> |
210 | <property stdset="1"> | 242 | <property stdset="1"> |
211 | <name>minValue</name> | 243 | <name>minValue</name> |
212 | <number>10</number> | 244 | <number>10</number> |
213 | </property> | 245 | </property> |
214 | <property stdset="1"> | 246 | <property stdset="1"> |
215 | <name>lineStep</name> | 247 | <name>lineStep</name> |
216 | <number>15</number> | 248 | <number>10</number> |
217 | </property> | ||
218 | </widget> | ||
219 | <widget row="0" column="0" > | ||
220 | <class>QCheckBox</class> | ||
221 | <property stdset="1"> | ||
222 | <name>name</name> | ||
223 | <cstring>screensaver_dim</cstring> | ||
224 | </property> | ||
225 | <property stdset="1"> | ||
226 | <name>sizePolicy</name> | ||
227 | <sizepolicy> | ||
228 | <hsizetype>1</hsizetype> | ||
229 | <vsizetype>0</vsizetype> | ||
230 | </sizepolicy> | ||
231 | </property> | ||
232 | <property stdset="1"> | ||
233 | <name>text</name> | ||
234 | <string>Dim light after</string> | ||
235 | </property> | ||
236 | <property stdset="1"> | ||
237 | <name>checked</name> | ||
238 | <bool>true</bool> | ||
239 | </property> | 249 | </property> |
240 | </widget> | 250 | </widget> |
241 | <widget row="2" column="0" > | 251 | <widget row="2" column="0" > |
242 | <class>QLabel</class> | 252 | <class>QLabel</class> |
243 | <property stdset="1"> | 253 | <property stdset="1"> |
244 | <name>name</name> | 254 | <name>name</name> |
245 | <cstring>TextLabel1_2</cstring> | 255 | <cstring>TextLabel1_2</cstring> |
246 | </property> | 256 | </property> |
247 | <property stdset="1"> | 257 | <property stdset="1"> |
248 | <name>text</name> | 258 | <name>text</name> |
249 | <string>Suspend after</string> | 259 | <string>Suspend after</string> |
250 | </property> | 260 | </property> |
251 | </widget> | 261 | </widget> |
252 | </grid> | 262 | </grid> |
253 | </widget> | 263 | </widget> |
254 | <widget> | 264 | <widget> |
255 | <class>QCheckBox</class> | 265 | <class>QCheckBox</class> |
256 | <property stdset="1"> | 266 | <property stdset="1"> |
257 | <name>name</name> | 267 | <name>name</name> |
258 | <cstring>LcdOffOnly</cstring> | 268 | <cstring>LcdOffOnly</cstring> |
259 | </property> | 269 | </property> |
260 | <property stdset="1"> | 270 | <property stdset="1"> |
261 | <name>text</name> | 271 | <name>text</name> |
262 | <string>Deactivate LCD only (does not suspend)</string> | 272 | <string>Deactivate LCD only (does not suspend)</string> |
263 | </property> | 273 | </property> |
264 | </widget> | 274 | </widget> |
265 | </vbox> | 275 | </vbox> |
266 | </widget> | 276 | </widget> |
267 | <widget> | 277 | <widget> |
268 | <class>QGroupBox</class> | 278 | <class>QGroupBox</class> |
269 | <property stdset="1"> | 279 | <property stdset="1"> |
270 | <name>name</name> | 280 | <name>name</name> |
271 | <cstring>GroupBox9</cstring> | 281 | <cstring>GroupBox9</cstring> |
272 | </property> | 282 | </property> |
273 | <property stdset="1"> | 283 | <property stdset="1"> |
274 | <name>title</name> | 284 | <name>title</name> |
275 | <string>Backlight</string> | 285 | <string>Backlight</string> |
276 | </property> | 286 | </property> |
277 | <property> | 287 | <property> |
278 | <name>layoutMargin</name> | 288 | <name>layoutMargin</name> |
279 | </property> | 289 | </property> |
280 | <property> | 290 | <property> |
281 | <name>layoutSpacing</name> | 291 | <name>layoutSpacing</name> |
282 | </property> | 292 | </property> |
283 | <vbox> | 293 | <vbox> |
284 | <property stdset="1"> | 294 | <property stdset="1"> |
285 | <name>margin</name> | 295 | <name>margin</name> |
286 | <number>3</number> | 296 | <number>3</number> |
287 | </property> | 297 | </property> |
288 | <property stdset="1"> | 298 | <property stdset="1"> |
289 | <name>spacing</name> | 299 | <name>spacing</name> |
290 | <number>3</number> | 300 | <number>3</number> |
291 | </property> | 301 | </property> |
292 | <widget> | 302 | <widget> |
293 | <class>QSlider</class> | 303 | <class>QSlider</class> |
294 | <property stdset="1"> | 304 | <property stdset="1"> |
295 | <name>name</name> | 305 | <name>name</name> |
296 | <cstring>brightness</cstring> | 306 | <cstring>brightness</cstring> |
297 | </property> | 307 | </property> |
298 | <property stdset="1"> | 308 | <property stdset="1"> |
299 | <name>maxValue</name> | 309 | <name>maxValue</name> |
300 | <number>255</number> | 310 | <number>255</number> |
301 | </property> | 311 | </property> |
302 | <property stdset="1"> | 312 | <property stdset="1"> |
303 | <name>lineStep</name> | 313 | <name>lineStep</name> |
304 | <number>16</number> | 314 | <number>1</number> |
305 | </property> | 315 | </property> |
306 | <property stdset="1"> | 316 | <property stdset="1"> |
307 | <name>pageStep</name> | 317 | <name>pageStep</name> |
308 | <number>16</number> | 318 | <number>16</number> |
309 | </property> | 319 | </property> |
310 | <property stdset="1"> | 320 | <property stdset="1"> |
311 | <name>tracking</name> | 321 | <name>tracking</name> |
312 | <bool>true</bool> | 322 | <bool>true</bool> |
313 | </property> | 323 | </property> |
314 | <property stdset="1"> | 324 | <property stdset="1"> |
315 | <name>orientation</name> | 325 | <name>orientation</name> |
316 | <enum>Horizontal</enum> | 326 | <enum>Horizontal</enum> |
317 | </property> | 327 | </property> |
318 | <property stdset="1"> | 328 | <property stdset="1"> |
319 | <name>tickmarks</name> | 329 | <name>tickmarks</name> |
320 | <enum>Right</enum> | 330 | <enum>Right</enum> |
321 | </property> | 331 | </property> |
322 | <property stdset="1"> | 332 | <property stdset="1"> |
323 | <name>tickInterval</name> | 333 | <name>tickInterval</name> |
324 | <number>32</number> | 334 | <number>32</number> |
325 | </property> | 335 | </property> |
326 | </widget> | 336 | </widget> |
327 | <widget> | 337 | <widget> |
328 | <class>QLayoutWidget</class> | 338 | <class>QLayoutWidget</class> |
329 | <property stdset="1"> | 339 | <property stdset="1"> |
330 | <name>name</name> | 340 | <name>name</name> |
331 | <cstring>Layout10</cstring> | 341 | <cstring>Layout10</cstring> |
332 | </property> | 342 | </property> |
333 | <hbox> | 343 | <hbox> |
334 | <property stdset="1"> | 344 | <property stdset="1"> |
335 | <name>margin</name> | 345 | <name>margin</name> |
336 | <number>0</number> | 346 | <number>0</number> |
337 | </property> | 347 | </property> |
338 | <property stdset="1"> | 348 | <property stdset="1"> |
339 | <name>spacing</name> | 349 | <name>spacing</name> |
340 | <number>6</number> | 350 | <number>6</number> |
341 | </property> | 351 | </property> |
342 | <widget> | 352 | <widget> |
343 | <class>QLabel</class> | 353 | <class>QLabel</class> |
344 | <property stdset="1"> | 354 | <property stdset="1"> |
345 | <name>name</name> | 355 | <name>name</name> |
346 | <cstring>PixmapLabel2</cstring> | 356 | <cstring>PixmapLabel2</cstring> |
347 | </property> | 357 | </property> |
348 | <property stdset="1"> | 358 | <property stdset="1"> |
349 | <name>pixmap</name> | 359 | <name>pixmap</name> |
350 | <pixmap>image0</pixmap> | 360 | <pixmap>image0</pixmap> |
351 | </property> | 361 | </property> |
352 | <property stdset="1"> | 362 | <property stdset="1"> |
353 | <name>scaledContents</name> | 363 | <name>scaledContents</name> |
354 | <bool>false</bool> | 364 | <bool>false</bool> |
355 | </property> | 365 | </property> |
356 | </widget> | 366 | </widget> |
357 | <widget> | 367 | <widget> |
358 | <class>QLabel</class> | 368 | <class>QLabel</class> |
359 | <property stdset="1"> | 369 | <property stdset="1"> |
360 | <name>name</name> | 370 | <name>name</name> |
361 | <cstring>TextLabel4</cstring> | 371 | <cstring>TextLabel4</cstring> |
362 | </property> | 372 | </property> |
363 | <property stdset="1"> | 373 | <property stdset="1"> |
364 | <name>text</name> | 374 | <name>text</name> |
365 | <string>Off</string> | 375 | <string>Off</string> |
366 | </property> | 376 | </property> |
367 | </widget> | 377 | </widget> |
368 | <spacer> | 378 | <spacer> |
369 | <property> | 379 | <property> |
370 | <name>name</name> | 380 | <name>name</name> |
371 | <cstring>Spacer2</cstring> | 381 | <cstring>Spacer2</cstring> |
372 | </property> | 382 | </property> |
373 | <property stdset="1"> | 383 | <property stdset="1"> |
374 | <name>orientation</name> | 384 | <name>orientation</name> |
375 | <enum>Horizontal</enum> | 385 | <enum>Horizontal</enum> |
376 | </property> | 386 | </property> |
377 | <property stdset="1"> | 387 | <property stdset="1"> |
378 | <name>sizeType</name> | 388 | <name>sizeType</name> |
379 | <enum>Expanding</enum> | 389 | <enum>Expanding</enum> |
380 | </property> | 390 | </property> |
381 | <property> | 391 | <property> |
382 | <name>sizeHint</name> | 392 | <name>sizeHint</name> |
383 | <size> | 393 | <size> |
384 | <width>20</width> | 394 | <width>20</width> |
385 | <height>20</height> | 395 | <height>20</height> |
386 | </size> | 396 | </size> |
387 | </property> | 397 | </property> |
388 | </spacer> | 398 | </spacer> |
389 | <widget> | 399 | <widget> |
390 | <class>QLabel</class> | 400 | <class>QLabel</class> |
391 | <property stdset="1"> | 401 | <property stdset="1"> |
392 | <name>name</name> | 402 | <name>name</name> |
393 | <cstring>TextLabel5</cstring> | 403 | <cstring>TextLabel5</cstring> |
394 | </property> | 404 | </property> |
395 | <property stdset="1"> | 405 | <property stdset="1"> |
396 | <name>text</name> | 406 | <name>text</name> |
397 | <string>Full</string> | 407 | <string>Full</string> |
398 | </property> | 408 | </property> |
399 | </widget> | 409 | </widget> |
400 | <widget> | 410 | <widget> |
401 | <class>QLabel</class> | 411 | <class>QLabel</class> |
402 | <property stdset="1"> | 412 | <property stdset="1"> |
403 | <name>name</name> | 413 | <name>name</name> |
404 | <cstring>PixmapLabel1</cstring> | 414 | <cstring>PixmapLabel1</cstring> |
405 | </property> | 415 | </property> |
406 | <property stdset="1"> | 416 | <property stdset="1"> |
407 | <name>pixmap</name> | 417 | <name>pixmap</name> |
408 | <pixmap>image1</pixmap> | 418 | <pixmap>image1</pixmap> |
409 | </property> | 419 | </property> |
410 | <property stdset="1"> | 420 | <property stdset="1"> |
411 | <name>scaledContents</name> | 421 | <name>scaledContents</name> |
412 | <bool>false</bool> | 422 | <bool>false</bool> |
413 | </property> | 423 | </property> |
414 | </widget> | 424 | </widget> |
415 | </hbox> | 425 | </hbox> |
416 | </widget> | 426 | </widget> |
417 | </vbox> | ||
418 | </widget> | ||
419 | <widget> | ||
420 | <class>QGroupBox</class> | ||
421 | <property stdset="1"> | ||
422 | <name>name</name> | ||
423 | <cstring>IpaqGroupBox</cstring> | ||
424 | </property> | ||
425 | <property stdset="1"> | ||
426 | <name>title</name> | ||
427 | <string>iPAQ</string> | ||
428 | </property> | ||
429 | <property> | ||
430 | <name>layoutMargin</name> | ||
431 | </property> | ||
432 | <property> | ||
433 | <name>layoutSpacing</name> | ||
434 | </property> | ||
435 | <vbox> | ||
436 | <property stdset="1"> | ||
437 | <name>margin</name> | ||
438 | <number>3</number> | ||
439 | </property> | ||
440 | <property stdset="1"> | ||
441 | <name>spacing</name> | ||
442 | <number>3</number> | ||
443 | </property> | ||
444 | <widget> | 427 | <widget> |
445 | <class>QCheckBox</class> | 428 | <class>QLayoutWidget</class> |
446 | <property stdset="1"> | 429 | <property stdset="1"> |
447 | <name>name</name> | 430 | <name>name</name> |
448 | <cstring>auto_brightness</cstring> | 431 | <cstring>Layout9</cstring> |
449 | </property> | ||
450 | <property stdset="1"> | ||
451 | <name>text</name> | ||
452 | <string>Use light sensor</string> | ||
453 | </property> | ||
454 | <property> | ||
455 | <name>whatsThis</name> | ||
456 | <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> | ||
457 | </property> | 432 | </property> |
433 | <hbox> | ||
434 | <property stdset="1"> | ||
435 | <name>margin</name> | ||
436 | <number>0</number> | ||
437 | </property> | ||
438 | <property stdset="1"> | ||
439 | <name>spacing</name> | ||
440 | <number>6</number> | ||
441 | </property> | ||
442 | <widget> | ||
443 | <class>QCheckBox</class> | ||
444 | <property stdset="1"> | ||
445 | <name>name</name> | ||
446 | <cstring>auto_brightness</cstring> | ||
447 | </property> | ||
448 | <property stdset="1"> | ||
449 | <name>text</name> | ||
450 | <string>Use Light Sensor</string> | ||
451 | </property> | ||
452 | <property> | ||
453 | <name>whatsThis</name> | ||
454 | <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> | ||
455 | </property> | ||
456 | </widget> | ||
457 | <widget> | ||
458 | <class>QPushButton</class> | ||
459 | <property stdset="1"> | ||
460 | <name>name</name> | ||
461 | <cstring>CalibrateLightSensor</cstring> | ||
462 | </property> | ||
463 | <property stdset="1"> | ||
464 | <name>text</name> | ||
465 | <string>Calibrate</string> | ||
466 | </property> | ||
467 | </widget> | ||
468 | </hbox> | ||
458 | </widget> | 469 | </widget> |
459 | </vbox> | 470 | </vbox> |
460 | </widget> | 471 | </widget> |
461 | <spacer> | 472 | <spacer> |
462 | <property> | 473 | <property> |
463 | <name>name</name> | 474 | <name>name</name> |
464 | <cstring>Spacer4</cstring> | 475 | <cstring>Spacer4</cstring> |
465 | </property> | 476 | </property> |
466 | <property stdset="1"> | 477 | <property stdset="1"> |
467 | <name>orientation</name> | 478 | <name>orientation</name> |
468 | <enum>Vertical</enum> | 479 | <enum>Vertical</enum> |
469 | </property> | 480 | </property> |
470 | <property stdset="1"> | 481 | <property stdset="1"> |
471 | <name>sizeType</name> | 482 | <name>sizeType</name> |
472 | <enum>Expanding</enum> | 483 | <enum>Expanding</enum> |
473 | </property> | 484 | </property> |
474 | <property> | 485 | <property> |
475 | <name>sizeHint</name> | 486 | <name>sizeHint</name> |
476 | <size> | 487 | <size> |
477 | <width>20</width> | 488 | <width>20</width> |
478 | <height>20</height> | 489 | <height>20</height> |
479 | </size> | 490 | </size> |
480 | </property> | 491 | </property> |
481 | </spacer> | 492 | </spacer> |
482 | </vbox> | 493 | </vbox> |
483 | </widget> | 494 | </widget> |
484 | <widget> | 495 | <widget> |
485 | <class>QWidget</class> | 496 | <class>QWidget</class> |
486 | <property stdset="1"> | 497 | <property stdset="1"> |
487 | <name>name</name> | 498 | <name>name</name> |
488 | <cstring>tab</cstring> | 499 | <cstring>tab</cstring> |
489 | </property> | 500 | </property> |
490 | <attribute> | 501 | <attribute> |
491 | <name>title</name> | 502 | <name>title</name> |
492 | <string>on AC</string> | 503 | <string>on AC</string> |
493 | </attribute> | 504 | </attribute> |
494 | <vbox> | 505 | <vbox> |
495 | <property stdset="1"> | 506 | <property stdset="1"> |
496 | <name>margin</name> | 507 | <name>margin</name> |
497 | <number>3</number> | 508 | <number>3</number> |
498 | </property> | 509 | </property> |
499 | <property stdset="1"> | 510 | <property stdset="1"> |
500 | <name>spacing</name> | 511 | <name>spacing</name> |
501 | <number>3</number> | 512 | <number>3</number> |
502 | </property> | 513 | </property> |
503 | <widget> | 514 | <widget> |
504 | <class>QGroupBox</class> | 515 | <class>QGroupBox</class> |
505 | <property stdset="1"> | 516 | <property stdset="1"> |
506 | <name>name</name> | 517 | <name>name</name> |
507 | <cstring>GroupBox4</cstring> | 518 | <cstring>GroupBox4</cstring> |
508 | </property> | 519 | </property> |
509 | <property stdset="1"> | 520 | <property stdset="1"> |
510 | <name>enabled</name> | 521 | <name>enabled</name> |
511 | <bool>true</bool> | 522 | <bool>true</bool> |
512 | </property> | 523 | </property> |
513 | <property stdset="1"> | 524 | <property stdset="1"> |
514 | <name>title</name> | 525 | <name>title</name> |
515 | <string>General Settings</string> | 526 | <string>General Settings</string> |
516 | </property> | 527 | </property> |
517 | <property> | 528 | <property> |
518 | <name>layoutMargin</name> | 529 | <name>layoutMargin</name> |
519 | </property> | 530 | </property> |
520 | <property> | 531 | <property> |
521 | <name>layoutSpacing</name> | 532 | <name>layoutSpacing</name> |
522 | </property> | 533 | </property> |
523 | <vbox> | 534 | <vbox> |
524 | <property stdset="1"> | 535 | <property stdset="1"> |
525 | <name>margin</name> | 536 | <name>margin</name> |
526 | <number>3</number> | 537 | <number>3</number> |
527 | </property> | 538 | </property> |
528 | <property stdset="1"> | 539 | <property stdset="1"> |
529 | <name>spacing</name> | 540 | <name>spacing</name> |
530 | <number>3</number> | 541 | <number>3</number> |
531 | </property> | 542 | </property> |
532 | <widget> | 543 | <widget> |
533 | <class>QLayoutWidget</class> | 544 | <class>QLayoutWidget</class> |
534 | <property stdset="1"> | 545 | <property stdset="1"> |
535 | <name>name</name> | 546 | <name>name</name> |
536 | <cstring>Layout9_3</cstring> | 547 | <cstring>Layout14</cstring> |
548 | </property> | ||
549 | <property> | ||
550 | <name>layoutMargin</name> | ||
551 | </property> | ||
552 | <property> | ||
553 | <name>layoutSpacing</name> | ||
537 | </property> | 554 | </property> |
538 | <grid> | 555 | <grid> |
539 | <property stdset="1"> | 556 | <property stdset="1"> |
540 | <name>margin</name> | 557 | <name>margin</name> |
541 | <number>0</number> | 558 | <number>3</number> |
542 | </property> | 559 | </property> |
543 | <property stdset="1"> | 560 | <property stdset="1"> |
544 | <name>spacing</name> | 561 | <name>spacing</name> |
545 | <number>6</number> | 562 | <number>3</number> |
546 | </property> | 563 | </property> |
547 | <widget row="2" column="0" > | 564 | <widget row="1" column="1" > |
548 | <class>QLabel</class> | ||
549 | <property stdset="1"> | ||
550 | <name>name</name> | ||
551 | <cstring>TextLabel1_2_2_3</cstring> | ||
552 | </property> | ||
553 | <property stdset="1"> | ||
554 | <name>text</name> | ||
555 | <string>Suspend after</string> | ||
556 | </property> | ||
557 | </widget> | ||
558 | <widget row="0" column="1" > | ||
559 | <class>QSpinBox</class> | 565 | <class>QSpinBox</class> |
560 | <property stdset="1"> | 566 | <property stdset="1"> |
561 | <name>name</name> | 567 | <name>name</name> |
562 | <cstring>interval_dim_ac_3</cstring> | 568 | <cstring>interval_lightoff_ac_3</cstring> |
563 | </property> | 569 | </property> |
564 | <property stdset="1"> | 570 | <property stdset="1"> |
565 | <name>suffix</name> | 571 | <name>suffix</name> |
566 | <string> seconds</string> | 572 | <string> sec</string> |
573 | </property> | ||
574 | <property stdset="1"> | ||
575 | <name>specialValueText</name> | ||
576 | <string>never</string> | ||
567 | </property> | 577 | </property> |
568 | <property stdset="1"> | 578 | <property stdset="1"> |
569 | <name>buttonSymbols</name> | 579 | <name>buttonSymbols</name> |
570 | <enum>PlusMinus</enum> | 580 | <enum>PlusMinus</enum> |
571 | </property> | 581 | </property> |
572 | <property stdset="1"> | 582 | <property stdset="1"> |
573 | <name>maxValue</name> | 583 | <name>maxValue</name> |
574 | <number>3600</number> | 584 | <number>3600</number> |
575 | </property> | 585 | </property> |
576 | <property stdset="1"> | 586 | <property stdset="1"> |
577 | <name>minValue</name> | 587 | <name>minValue</name> |
578 | <number>10</number> | 588 | <number>10</number> |
579 | </property> | 589 | </property> |
580 | <property stdset="1"> | 590 | <property stdset="1"> |
581 | <name>lineStep</name> | 591 | <name>lineStep</name> |
582 | <number>15</number> | 592 | <number>10</number> |
593 | </property> | ||
594 | </widget> | ||
595 | <widget row="0" column="0" > | ||
596 | <class>QLabel</class> | ||
597 | <property stdset="1"> | ||
598 | <name>name</name> | ||
599 | <cstring>TextLabel1_3_2</cstring> | ||
600 | </property> | ||
601 | <property stdset="1"> | ||
602 | <name>sizePolicy</name> | ||
603 | <sizepolicy> | ||
604 | <hsizetype>7</hsizetype> | ||
605 | <vsizetype>1</vsizetype> | ||
606 | </sizepolicy> | ||
607 | </property> | ||
608 | <property stdset="1"> | ||
609 | <name>text</name> | ||
610 | <string>Dim light after</string> | ||
583 | </property> | 611 | </property> |
584 | </widget> | 612 | </widget> |
585 | <widget row="2" column="1" > | 613 | <widget row="2" column="1" > |
586 | <class>QSpinBox</class> | 614 | <class>QSpinBox</class> |
587 | <property stdset="1"> | 615 | <property stdset="1"> |
588 | <name>name</name> | 616 | <name>name</name> |
589 | <cstring>interval_suspend_ac_3</cstring> | 617 | <cstring>interval_suspend_ac_3</cstring> |
590 | </property> | 618 | </property> |
591 | <property stdset="1"> | 619 | <property stdset="1"> |
592 | <name>suffix</name> | 620 | <name>suffix</name> |
593 | <string> seconds</string> | 621 | <string> sec</string> |
622 | </property> | ||
623 | <property stdset="1"> | ||
624 | <name>specialValueText</name> | ||
625 | <string>never</string> | ||
594 | </property> | 626 | </property> |
595 | <property stdset="1"> | 627 | <property stdset="1"> |
596 | <name>buttonSymbols</name> | 628 | <name>buttonSymbols</name> |
597 | <enum>PlusMinus</enum> | 629 | <enum>PlusMinus</enum> |
598 | </property> | 630 | </property> |
599 | <property stdset="1"> | 631 | <property stdset="1"> |
600 | <name>maxValue</name> | 632 | <name>maxValue</name> |
601 | <number>3600</number> | 633 | <number>3600</number> |
602 | </property> | 634 | </property> |
603 | <property stdset="1"> | 635 | <property stdset="1"> |
604 | <name>minValue</name> | 636 | <name>minValue</name> |
605 | <number>10</number> | 637 | <number>10</number> |
606 | </property> | 638 | </property> |
607 | <property stdset="1"> | 639 | <property stdset="1"> |
608 | <name>lineStep</name> | 640 | <name>lineStep</name> |
609 | <number>15</number> | 641 | <number>10</number> |
610 | </property> | 642 | </property> |
611 | </widget> | 643 | </widget> |
612 | <widget row="1" column="1" > | 644 | <widget row="2" column="0" > |
645 | <class>QLabel</class> | ||
646 | <property stdset="1"> | ||
647 | <name>name</name> | ||
648 | <cstring>TextLabel1_2_2_3</cstring> | ||
649 | </property> | ||
650 | <property stdset="1"> | ||
651 | <name>text</name> | ||
652 | <string>Suspend after</string> | ||
653 | </property> | ||
654 | </widget> | ||
655 | <widget row="0" column="1" > | ||
613 | <class>QSpinBox</class> | 656 | <class>QSpinBox</class> |
614 | <property stdset="1"> | 657 | <property stdset="1"> |
615 | <name>name</name> | 658 | <name>name</name> |
616 | <cstring>interval_lightoff_ac_3</cstring> | 659 | <cstring>interval_dim_ac_3</cstring> |
617 | </property> | 660 | </property> |
618 | <property stdset="1"> | 661 | <property stdset="1"> |
619 | <name>suffix</name> | 662 | <name>suffix</name> |
620 | <string> seconds</string> | 663 | <string> sec</string> |
664 | </property> | ||
665 | <property stdset="1"> | ||
666 | <name>specialValueText</name> | ||
667 | <string>never</string> | ||
621 | </property> | 668 | </property> |
622 | <property stdset="1"> | 669 | <property stdset="1"> |
623 | <name>buttonSymbols</name> | 670 | <name>buttonSymbols</name> |
624 | <enum>PlusMinus</enum> | 671 | <enum>PlusMinus</enum> |
625 | </property> | 672 | </property> |
626 | <property stdset="1"> | 673 | <property stdset="1"> |
627 | <name>maxValue</name> | 674 | <name>maxValue</name> |
628 | <number>3600</number> | 675 | <number>3600</number> |
629 | </property> | 676 | </property> |
630 | <property stdset="1"> | 677 | <property stdset="1"> |
631 | <name>minValue</name> | 678 | <name>minValue</name> |
632 | <number>10</number> | 679 | <number>10</number> |
633 | </property> | 680 | </property> |
634 | <property stdset="1"> | 681 | <property stdset="1"> |
635 | <name>lineStep</name> | 682 | <name>lineStep</name> |
636 | <number>15</number> | 683 | <number>10</number> |
637 | </property> | 684 | </property> |
638 | </widget> | 685 | </widget> |
639 | <widget row="1" column="0" > | 686 | <widget row="1" column="0" > |
640 | <class>QCheckBox</class> | 687 | <class>QLabel</class> |
641 | <property stdset="1"> | 688 | <property stdset="1"> |
642 | <name>name</name> | 689 | <name>name</name> |
643 | <cstring>screensaver_lightoff_ac_3</cstring> | 690 | <cstring>TextLabel2_2_2</cstring> |
644 | </property> | ||
645 | <property stdset="1"> | ||
646 | <name>sizePolicy</name> | ||
647 | <sizepolicy> | ||
648 | <hsizetype>1</hsizetype> | ||
649 | <vsizetype>0</vsizetype> | ||
650 | </sizepolicy> | ||
651 | </property> | 691 | </property> |
652 | <property stdset="1"> | 692 | <property stdset="1"> |
653 | <name>text</name> | 693 | <name>text</name> |
654 | <string>Light off after</string> | 694 | <string>Light off after</string> |
655 | </property> | 695 | </property> |
656 | <property stdset="1"> | ||
657 | <name>checked</name> | ||
658 | <bool>true</bool> | ||
659 | </property> | ||
660 | </widget> | ||
661 | <widget row="0" column="0" > | ||
662 | <class>QCheckBox</class> | ||
663 | <property stdset="1"> | ||
664 | <name>name</name> | ||
665 | <cstring>screensaver_dim_ac_3</cstring> | ||
666 | </property> | ||
667 | <property stdset="1"> | ||
668 | <name>sizePolicy</name> | ||
669 | <sizepolicy> | ||
670 | <hsizetype>1</hsizetype> | ||
671 | <vsizetype>0</vsizetype> | ||
672 | </sizepolicy> | ||
673 | </property> | ||
674 | <property stdset="1"> | ||
675 | <name>text</name> | ||
676 | <string>Dim light after</string> | ||
677 | </property> | ||
678 | <property stdset="1"> | ||
679 | <name>checked</name> | ||
680 | <bool>true</bool> | ||
681 | </property> | ||
682 | </widget> | 696 | </widget> |
683 | </grid> | 697 | </grid> |
684 | </widget> | 698 | </widget> |
685 | <widget> | 699 | <widget> |
686 | <class>QCheckBox</class> | 700 | <class>QCheckBox</class> |
687 | <property stdset="1"> | 701 | <property stdset="1"> |
688 | <name>name</name> | 702 | <name>name</name> |
689 | <cstring>LcdOffOnly_2_3</cstring> | 703 | <cstring>LcdOffOnly_2_3</cstring> |
690 | </property> | 704 | </property> |
691 | <property stdset="1"> | 705 | <property stdset="1"> |
692 | <name>text</name> | 706 | <name>text</name> |
693 | <string>Deactivate LCD only (does not suspend)</string> | 707 | <string>Deactivate LCD only (does not suspend)</string> |
694 | </property> | 708 | </property> |
695 | </widget> | 709 | </widget> |
696 | <widget> | ||
697 | <class>QCheckBox</class> | ||
698 | <property stdset="1"> | ||
699 | <name>name</name> | ||
700 | <cstring>noApmAC</cstring> | ||
701 | </property> | ||
702 | <property stdset="1"> | ||
703 | <name>text</name> | ||
704 | <string>No power saving features</string> | ||
705 | </property> | ||
706 | </widget> | ||
707 | </vbox> | 710 | </vbox> |
708 | </widget> | 711 | </widget> |
709 | <widget> | 712 | <widget> |
710 | <class>QGroupBox</class> | 713 | <class>QGroupBox</class> |
711 | <property stdset="1"> | 714 | <property stdset="1"> |
712 | <name>name</name> | 715 | <name>name</name> |
713 | <cstring>GroupBox8</cstring> | 716 | <cstring>GroupBox8</cstring> |
714 | </property> | 717 | </property> |
715 | <property stdset="1"> | 718 | <property stdset="1"> |
716 | <name>title</name> | 719 | <name>title</name> |
717 | <string>Backlight</string> | 720 | <string>Backlight</string> |
718 | </property> | 721 | </property> |
719 | <property> | 722 | <property> |
720 | <name>layoutMargin</name> | 723 | <name>layoutMargin</name> |
721 | </property> | 724 | </property> |
722 | <property> | 725 | <property> |
723 | <name>layoutSpacing</name> | 726 | <name>layoutSpacing</name> |
724 | </property> | 727 | </property> |
725 | <vbox> | 728 | <vbox> |
726 | <property stdset="1"> | 729 | <property stdset="1"> |
727 | <name>margin</name> | 730 | <name>margin</name> |
728 | <number>3</number> | 731 | <number>3</number> |
729 | </property> | 732 | </property> |
730 | <property stdset="1"> | 733 | <property stdset="1"> |
731 | <name>spacing</name> | 734 | <name>spacing</name> |
732 | <number>3</number> | 735 | <number>3</number> |
733 | </property> | 736 | </property> |
734 | <widget> | 737 | <widget> |
735 | <class>QSlider</class> | 738 | <class>QSlider</class> |
736 | <property stdset="1"> | 739 | <property stdset="1"> |
737 | <name>name</name> | 740 | <name>name</name> |
738 | <cstring>brightness_ac_3</cstring> | 741 | <cstring>brightness_ac_3</cstring> |
739 | </property> | 742 | </property> |
740 | <property stdset="1"> | 743 | <property stdset="1"> |
741 | <name>minValue</name> | 744 | <name>minValue</name> |
742 | <number>0</number> | 745 | <number>0</number> |
743 | </property> | 746 | </property> |
744 | <property stdset="1"> | 747 | <property stdset="1"> |
745 | <name>maxValue</name> | 748 | <name>maxValue</name> |
746 | <number>255</number> | 749 | <number>255</number> |
747 | </property> | 750 | </property> |
748 | <property stdset="1"> | 751 | <property stdset="1"> |
749 | <name>lineStep</name> | 752 | <name>lineStep</name> |
750 | <number>16</number> | 753 | <number>16</number> |
751 | </property> | 754 | </property> |
752 | <property stdset="1"> | 755 | <property stdset="1"> |
753 | <name>pageStep</name> | 756 | <name>pageStep</name> |
754 | <number>16</number> | 757 | <number>16</number> |
755 | </property> | 758 | </property> |
756 | <property stdset="1"> | 759 | <property stdset="1"> |
757 | <name>value</name> | 760 | <name>value</name> |
758 | <number>255</number> | 761 | <number>255</number> |
759 | </property> | 762 | </property> |
760 | <property stdset="1"> | 763 | <property stdset="1"> |
761 | <name>tracking</name> | 764 | <name>tracking</name> |
762 | <bool>true</bool> | 765 | <bool>true</bool> |
763 | </property> | 766 | </property> |
764 | <property stdset="1"> | 767 | <property stdset="1"> |
765 | <name>orientation</name> | 768 | <name>orientation</name> |
766 | <enum>Horizontal</enum> | 769 | <enum>Horizontal</enum> |
767 | </property> | 770 | </property> |
768 | <property stdset="1"> | 771 | <property stdset="1"> |
769 | <name>tickmarks</name> | 772 | <name>tickmarks</name> |
770 | <enum>Right</enum> | 773 | <enum>Right</enum> |
771 | </property> | 774 | </property> |
772 | </widget> | 775 | </widget> |
773 | <widget> | 776 | <widget> |
774 | <class>QLayoutWidget</class> | 777 | <class>QLayoutWidget</class> |
775 | <property stdset="1"> | 778 | <property stdset="1"> |
776 | <name>name</name> | 779 | <name>name</name> |
777 | <cstring>Layout20</cstring> | 780 | <cstring>Layout20</cstring> |
778 | </property> | 781 | </property> |
779 | <hbox> | 782 | <hbox> |
780 | <property stdset="1"> | 783 | <property stdset="1"> |
781 | <name>margin</name> | 784 | <name>margin</name> |
782 | <number>0</number> | 785 | <number>0</number> |
783 | </property> | 786 | </property> |
784 | <property stdset="1"> | 787 | <property stdset="1"> |
785 | <name>spacing</name> | 788 | <name>spacing</name> |
786 | <number>6</number> | 789 | <number>6</number> |
787 | </property> | 790 | </property> |
788 | <widget> | 791 | <widget> |
789 | <class>QLabel</class> | 792 | <class>QLabel</class> |
790 | <property stdset="1"> | 793 | <property stdset="1"> |
791 | <name>name</name> | 794 | <name>name</name> |
792 | <cstring>PixmapLabel2_2_3</cstring> | 795 | <cstring>PixmapLabel2_2_3</cstring> |
793 | </property> | 796 | </property> |
794 | <property stdset="1"> | 797 | <property stdset="1"> |
795 | <name>pixmap</name> | 798 | <name>pixmap</name> |
796 | <pixmap>image2</pixmap> | 799 | <pixmap>image2</pixmap> |
797 | </property> | 800 | </property> |
798 | <property stdset="1"> | 801 | <property stdset="1"> |
799 | <name>scaledContents</name> | 802 | <name>scaledContents</name> |
800 | <bool>false</bool> | 803 | <bool>false</bool> |
801 | </property> | 804 | </property> |
802 | </widget> | 805 | </widget> |
803 | <widget> | 806 | <widget> |
804 | <class>QLabel</class> | 807 | <class>QLabel</class> |
805 | <property stdset="1"> | 808 | <property stdset="1"> |
806 | <name>name</name> | 809 | <name>name</name> |
807 | <cstring>TextLabel6</cstring> | 810 | <cstring>TextLabel6</cstring> |
808 | </property> | 811 | </property> |
809 | <property stdset="1"> | 812 | <property stdset="1"> |
810 | <name>text</name> | 813 | <name>text</name> |
811 | <string>Off</string> | 814 | <string>Off</string> |
812 | </property> | 815 | </property> |
813 | </widget> | 816 | </widget> |
814 | <spacer> | 817 | <spacer> |
815 | <property> | 818 | <property> |
816 | <name>name</name> | 819 | <name>name</name> |
817 | <cstring>Spacer3</cstring> | 820 | <cstring>Spacer3</cstring> |
818 | </property> | 821 | </property> |
819 | <property stdset="1"> | 822 | <property stdset="1"> |
820 | <name>orientation</name> | 823 | <name>orientation</name> |
821 | <enum>Horizontal</enum> | 824 | <enum>Horizontal</enum> |
822 | </property> | 825 | </property> |
823 | <property stdset="1"> | 826 | <property stdset="1"> |
824 | <name>sizeType</name> | 827 | <name>sizeType</name> |
825 | <enum>Expanding</enum> | 828 | <enum>Expanding</enum> |
826 | </property> | 829 | </property> |
827 | <property> | 830 | <property> |
828 | <name>sizeHint</name> | 831 | <name>sizeHint</name> |
829 | <size> | 832 | <size> |
830 | <width>20</width> | 833 | <width>20</width> |
831 | <height>20</height> | 834 | <height>20</height> |
832 | </size> | 835 | </size> |
833 | </property> | 836 | </property> |
834 | </spacer> | 837 | </spacer> |
835 | <widget> | 838 | <widget> |
836 | <class>QLabel</class> | 839 | <class>QLabel</class> |
837 | <property stdset="1"> | 840 | <property stdset="1"> |
838 | <name>name</name> | 841 | <name>name</name> |
839 | <cstring>TextLabel7</cstring> | 842 | <cstring>TextLabel7</cstring> |
840 | </property> | 843 | </property> |
841 | <property stdset="1"> | 844 | <property stdset="1"> |
842 | <name>text</name> | 845 | <name>text</name> |
843 | <string>Full</string> | 846 | <string>Full</string> |
844 | </property> | 847 | </property> |
845 | </widget> | 848 | </widget> |
846 | <widget> | 849 | <widget> |
847 | <class>QLabel</class> | 850 | <class>QLabel</class> |
848 | <property stdset="1"> | 851 | <property stdset="1"> |
849 | <name>name</name> | 852 | <name>name</name> |
850 | <cstring>PixmapLabel1_2_3</cstring> | 853 | <cstring>PixmapLabel1_2_3</cstring> |
851 | </property> | 854 | </property> |
852 | <property stdset="1"> | 855 | <property stdset="1"> |
853 | <name>pixmap</name> | 856 | <name>pixmap</name> |
854 | <pixmap>image1</pixmap> | 857 | <pixmap>image1</pixmap> |
855 | </property> | 858 | </property> |
856 | <property stdset="1"> | 859 | <property stdset="1"> |
857 | <name>scaledContents</name> | 860 | <name>scaledContents</name> |
858 | <bool>false</bool> | 861 | <bool>false</bool> |
859 | </property> | 862 | </property> |
860 | </widget> | 863 | </widget> |
861 | </hbox> | 864 | </hbox> |
862 | </widget> | 865 | </widget> |
863 | </vbox> | ||
864 | </widget> | ||
865 | <widget> | ||
866 | <class>QGroupBox</class> | ||
867 | <property stdset="1"> | ||
868 | <name>name</name> | ||
869 | <cstring>IpaqGroupBoxAC</cstring> | ||
870 | </property> | ||
871 | <property stdset="1"> | ||
872 | <name>title</name> | ||
873 | <string>iPAQ</string> | ||
874 | </property> | ||
875 | <property> | ||
876 | <name>layoutMargin</name> | ||
877 | </property> | ||
878 | <property> | ||
879 | <name>layoutSpacing</name> | ||
880 | </property> | ||
881 | <vbox> | ||
882 | <property stdset="1"> | ||
883 | <name>margin</name> | ||
884 | <number>3</number> | ||
885 | </property> | ||
886 | <property stdset="1"> | ||
887 | <name>spacing</name> | ||
888 | <number>3</number> | ||
889 | </property> | ||
890 | <widget> | 866 | <widget> |
891 | <class>QCheckBox</class> | 867 | <class>QLayoutWidget</class> |
892 | <property stdset="1"> | 868 | <property stdset="1"> |
893 | <name>name</name> | 869 | <name>name</name> |
894 | <cstring>auto_brightness_ac_3</cstring> | 870 | <cstring>Layout10</cstring> |
895 | </property> | ||
896 | <property stdset="1"> | ||
897 | <name>text</name> | ||
898 | <string>Use light sensor</string> | ||
899 | </property> | ||
900 | <property> | ||
901 | <name>whatsThis</name> | ||
902 | <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> | ||
903 | </property> | 871 | </property> |
872 | <hbox> | ||
873 | <property stdset="1"> | ||
874 | <name>margin</name> | ||
875 | <number>0</number> | ||
876 | </property> | ||
877 | <property stdset="1"> | ||
878 | <name>spacing</name> | ||
879 | <number>6</number> | ||
880 | </property> | ||
881 | <widget> | ||
882 | <class>QCheckBox</class> | ||
883 | <property stdset="1"> | ||
884 | <name>name</name> | ||
885 | <cstring>auto_brightness_ac_3</cstring> | ||
886 | </property> | ||
887 | <property stdset="1"> | ||
888 | <name>text</name> | ||
889 | <string>Use Light Sensor</string> | ||
890 | </property> | ||
891 | <property> | ||
892 | <name>whatsThis</name> | ||
893 | <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> | ||
894 | </property> | ||
895 | </widget> | ||
896 | <widget> | ||
897 | <class>QPushButton</class> | ||
898 | <property stdset="1"> | ||
899 | <name>name</name> | ||
900 | <cstring>CalibrateLightSensorAC</cstring> | ||
901 | </property> | ||
902 | <property stdset="1"> | ||
903 | <name>text</name> | ||
904 | <string>Calibrate</string> | ||
905 | </property> | ||
906 | </widget> | ||
907 | </hbox> | ||
904 | </widget> | 908 | </widget> |
905 | </vbox> | 909 | </vbox> |
906 | </widget> | 910 | </widget> |
907 | <spacer> | 911 | <spacer> |
908 | <property> | 912 | <property> |
909 | <name>name</name> | 913 | <name>name</name> |
910 | <cstring>Spacer5</cstring> | 914 | <cstring>Spacer5</cstring> |
911 | </property> | 915 | </property> |
912 | <property stdset="1"> | 916 | <property stdset="1"> |
913 | <name>orientation</name> | 917 | <name>orientation</name> |
914 | <enum>Vertical</enum> | 918 | <enum>Vertical</enum> |
915 | </property> | 919 | </property> |
916 | <property stdset="1"> | 920 | <property stdset="1"> |
917 | <name>sizeType</name> | 921 | <name>sizeType</name> |
918 | <enum>Expanding</enum> | 922 | <enum>Expanding</enum> |
919 | </property> | 923 | </property> |
920 | <property> | 924 | <property> |
921 | <name>sizeHint</name> | 925 | <name>sizeHint</name> |
922 | <size> | 926 | <size> |
923 | <width>20</width> | 927 | <width>20</width> |
924 | <height>20</height> | 928 | <height>20</height> |
925 | </size> | 929 | </size> |
926 | </property> | 930 | </property> |
927 | </spacer> | 931 | </spacer> |
928 | </vbox> | 932 | </vbox> |
929 | </widget> | 933 | </widget> |
930 | <widget> | 934 | <widget> |
931 | <class>QWidget</class> | 935 | <class>QWidget</class> |
932 | <property stdset="1"> | 936 | <property stdset="1"> |
933 | <name>name</name> | 937 | <name>name</name> |
934 | <cstring>tab</cstring> | 938 | <cstring>tab</cstring> |
935 | </property> | 939 | </property> |
936 | <attribute> | 940 | <attribute> |
937 | <name>title</name> | 941 | <name>title</name> |
938 | <string>Advanced Settings</string> | 942 | <string>Advanced Settings</string> |
939 | </attribute> | 943 | </attribute> |
940 | <vbox> | 944 | <vbox> |
941 | <property stdset="1"> | 945 | <property stdset="1"> |
942 | <name>margin</name> | 946 | <name>margin</name> |
943 | <number>3</number> | 947 | <number>3</number> |
944 | </property> | 948 | </property> |
945 | <property stdset="1"> | 949 | <property stdset="1"> |
946 | <name>spacing</name> | 950 | <name>spacing</name> |
947 | <number>3</number> | 951 | <number>3</number> |
948 | </property> | 952 | </property> |
949 | <widget> | 953 | <widget> |
950 | <class>QGroupBox</class> | 954 | <class>QGroupBox</class> |
951 | <property stdset="1"> | 955 | <property stdset="1"> |
952 | <name>name</name> | 956 | <name>name</name> |
953 | <cstring>GroupBox5</cstring> | 957 | <cstring>GroupBox5</cstring> |
954 | </property> | 958 | </property> |
955 | <property stdset="1"> | 959 | <property stdset="1"> |
956 | <name>title</name> | 960 | <name>title</name> |
957 | <string>Warnings</string> | 961 | <string>Warnings</string> |
958 | </property> | 962 | </property> |
959 | <property> | 963 | <property> |
960 | <name>layoutMargin</name> | 964 | <name>layoutMargin</name> |
961 | </property> | 965 | </property> |
962 | <property> | 966 | <property> |
963 | <name>layoutSpacing</name> | 967 | <name>layoutSpacing</name> |
964 | </property> | 968 | </property> |
965 | <vbox> | 969 | <vbox> |
966 | <property stdset="1"> | 970 | <property stdset="1"> |
967 | <name>margin</name> | 971 | <name>margin</name> |
968 | <number>4</number> | 972 | <number>3</number> |
969 | </property> | 973 | </property> |
970 | <property stdset="1"> | 974 | <property stdset="1"> |
971 | <name>spacing</name> | 975 | <name>spacing</name> |
972 | <number>3</number> | 976 | <number>3</number> |
973 | </property> | 977 | </property> |
974 | <widget> | 978 | <widget> |
975 | <class>QLayoutWidget</class> | 979 | <class>QLayoutWidget</class> |
976 | <property stdset="1"> | 980 | <property stdset="1"> |
977 | <name>name</name> | 981 | <name>name</name> |
978 | <cstring>Layout18</cstring> | 982 | <cstring>Layout18</cstring> |
979 | </property> | 983 | </property> |
984 | <property> | ||
985 | <name>layoutMargin</name> | ||
986 | </property> | ||
987 | <property> | ||
988 | <name>layoutSpacing</name> | ||
989 | </property> | ||
980 | <grid> | 990 | <grid> |
981 | <property stdset="1"> | 991 | <property stdset="1"> |
982 | <name>margin</name> | 992 | <name>margin</name> |
983 | <number>0</number> | 993 | <number>3</number> |
984 | </property> | 994 | </property> |
985 | <property stdset="1"> | 995 | <property stdset="1"> |
986 | <name>spacing</name> | 996 | <name>spacing</name> |
987 | <number>6</number> | 997 | <number>3</number> |
988 | </property> | 998 | </property> |
989 | <widget row="0" column="0" > | 999 | <widget row="0" column="0" > |
990 | <class>QLabel</class> | 1000 | <class>QLabel</class> |
991 | <property stdset="1"> | 1001 | <property stdset="1"> |
992 | <name>name</name> | 1002 | <name>name</name> |
993 | <cstring>TextLabel1</cstring> | 1003 | <cstring>TextLabel1</cstring> |
994 | </property> | 1004 | </property> |
995 | <property stdset="1"> | 1005 | <property stdset="1"> |
1006 | <name>sizePolicy</name> | ||
1007 | <sizepolicy> | ||
1008 | <hsizetype>7</hsizetype> | ||
1009 | <vsizetype>5</vsizetype> | ||
1010 | </sizepolicy> | ||
1011 | </property> | ||
1012 | <property stdset="1"> | ||
996 | <name>text</name> | 1013 | <name>text</name> |
997 | <string>Low power warning | 1014 | <string>Low power warning interval</string> |
998 | interval</string> | ||
999 | </property> | 1015 | </property> |
1000 | <property stdset="1"> | 1016 | <property stdset="1"> |
1001 | <name>alignment</name> | 1017 | <name>alignment</name> |
1002 | <set>WordBreak|AlignVCenter|AlignLeft</set> | 1018 | <set>WordBreak|AlignVCenter|AlignLeft</set> |
1003 | </property> | 1019 | </property> |
1004 | <property> | 1020 | <property> |
1005 | <name>wordwrap</name> | 1021 | <name>wordwrap</name> |
1006 | </property> | 1022 | </property> |
1007 | </widget> | 1023 | </widget> |
1008 | <widget row="1" column="1" > | 1024 | <widget row="1" column="1" > |
1009 | <class>QSpinBox</class> | 1025 | <class>QSpinBox</class> |
1010 | <property stdset="1"> | 1026 | <property stdset="1"> |
1011 | <name>name</name> | 1027 | <name>name</name> |
1012 | <cstring>lowSpinBox</cstring> | 1028 | <cstring>lowSpinBox</cstring> |
1013 | </property> | 1029 | </property> |
1014 | <property stdset="1"> | 1030 | <property stdset="1"> |
1015 | <name>suffix</name> | 1031 | <name>suffix</name> |
1016 | <string> %</string> | 1032 | <string> %</string> |
1017 | </property> | 1033 | </property> |
1018 | <property stdset="1"> | 1034 | <property stdset="1"> |
1019 | <name>maxValue</name> | 1035 | <name>maxValue</name> |
1020 | <number>80</number> | 1036 | <number>80</number> |
1021 | </property> | 1037 | </property> |
1022 | <property stdset="1"> | 1038 | <property stdset="1"> |
1023 | <name>minValue</name> | 1039 | <name>minValue</name> |
1024 | <number>2</number> | 1040 | <number>2</number> |
1025 | </property> | 1041 | </property> |
1026 | <property> | 1042 | <property> |
1027 | <name>whatsThis</name> | 1043 | <name>whatsThis</name> |
1028 | <string>At what battery level should the low power warning pop up</string> | 1044 | <string>At what battery level should the low power warning pop up</string> |
1029 | </property> | 1045 | </property> |
1030 | </widget> | 1046 | </widget> |
1031 | <widget row="0" column="1" > | 1047 | <widget row="0" column="1" > |
1032 | <class>QSpinBox</class> | 1048 | <class>QSpinBox</class> |
1033 | <property stdset="1"> | 1049 | <property stdset="1"> |
1034 | <name>name</name> | 1050 | <name>name</name> |
1035 | <cstring>warnintervalBox</cstring> | 1051 | <cstring>warnintervalBox</cstring> |
1036 | </property> | 1052 | </property> |
1037 | <property stdset="1"> | 1053 | <property stdset="1"> |
1038 | <name>suffix</name> | 1054 | <name>suffix</name> |
1039 | <string> seconds</string> | 1055 | <string> sec</string> |
1040 | </property> | 1056 | </property> |
1041 | <property stdset="1"> | 1057 | <property stdset="1"> |
1042 | <name>maxValue</name> | 1058 | <name>maxValue</name> |
1043 | <number>60</number> | 1059 | <number>60</number> |
1044 | </property> | 1060 | </property> |
1045 | <property stdset="1"> | 1061 | <property stdset="1"> |
1046 | <name>minValue</name> | 1062 | <name>minValue</name> |
1047 | <number>5</number> | 1063 | <number>5</number> |
1048 | </property> | 1064 | </property> |
1049 | <property> | 1065 | <property> |
1050 | <name>whatsThis</name> | 1066 | <name>whatsThis</name> |
1051 | <string>how often should be checked for low power. This determines the rate popups occure in low power situations</string> | 1067 | <string>how often should be checked for low power. This determines the rate popups occure in low power situations</string> |
1052 | </property> | 1068 | </property> |
1053 | </widget> | 1069 | </widget> |
1054 | <widget row="2" column="1" > | 1070 | <widget row="2" column="1" > |
1055 | <class>QSpinBox</class> | 1071 | <class>QSpinBox</class> |
1056 | <property stdset="1"> | 1072 | <property stdset="1"> |
1057 | <name>name</name> | 1073 | <name>name</name> |
1058 | <cstring>criticalSpinBox</cstring> | 1074 | <cstring>criticalSpinBox</cstring> |
1059 | </property> | 1075 | </property> |
1060 | <property stdset="1"> | 1076 | <property stdset="1"> |
1061 | <name>prefix</name> | 1077 | <name>prefix</name> |
1062 | <string></string> | 1078 | <string></string> |
1063 | </property> | 1079 | </property> |
1064 | <property stdset="1"> | 1080 | <property stdset="1"> |
1065 | <name>suffix</name> | 1081 | <name>suffix</name> |
1066 | <string> %</string> | 1082 | <string> %</string> |
1067 | </property> | 1083 | </property> |
1068 | <property stdset="1"> | 1084 | <property stdset="1"> |
1069 | <name>maxValue</name> | 1085 | <name>maxValue</name> |
1070 | <number>80</number> | 1086 | <number>80</number> |
1071 | </property> | 1087 | </property> |
1072 | <property stdset="1"> | 1088 | <property stdset="1"> |
1073 | <name>minValue</name> | 1089 | <name>minValue</name> |
1074 | <number>2</number> | 1090 | <number>2</number> |
1075 | </property> | 1091 | </property> |
1076 | <property> | 1092 | <property> |
1077 | <name>whatsThis</name> | 1093 | <name>whatsThis</name> |
1078 | <string>At what battery level should the critical power warning pop up</string> | 1094 | <string>At what battery level should the critical power warning pop up</string> |
1079 | </property> | 1095 | </property> |
1080 | </widget> | 1096 | </widget> |
1081 | <widget row="1" column="0" > | 1097 | <widget row="1" column="0" > |
1082 | <class>QLabel</class> | 1098 | <class>QLabel</class> |
1083 | <property stdset="1"> | 1099 | <property stdset="1"> |
1084 | <name>name</name> | 1100 | <name>name</name> |
1085 | <cstring>TextLabel2</cstring> | 1101 | <cstring>TextLabel2</cstring> |
1086 | </property> | 1102 | </property> |
1087 | <property stdset="1"> | 1103 | <property stdset="1"> |
1088 | <name>text</name> | 1104 | <name>sizePolicy</name> |
1089 | <string>very low battery | 1105 | <sizepolicy> |
1090 | warning at</string> | 1106 | <hsizetype>1</hsizetype> |
1091 | </property> | 1107 | <vsizetype>5</vsizetype> |
1092 | </widget> | 1108 | </sizepolicy> |
1093 | <widget row="2" column="0" > | ||
1094 | <class>QLabel</class> | ||
1095 | <property stdset="1"> | ||
1096 | <name>name</name> | ||
1097 | <cstring>TextLabel3</cstring> | ||
1098 | </property> | ||
1099 | <property stdset="1"> | ||
1100 | <name>text</name> | ||
1101 | <string>critical power | ||
1102 | warning at</string> | ||
1103 | </property> | ||
1104 | </widget> | ||
1105 | </grid> | ||
1106 | </widget> | ||
1107 | </vbox> | ||
1108 | </widget> | ||
1109 | <widget> | ||
1110 | <class>QGroupBox</class> | ||
1111 | <property stdset="1"> | ||
1112 | <name>name</name> | ||
1113 | <cstring>LightSensorGroupBox</cstring> | ||
1114 | </property> | ||
1115 | <property stdset="1"> | ||
1116 | <name>title</name> | ||
1117 | <string>iPAQ Light Sensor (127 steps)</string> | ||
1118 | </property> | ||
1119 | <property> | ||
1120 | <name>layoutMargin</name> | ||
1121 | </property> | ||
1122 | <property> | ||
1123 | <name>layoutSpacing</name> | ||
1124 | </property> | ||
1125 | <vbox> | ||
1126 | <property stdset="1"> | ||
1127 | <name>margin</name> | ||
1128 | <number>3</number> | ||
1129 | </property> | ||
1130 | <property stdset="1"> | ||
1131 | <name>spacing</name> | ||
1132 | <number>3</number> | ||
1133 | </property> | ||
1134 | <widget> | ||
1135 | <class>QLayoutWidget</class> | ||
1136 | <property stdset="1"> | ||
1137 | <name>name</name> | ||
1138 | <cstring>Layout7</cstring> | ||
1139 | </property> | ||
1140 | <hbox> | ||
1141 | <property stdset="1"> | ||
1142 | <name>margin</name> | ||
1143 | <number>0</number> | ||
1144 | </property> | ||
1145 | <property stdset="1"> | ||
1146 | <name>spacing</name> | ||
1147 | <number>6</number> | ||
1148 | </property> | ||
1149 | <widget> | ||
1150 | <class>QLabel</class> | ||
1151 | <property stdset="1"> | ||
1152 | <name>name</name> | ||
1153 | <cstring>TextLabel9</cstring> | ||
1154 | </property> | 1109 | </property> |
1155 | <property stdset="1"> | 1110 | <property stdset="1"> |
1156 | <name>text</name> | 1111 | <name>text</name> |
1157 | <string>Steps</string> | 1112 | <string>very low battery warning at</string> |
1158 | </property> | ||
1159 | </widget> | ||
1160 | <widget> | ||
1161 | <class>QSpinBox</class> | ||
1162 | <property stdset="1"> | ||
1163 | <name>name</name> | ||
1164 | <cstring>LightStepSpin</cstring> | ||
1165 | </property> | ||
1166 | <property stdset="1"> | ||
1167 | <name>maxValue</name> | ||
1168 | <number>126</number> | ||
1169 | </property> | ||
1170 | <property stdset="1"> | ||
1171 | <name>minValue</name> | ||
1172 | <number>1</number> | ||
1173 | </property> | ||
1174 | <property> | ||
1175 | <name>whatsThis</name> | ||
1176 | <string>How many different steps should be handled by the light sensor. Values between 1 and 126 are allowed.</string> | ||
1177 | </property> | ||
1178 | </widget> | ||
1179 | </hbox> | ||
1180 | </widget> | ||
1181 | <widget> | ||
1182 | <class>QLabel</class> | ||
1183 | <property stdset="1"> | ||
1184 | <name>name</name> | ||
1185 | <cstring>TextLabel10</cstring> | ||
1186 | </property> | ||
1187 | <property stdset="1"> | ||
1188 | <name>text</name> | ||
1189 | <string>Minimum value to turn display on</string> | ||
1190 | </property> | ||
1191 | </widget> | ||
1192 | <widget> | ||
1193 | <class>QLayoutWidget</class> | ||
1194 | <property stdset="1"> | ||
1195 | <name>name</name> | ||
1196 | <cstring>Layout9</cstring> | ||
1197 | </property> | ||
1198 | <hbox> | ||
1199 | <property stdset="1"> | ||
1200 | <name>margin</name> | ||
1201 | <number>0</number> | ||
1202 | </property> | ||
1203 | <property stdset="1"> | ||
1204 | <name>spacing</name> | ||
1205 | <number>6</number> | ||
1206 | </property> | ||
1207 | <widget> | ||
1208 | <class>QLabel</class> | ||
1209 | <property stdset="1"> | ||
1210 | <name>name</name> | ||
1211 | <cstring>PixmapLabel2_2</cstring> | ||
1212 | </property> | ||
1213 | <property stdset="1"> | ||
1214 | <name>pixmap</name> | ||
1215 | <pixmap>image0</pixmap> | ||
1216 | </property> | ||
1217 | <property stdset="1"> | ||
1218 | <name>scaledContents</name> | ||
1219 | <bool>false</bool> | ||
1220 | </property> | 1113 | </property> |
1221 | </widget> | 1114 | </widget> |
1222 | <widget> | 1115 | <widget row="2" column="0" > |
1223 | <class>QSlider</class> | ||
1224 | <property stdset="1"> | ||
1225 | <name>name</name> | ||
1226 | <cstring>LightMinValueSlider</cstring> | ||
1227 | </property> | ||
1228 | <property stdset="1"> | ||
1229 | <name>maxValue</name> | ||
1230 | <number>127</number> | ||
1231 | </property> | ||
1232 | <property stdset="1"> | ||
1233 | <name>tracking</name> | ||
1234 | <bool>false</bool> | ||
1235 | </property> | ||
1236 | <property stdset="1"> | ||
1237 | <name>orientation</name> | ||
1238 | <enum>Horizontal</enum> | ||
1239 | </property> | ||
1240 | <property stdset="1"> | ||
1241 | <name>tickmarks</name> | ||
1242 | <enum>Right</enum> | ||
1243 | </property> | ||
1244 | </widget> | ||
1245 | <widget> | ||
1246 | <class>QLabel</class> | 1116 | <class>QLabel</class> |
1247 | <property stdset="1"> | 1117 | <property stdset="1"> |
1248 | <name>name</name> | 1118 | <name>name</name> |
1249 | <cstring>PixmapLabel1_2</cstring> | 1119 | <cstring>TextLabel3</cstring> |
1250 | </property> | ||
1251 | <property stdset="1"> | ||
1252 | <name>pixmap</name> | ||
1253 | <pixmap>image1</pixmap> | ||
1254 | </property> | 1120 | </property> |
1255 | <property stdset="1"> | 1121 | <property stdset="1"> |
1256 | <name>scaledContents</name> | 1122 | <name>sizePolicy</name> |
1257 | <bool>false</bool> | 1123 | <sizepolicy> |
1258 | </property> | 1124 | <hsizetype>1</hsizetype> |
1259 | </widget> | 1125 | <vsizetype>5</vsizetype> |
1260 | </hbox> | 1126 | </sizepolicy> |
1261 | </widget> | ||
1262 | <widget> | ||
1263 | <class>QLayoutWidget</class> | ||
1264 | <property stdset="1"> | ||
1265 | <name>name</name> | ||
1266 | <cstring>Layout8</cstring> | ||
1267 | </property> | ||
1268 | <hbox> | ||
1269 | <property stdset="1"> | ||
1270 | <name>margin</name> | ||
1271 | <number>0</number> | ||
1272 | </property> | ||
1273 | <property stdset="1"> | ||
1274 | <name>spacing</name> | ||
1275 | <number>6</number> | ||
1276 | </property> | ||
1277 | <widget> | ||
1278 | <class>QLabel</class> | ||
1279 | <property stdset="1"> | ||
1280 | <name>name</name> | ||
1281 | <cstring>TextLabel11</cstring> | ||
1282 | </property> | 1127 | </property> |
1283 | <property stdset="1"> | 1128 | <property stdset="1"> |
1284 | <name>text</name> | 1129 | <name>text</name> |
1285 | <string>Shift</string> | 1130 | <string>critical power warning at</string> |
1286 | </property> | ||
1287 | </widget> | ||
1288 | <widget> | ||
1289 | <class>QSpinBox</class> | ||
1290 | <property stdset="1"> | ||
1291 | <name>name</name> | ||
1292 | <cstring>LightShiftSpin</cstring> | ||
1293 | </property> | ||
1294 | <property stdset="1"> | ||
1295 | <name>maxValue</name> | ||
1296 | <number>126</number> | ||
1297 | </property> | 1131 | </property> |
1298 | </widget> | 1132 | </widget> |
1299 | </hbox> | 1133 | </grid> |
1300 | </widget> | 1134 | </widget> |
1301 | </vbox> | 1135 | </vbox> |
1302 | </widget> | 1136 | </widget> |
1303 | <spacer> | 1137 | <spacer> |
1304 | <property> | 1138 | <property> |
1305 | <name>name</name> | 1139 | <name>name</name> |
1306 | <cstring>Spacer1</cstring> | 1140 | <cstring>Spacer1</cstring> |
1307 | </property> | 1141 | </property> |
1308 | <property stdset="1"> | 1142 | <property stdset="1"> |
1309 | <name>orientation</name> | 1143 | <name>orientation</name> |
1310 | <enum>Vertical</enum> | 1144 | <enum>Vertical</enum> |
1311 | </property> | 1145 | </property> |
1312 | <property stdset="1"> | 1146 | <property stdset="1"> |
1313 | <name>sizeType</name> | 1147 | <name>sizeType</name> |
1314 | <enum>Expanding</enum> | 1148 | <enum>Expanding</enum> |
1315 | </property> | 1149 | </property> |
1316 | <property> | 1150 | <property> |
1317 | <name>sizeHint</name> | 1151 | <name>sizeHint</name> |
1318 | <size> | 1152 | <size> |
1319 | <width>20</width> | 1153 | <width>20</width> |
1320 | <height>20</height> | 1154 | <height>20</height> |
1321 | </size> | 1155 | </size> |
1322 | </property> | 1156 | </property> |
1323 | </spacer> | 1157 | </spacer> |
1324 | </vbox> | 1158 | </vbox> |
1325 | </widget> | 1159 | </widget> |
1326 | </widget> | 1160 | </widget> |
1327 | </vbox> | 1161 | </vbox> |
1328 | </widget> | 1162 | </widget> |
1329 | <images> | 1163 | <images> |
1330 | <image> | 1164 | <image> |
1331 | <name>image0</name> | 1165 | <name>image0</name> |
1332 | <data format="XPM.GZ" length="424">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022130543251d2e253d856405bffcbc54105b19c856360003103711c4354b324b364b06719340dcb434b36488ac1e1a2020a6acac8c2ea60cc54862606ea232b218541b5810452c3111432c510f550c22886a1e482c115d0c2c88e6168818babaa4a42462c48082cae8e68102011a06b5d65c004336518f</data> | 1166 | <data format="XPM.GZ" length="424">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022130543251d2e253d856405bffcbc54105b19c856360003103711c4354b324b364b06719340dcb434b36488ac1e1a2020a6acac8c2ea60cc54862606ea232b218541b5810452c3111432c510f550c22886a1e482c115d0c2c88e6168818babaa4a42462c48082cae8e68102011a06b5d65c004336518f</data> |
1333 | </image> | 1167 | </image> |
1334 | <image> | 1168 | <image> |
1335 | <name>image1</name> | 1169 | <name>image1</name> |
1336 | <data format="XPM.GZ" length="439">789c6d8ec10ac2300c86ef7b8ad0ff36a4730777111f41f1288887b4b3e8610a3a0f22bebb6dd3d54d0ca5cdffe54f9aaaa4dd764d6555dc7beecf96ec896f54b68fae7bee0fab57a1ea86fc5950ad6685d2646973bd1c43ce3ec73c46903648e79a5624443a27d20cd2b9382704747e124382f11a7c5e30b364b957b331866331b3800c38f70282121c7c628367c098c1e0eb03121ccd4b46fcb0f80b26bb4833987f76b6d6f274de5fe6a1a031d30969f55e161fe4715f7b</data> | 1170 | <data format="XPM.GZ" length="439">789c6d8ec10ac2300c86ef7b8ad0ff36a4730777111f41f1288887b4b3e8610a3a0f22bebb6dd3d54d0ca5cdffe54f9aaaa4dd764d6555dc7beecf96ec896f54b68fae7bee0fab57a1ea86fc5950ad6685d2646973bd1c43ce3ec73c46903648e79a5624443a27d20cd2b9382704747e124382f11a7c5e30b364b957b331866331b3800c38f70282121c7c628367c098c1e0eb03121ccd4b46fcb0f80b26bb4833987f76b6d6f274de5fe6a1a031d30969f55e161fe4715f7b</data> |
1337 | </image> | 1171 | </image> |
1338 | <image> | 1172 | <image> |
1339 | <name>image2</name> | 1173 | <name>image2</name> |
1340 | <data format="XPM.GZ" length="424">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022130543251d2e253d856405bffcbc54105b19c856360003103711c4354b344b314b04719340dcb434b31488ac1e1a2020a6acac8c2ea60cc54862606ea232b218541b5810452c3111432c510f550c22886a1e482c115d0c2c88e6168818babaa4a42462c48082cae8e68102011a06b5d65c0041d3518e</data> | 1174 | <data format="XPM.GZ" length="424">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022130543251d2e253d856405bffcbc54105b19c856360003103711c4354b344b314b04719340dcb434b31488ac1e1a2020a6acac8c2ea60cc54862606ea232b218541b5810452c3111432c510f550c22886a1e482c115d0c2c88e6168818babaa4a42462c48082cae8e68102011a06b5d65c0041d3518e</data> |
1341 | </image> | 1175 | </image> |
1342 | </images> | 1176 | </images> |
1343 | <connections> | ||
1344 | <connection> | ||
1345 | <sender>screensaver_dim</sender> | ||
1346 | <signal>toggled(bool)</signal> | ||
1347 | <receiver>interval_dim</receiver> | ||
1348 | <slot>setEnabled(bool)</slot> | ||
1349 | </connection> | ||
1350 | <connection> | ||
1351 | <sender>screensaver_lightoff</sender> | ||
1352 | <signal>toggled(bool)</signal> | ||
1353 | <receiver>interval_lightoff</receiver> | ||
1354 | <slot>setEnabled(bool)</slot> | ||
1355 | </connection> | ||
1356 | <connection> | ||
1357 | <sender>noApmAC</sender> | ||
1358 | <signal>toggled(bool)</signal> | ||
1359 | <receiver>screensaver_dim_ac_3</receiver> | ||
1360 | <slot>setDisabled(bool)</slot> | ||
1361 | </connection> | ||
1362 | <connection> | ||
1363 | <sender>noApmAC</sender> | ||
1364 | <signal>toggled(bool)</signal> | ||
1365 | <receiver>interval_dim_ac_3</receiver> | ||
1366 | <slot>setDisabled(bool)</slot> | ||
1367 | </connection> | ||
1368 | <connection> | ||
1369 | <sender>noApmAC</sender> | ||
1370 | <signal>toggled(bool)</signal> | ||
1371 | <receiver>screensaver_lightoff_ac_3</receiver> | ||
1372 | <slot>setDisabled(bool)</slot> | ||
1373 | </connection> | ||
1374 | <connection> | ||
1375 | <sender>noApmAC</sender> | ||
1376 | <signal>toggled(bool)</signal> | ||
1377 | <receiver>interval_lightoff_ac_3</receiver> | ||
1378 | <slot>setDisabled(bool)</slot> | ||
1379 | </connection> | ||
1380 | <connection> | ||
1381 | <sender>noApmAC</sender> | ||
1382 | <signal>toggled(bool)</signal> | ||
1383 | <receiver>interval_suspend_ac_3</receiver> | ||
1384 | <slot>setDisabled(bool)</slot> | ||
1385 | </connection> | ||
1386 | <connection> | ||
1387 | <sender>noApmAC</sender> | ||
1388 | <signal>toggled(bool)</signal> | ||
1389 | <receiver>LcdOffOnly_2_3</receiver> | ||
1390 | <slot>setDisabled(bool)</slot> | ||
1391 | </connection> | ||
1392 | <connection> | ||
1393 | <sender>noApmAC</sender> | ||
1394 | <signal>toggled(bool)</signal> | ||
1395 | <receiver>TextLabel1_2_2_3</receiver> | ||
1396 | <slot>setDisabled(bool)</slot> | ||
1397 | </connection> | ||
1398 | </connections> | ||
1399 | <tabstops> | 1177 | <tabstops> |
1400 | <tabstop>auto_brightness</tabstop> | 1178 | <tabstop>auto_brightness</tabstop> |
1401 | <tabstop>screensaver_dim</tabstop> | ||
1402 | <tabstop>interval_dim</tabstop> | 1179 | <tabstop>interval_dim</tabstop> |
1403 | <tabstop>screensaver_lightoff</tabstop> | ||
1404 | <tabstop>interval_lightoff</tabstop> | 1180 | <tabstop>interval_lightoff</tabstop> |
1405 | <tabstop>interval_suspend</tabstop> | 1181 | <tabstop>interval_suspend</tabstop> |
1406 | <tabstop>brightness</tabstop> | 1182 | <tabstop>brightness</tabstop> |
1407 | </tabstops> | 1183 | </tabstops> |
1408 | </UI> | 1184 | </UI> |