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