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