summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/light.cpp64
-rw-r--r--core/settings/light-and-power/lightsettingsbase.ui86
2 files changed, 36 insertions, 114 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp
index a58b1c1..8b98672 100644
--- a/core/settings/light-and-power/light.cpp
+++ b/core/settings/light-and-power/light.cpp
@@ -35,237 +35,223 @@
35#include <qpe/qcopenvelope_qws.h> 35#include <qpe/qcopenvelope_qws.h>
36#endif 36#endif
37 37
38#include <qcheckbox.h> 38#include <qcheckbox.h>
39#include <qtabwidget.h> 39#include <qtabwidget.h>
40#include <qslider.h> 40#include <qslider.h>
41#include <qtimer.h> 41#include <qtimer.h>
42#include <qspinbox.h> 42#include <qspinbox.h>
43#include <qpushbutton.h> 43#include <qpushbutton.h>
44#include <qgroupbox.h> 44#include <qgroupbox.h>
45 45
46#include <opie/odevice.h> 46#include <opie/odevice.h>
47 47
48#include "sensor.h" 48#include "sensor.h"
49 49
50using namespace Opie; 50using namespace Opie;
51 51
52LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) 52LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
53 : LightSettingsBase( parent, name, false, WStyle_ContextHelp ) 53 : LightSettingsBase( parent, name, false, WStyle_ContextHelp )
54{ 54{
55 m_bres = ODevice::inst ( )-> displayBrightnessResolution ( ); 55 m_bres = ODevice::inst ( )-> displayBrightnessResolution ( );
56 m_cres = ODevice::inst ( )-> displayContrastResolution ( ); 56 m_cres = ODevice::inst ( )-> displayContrastResolution ( );
57 57
58 if ( !ODevice::inst ( )-> hasLightSensor ( )) { 58 if ( !ODevice::inst ( )-> hasLightSensor ( )) {
59 auto_brightness-> hide ( ); 59 auto_brightness-> hide ( );
60 CalibrateLightSensor-> hide ( ); 60 CalibrateLightSensor-> hide ( );
61 auto_brightness_ac-> hide ( ); 61 auto_brightness_ac-> hide ( );
62 CalibrateLightSensor_ac-> hide ( ); 62 CalibrateLightSensor_ac-> hide ( );
63 } 63 }
64 if (m_cres) { 64 if (m_cres) {
65 GroupLight->setTitle(tr("Backlight & Contrast")); 65 GroupLight->setTitle(tr("Backlight & Contrast"));
66 } else { 66 } else {
67 contrast->hide(); 67 contrast->hide();
68 contrast_ac->hide(); 68 contrast_ac->hide();
69 } 69 }
70 70
71 Config config ( "apm" ); 71 Config config ( "apm" );
72 config. setGroup ( "Battery" ); 72 config. setGroup ( "Battery" );
73 73
74 // battery spinboxes 74 // battery spinboxes
75 interval_dim-> setValue ( config. readNumEntry ( "Dim", 30 )); 75 interval_dim-> setValue ( config. readNumEntry ( "Dim", 30 ));
76 interval_lightoff-> setValue ( config. readNumEntry ( "LightOff", 20 )); 76 interval_lightoff-> setValue ( config. readNumEntry ( "LightOff", 20 ));
77 interval_suspend-> setValue ( config. readNumEntry ( "Suspend", 60 )); 77 interval_suspend-> setValue ( config. readNumEntry ( "Suspend", 60 ));
78 78
79 // battery check and slider 79 // battery check and slider
80 LcdOffOnly-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); 80 LcdOffOnly-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false ));
81 81
82 int bright = config. readNumEntry ( "Brightness", 127 ); 82 int bright = config. readNumEntry ( "Brightness", 127 );
83 int contr = config. readNumEntry ( "Contrast", 127 ); 83 int contr = m_oldcontrast = config. readNumEntry ( "Contrast", 127 );
84 brightness-> setMaxValue ( m_bres - 1 ); 84 brightness-> setTickInterval ( QMAX( 16, 256 / m_bres ));
85 brightness-> setTickInterval ( QMAX( 1, m_bres / 16 )); 85 brightness-> setLineStep ( QMAX( 1, 256 / m_bres ));
86 brightness-> setLineStep ( QMAX( 1, m_bres / 16 )); 86 brightness-> setPageStep ( QMAX( 1, 256 / m_bres ));
87 brightness-> setPageStep ( QMAX( 1, m_bres / 16 )); 87 brightness-> setValue ( bright );
88 brightness-> setValue (( bright * ( m_bres - 1 ) + 127 ) / 255 );
89 88
90 if (m_cres) { 89 if (m_cres) {
91 contrast-> setMaxValue ( m_cres - 1 ); 90 contrast-> setTickInterval ( QMAX( 16, 256 / m_cres ));
92 contrast-> setTickInterval ( QMAX( 1, m_cres / 16 )); 91 contrast-> setLineStep ( QMAX( 1, 256 / m_cres ));
93 contrast-> setLineStep ( QMAX( 1, m_cres / 16 )); 92 contrast-> setPageStep ( QMAX( 1, 256 / m_cres ));
94 contrast-> setPageStep ( QMAX( 1, m_cres / 16 )); 93 contrast-> setValue ( contr );
95 contrast-> setValue (( contr * ( m_cres - 1 ) + 127 ) / 255 );
96 } 94 }
97 95
98 // light sensor 96 // light sensor
99 auto_brightness-> setChecked ( config. readBoolEntry ( "LightSensor", false )); 97 auto_brightness-> setChecked ( config. readBoolEntry ( "LightSensor", false ));
100 m_sensordata = config. readListEntry ( "LightSensorData", ';' ); 98 m_sensordata = config. readListEntry ( "LightSensorData", ';' );
101 99
102 config. setGroup ( "AC" ); 100 config. setGroup ( "AC" );
103 101
104 // ac spinboxes 102 // ac spinboxes
105 interval_dim_ac-> setValue ( config. readNumEntry ( "Dim", 60 )); 103 interval_dim_ac-> setValue ( config. readNumEntry ( "Dim", 60 ));
106 interval_lightoff_ac-> setValue ( config. readNumEntry ( "LightOff", 120 )); 104 interval_lightoff_ac-> setValue ( config. readNumEntry ( "LightOff", 120 ));
107 interval_suspend_ac-> setValue ( config. readNumEntry ( "Suspend", 0 )); 105 interval_suspend_ac-> setValue ( config. readNumEntry ( "Suspend", 0 ));
108 106
109 // ac check and slider 107 // ac check and slider
110 LcdOffOnly_ac-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false )); 108 LcdOffOnly_ac-> setChecked ( config. readBoolEntry ( "LcdOffOnly", false ));
111 109
112 bright = config. readNumEntry ( "Brightness", 255 ); 110 bright = config. readNumEntry ( "Brightness", 255 );
113 brightness_ac-> setMaxValue ( m_bres - 1 ); 111 brightness_ac-> setTickInterval ( QMAX( 16, 256 / m_bres ));
114 brightness_ac-> setTickInterval ( QMAX( 1, m_bres / 16 )); 112 brightness_ac-> setLineStep ( QMAX( 1, 256 / m_bres ));
115 brightness_ac-> setLineStep ( QMAX( 1, m_bres / 16 )); 113 brightness_ac-> setPageStep ( QMAX( 1, 256 / m_bres ));
116 brightness_ac-> setPageStep ( QMAX( 1, m_bres / 16 )); 114 brightness_ac-> setValue ( bright );
117 brightness_ac-> setValue (( bright * ( m_bres - 1 ) + 127 ) / 255 );
118 115
119 if (m_cres) { 116 if (m_cres) {
120 contr = config. readNumEntry ( "Contrast", 127); 117 contr = config. readNumEntry ( "Contrast", 127);
121 contrast_ac-> setMaxValue ( m_cres - 1 ); 118 contrast_ac-> setTickInterval ( QMAX( 16, 256 / m_cres ));
122 contrast_ac-> setTickInterval ( QMAX( 1, m_cres / 16 )); 119 contrast_ac-> setLineStep ( QMAX( 1, 256 / m_cres ));
123 contrast_ac-> setLineStep ( QMAX( 1, m_cres / 16 )); 120 contrast_ac-> setPageStep ( QMAX( 1, 256 / m_cres ));
124 contrast_ac-> setPageStep ( QMAX( 1, m_cres / 16 )); 121 contrast_ac-> setValue ( contr );
125 contrast_ac-> setValue (( contr * ( m_cres - 1 ) + 127 ) / 255 );
126 } 122 }
127 123
128 // light sensor 124 // light sensor
129 auto_brightness_ac-> setChecked ( config. readBoolEntry ( "LightSensor", false )); 125 auto_brightness_ac-> setChecked ( config. readBoolEntry ( "LightSensor", false ));
130 m_sensordata_ac = config. readListEntry ( "LightSensorData", ';' ); 126 m_sensordata_ac = config. readListEntry ( "LightSensorData", ';' );
131 127
132 // advanced settings 128 // advanced settings
133 config. setGroup ( "Warnings" ); 129 config. setGroup ( "Warnings" );
134 warnintervalBox-> setValue ( config. readNumEntry ( "checkinterval", 10000 ) / 1000 ); 130 warnintervalBox-> setValue ( config. readNumEntry ( "checkinterval", 10000 ) / 1000 );
135 lowSpinBox-> setValue ( config. readNumEntry ( "powerverylow", 10 ) ); 131 lowSpinBox-> setValue ( config. readNumEntry ( "powerverylow", 10 ) );
136 criticalSpinBox-> setValue ( config. readNumEntry ( "powercritical", 5 ) ); 132 criticalSpinBox-> setValue ( config. readNumEntry ( "powercritical", 5 ) );
137 133
138 m_resettimer = new QTimer ( this ); 134 m_resettimer = new QTimer ( this );
139 connect ( m_resettimer, SIGNAL( timeout ( )), this, SLOT( resetBacklight ( ))); 135 connect ( m_resettimer, SIGNAL( timeout ( )), this, SLOT( resetBacklight ( )));
140 136
141 if ( PowerStatusManager::readStatus ( ). acStatus ( ) != PowerStatus::Online ) { 137 if ( PowerStatusManager::readStatus ( ). acStatus ( ) != PowerStatus::Online ) {
142 tabs-> setCurrentPage ( 0 ); 138 tabs-> setCurrentPage ( 0 );
143 } 139 }
144 else { 140 else {
145 tabs-> setCurrentPage ( 1 ); 141 tabs-> setCurrentPage ( 1 );
146 } 142 }
147 143
148 connect ( brightness, SIGNAL( valueChanged ( int )), this, SLOT( setBacklight ( int ))); 144 connect ( brightness, SIGNAL( valueChanged ( int )), this, SLOT( setBacklight ( int )));
149 connect ( brightness_ac, SIGNAL( valueChanged ( int )), this, SLOT( setBacklight ( int ))); 145 connect ( brightness_ac, SIGNAL( valueChanged ( int )), this, SLOT( setBacklight ( int )));
150 if (m_havecontrast) { 146 if (m_cres) {
151 connect ( contrast, SIGNAL( valueChanged ( int )), this, SLOT( setContrast ( int ))); 147 connect ( contrast, SIGNAL( valueChanged ( int )), this, SLOT( setContrast ( int )));
152 connect ( contrast_ac, SIGNAL( valueChanged ( int )), this, SLOT( setContrast ( int ))); 148 connect ( contrast_ac, SIGNAL( valueChanged ( int )), this, SLOT( setContrast ( int )));
153 } 149 }
154} 150}
155 151
156LightSettings::~LightSettings ( ) 152LightSettings::~LightSettings ( )
157{ 153{
158} 154}
159 155
160void LightSettings::calibrateSensor ( ) 156void LightSettings::calibrateSensor ( )
161{ 157{
162 Sensor *s = new Sensor ( m_sensordata, this ); 158 Sensor *s = new Sensor ( m_sensordata, this );
163 connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int ))); 159 connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int )));
164 s-> showMaximized ( ); 160 s-> showMaximized ( );
165 s-> exec ( ); 161 s-> exec ( );
166 delete s; 162 delete s;
167} 163}
168 164
169void LightSettings::calibrateSensorAC ( ) 165void LightSettings::calibrateSensorAC ( )
170{ 166{
171 Sensor *s = new Sensor ( m_sensordata_ac, this ); 167 Sensor *s = new Sensor ( m_sensordata_ac, this );
172 connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int ))); 168 connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int )));
173 s-> showMaximized ( ); 169 s-> showMaximized ( );
174 s-> exec ( ); 170 s-> exec ( );
175 delete s; 171 delete s;
176} 172}
177 173
178void LightSettings::setBacklight ( int bright ) 174void LightSettings::setBacklight ( int bright )
179{ 175{
180 if ( bright >= 0 )
181 bright = bright * 255 / ( m_bres - 1 );
182
183 QCopEnvelope e ( "QPE/System", "setBacklight(int)" ); 176 QCopEnvelope e ( "QPE/System", "setBacklight(int)" );
184 e << bright; 177 e << bright;
185 178
186 if ( bright != -1 ) { 179 if ( bright != -1 ) {
187 m_resettimer-> stop ( ); 180 m_resettimer-> stop ( );
188 m_resettimer-> start ( 2000, true ); 181 m_resettimer-> start ( 4000, true );
189 } 182 }
190} 183}
191 184
192void LightSettings::setContrast ( int contr ) 185void LightSettings::setContrast ( int contr )
193{ 186{
194 if ( contr >= 0 ) 187 if (contr == -1) contr = m_oldcontrast;
195 contr = contr * 255 / ( m_cres - 1 );
196
197 QCopEnvelope e ( "QPE/System", "setContrast(int)" );
198 e << contr;
199 188
200 if ( contr != -1 ) { 189 ODevice::inst ( )-> setDisplayContrast(contr);
201 m_resettimer-> stop ( );
202 m_resettimer-> start ( 2000, true );
203 }
204} 190}
205 191
206void LightSettings::resetBacklight ( ) 192void LightSettings::resetBacklight ( )
207{ 193{
208 setBacklight ( -1 ); 194 setBacklight ( -1 );
209 setContrast ( -1 ); 195 setContrast ( -1 );
210} 196}
211 197
212void LightSettings::accept ( ) 198void LightSettings::accept ( )
213{ 199{
214 Config config ( "apm" ); 200 Config config ( "apm" );
215 201
216 // bat 202 // bat
217 config. setGroup ( "Battery" ); 203 config. setGroup ( "Battery" );
218 config. writeEntry ( "LcdOffOnly", LcdOffOnly-> isChecked ( )); 204 config. writeEntry ( "LcdOffOnly", LcdOffOnly-> isChecked ( ));
219 config. writeEntry ( "Dim", interval_dim-> value ( )); 205 config. writeEntry ( "Dim", interval_dim-> value ( ));
220 config. writeEntry ( "LightOff", interval_lightoff-> value ( )); 206 config. writeEntry ( "LightOff", interval_lightoff-> value ( ));
221 config. writeEntry ( "Suspend", interval_suspend-> value ( )); 207 config. writeEntry ( "Suspend", interval_suspend-> value ( ));
222 config. writeEntry ( "Brightness", brightness-> value ( ) * 255 / ( m_bres - 1 ) ); 208 config. writeEntry ( "Brightness", brightness-> value () );
223 if (m_cres) 209 if (m_cres)
224 config. writeEntry ( "Contrast", contrast-> value ( ) * 255 / ( m_cres - 1 ) ); 210 config. writeEntry ( "Contrast", contrast-> value () );
225 211
226 // ac 212 // ac
227 config. setGroup ( "AC" ); 213 config. setGroup ( "AC" );
228 config. writeEntry ( "LcdOffOnly", LcdOffOnly_ac-> isChecked ( )); 214 config. writeEntry ( "LcdOffOnly", LcdOffOnly_ac-> isChecked ( ));
229 config. writeEntry ( "Dim", interval_dim_ac-> value ( )); 215 config. writeEntry ( "Dim", interval_dim_ac-> value ( ));
230 config. writeEntry ( "LightOff", interval_lightoff_ac-> value ( )); 216 config. writeEntry ( "LightOff", interval_lightoff_ac-> value ( ));
231 config. writeEntry ( "Suspend", interval_suspend_ac-> value ( )); 217 config. writeEntry ( "Suspend", interval_suspend_ac-> value ( ));
232 config. writeEntry ( "Brightness", brightness_ac-> value ( ) * 255 / ( m_bres - 1 )); 218 config. writeEntry ( "Brightness", brightness_ac-> value () );
233 if (m_cres) 219 if (m_cres)
234 config. writeEntry ( "Contrast", contrast_ac-> value ( ) * 255 / ( m_cres - 1 )); 220 config. writeEntry ( "Contrast", contrast_ac-> value () );
235 221
236 // only make light sensor stuff appear if the unit has a sensor 222 // only make light sensor stuff appear if the unit has a sensor
237 if ( ODevice::inst ( )-> hasLightSensor ( )) { 223 if ( ODevice::inst ( )-> hasLightSensor ( )) {
238 config. setGroup ( "Battery" ); 224 config. setGroup ( "Battery" );
239 config. writeEntry ( "LightSensor", auto_brightness->isChecked() ); 225 config. writeEntry ( "LightSensor", auto_brightness->isChecked() );
240 config. writeEntry ( "LightSensorData", m_sensordata, ';' ); 226 config. writeEntry ( "LightSensorData", m_sensordata, ';' );
241 config. setGroup ( "AC" ); 227 config. setGroup ( "AC" );
242 config. writeEntry ( "LightSensor", auto_brightness_ac->isChecked() ); 228 config. writeEntry ( "LightSensor", auto_brightness_ac->isChecked() );
243 config. writeEntry ( "LightSensorData", m_sensordata_ac, ';' ); 229 config. writeEntry ( "LightSensorData", m_sensordata_ac, ';' );
244 } 230 }
245 231
246 // advanced 232 // advanced
247 config. setGroup ( "Warnings" ); 233 config. setGroup ( "Warnings" );
248 config. writeEntry ( "check_interval", warnintervalBox-> value ( ) * 1000 ); 234 config. writeEntry ( "check_interval", warnintervalBox-> value ( ) * 1000 );
249 config. writeEntry ( "power_verylow", lowSpinBox-> value ( )); 235 config. writeEntry ( "power_verylow", lowSpinBox-> value ( ));
250 config. writeEntry ( "power_critical", criticalSpinBox-> value ( )); 236 config. writeEntry ( "power_critical", criticalSpinBox-> value ( ));
251 config. write ( ); 237 config. write ( );
252 238
253 // notify the launcher 239 // notify the launcher
254 { 240 {
255 QCopEnvelope e ( "QPE/System", "reloadPowerWarnSettings()" ); 241 QCopEnvelope e ( "QPE/System", "reloadPowerWarnSettings()" );
256 } 242 }
257 { 243 {
258 QCopEnvelope e ( "QPE/System", "setScreenSaverInterval(int)" ); 244 QCopEnvelope e ( "QPE/System", "setScreenSaverInterval(int)" );
259 e << -1; 245 e << -1;
260 } 246 }
261 LightSettingsBase::accept ( ); 247 LightSettingsBase::accept ( );
262} 248}
263 249
264void LightSettings::done ( int r ) 250void LightSettings::done ( int r )
265{ 251{
266 m_resettimer-> stop ( ); 252 m_resettimer-> stop ( );
267 resetBacklight ( ); 253 resetBacklight ( );
268 254
269 LightSettingsBase::done ( r ); 255 LightSettingsBase::done ( r );
270 close ( ); 256 close ( );
271} 257}
diff --git a/core/settings/light-and-power/lightsettingsbase.ui b/core/settings/light-and-power/lightsettingsbase.ui
index 8fdd604..884c21c 100644
--- a/core/settings/light-and-power/lightsettingsbase.ui
+++ b/core/settings/light-and-power/lightsettingsbase.ui
@@ -1,495 +1,463 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>LightSettingsBase</class> 2<class>LightSettingsBase</class>
3<widget> 3<widget>
4 <class>QDialog</class> 4 <class>QDialog</class>
5 <property stdset="1"> 5 <property stdset="1">
6 <name>name</name> 6 <name>name</name>
7 <cstring>LightSettingsBase</cstring> 7 <cstring>LightSettingsBase</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>355</width> 14 <width>347</width>
15 <height>532</height> 15 <height>532</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>sizePolicy</name> 19 <name>sizePolicy</name>
20 <sizepolicy> 20 <sizepolicy>
21 <hsizetype>7</hsizetype> 21 <hsizetype>7</hsizetype>
22 <vsizetype>5</vsizetype> 22 <vsizetype>5</vsizetype>
23 </sizepolicy> 23 </sizepolicy>
24 </property> 24 </property>
25 <property stdset="1"> 25 <property stdset="1">
26 <name>caption</name> 26 <name>caption</name>
27 <string>Light and Power Settings</string> 27 <string>Light and Power Settings</string>
28 </property> 28 </property>
29 <property stdset="1"> 29 <property stdset="1">
30 <name>sizeGripEnabled</name> 30 <name>sizeGripEnabled</name>
31 <bool>false</bool> 31 <bool>false</bool>
32 </property> 32 </property>
33 <property> 33 <property>
34 <name>layoutMargin</name> 34 <name>layoutMargin</name>
35 </property> 35 </property>
36 <property> 36 <property>
37 <name>layoutSpacing</name> 37 <name>layoutSpacing</name>
38 </property> 38 </property>
39 <vbox> 39 <vbox>
40 <property stdset="1"> 40 <property stdset="1">
41 <name>margin</name> 41 <name>margin</name>
42 <number>3</number> 42 <number>3</number>
43 </property> 43 </property>
44 <property stdset="1"> 44 <property stdset="1">
45 <name>spacing</name> 45 <name>spacing</name>
46 <number>3</number> 46 <number>3</number>
47 </property> 47 </property>
48 <widget> 48 <widget>
49 <class>QTabWidget</class> 49 <class>QTabWidget</class>
50 <property stdset="1"> 50 <property stdset="1">
51 <name>name</name> 51 <name>name</name>
52 <cstring>tabs</cstring> 52 <cstring>tabs</cstring>
53 </property> 53 </property>
54 <property> 54 <property>
55 <name>layoutMargin</name> 55 <name>layoutMargin</name>
56 </property> 56 </property>
57 <property> 57 <property>
58 <name>layoutSpacing</name> 58 <name>layoutSpacing</name>
59 </property> 59 </property>
60 <widget> 60 <widget>
61 <class>QWidget</class> 61 <class>QWidget</class>
62 <property stdset="1"> 62 <property stdset="1">
63 <name>name</name> 63 <name>name</name>
64 <cstring>tab</cstring> 64 <cstring>tab</cstring>
65 </property> 65 </property>
66 <attribute> 66 <attribute>
67 <name>title</name> 67 <name>title</name>
68 <string>on Battery</string> 68 <string>on Battery</string>
69 </attribute> 69 </attribute>
70 <vbox> 70 <vbox>
71 <property stdset="1"> 71 <property stdset="1">
72 <name>margin</name> 72 <name>margin</name>
73 <number>5</number> 73 <number>5</number>
74 </property> 74 </property>
75 <property stdset="1"> 75 <property stdset="1">
76 <name>spacing</name> 76 <name>spacing</name>
77 <number>3</number> 77 <number>3</number>
78 </property> 78 </property>
79 <widget> 79 <widget>
80 <class>QGroupBox</class> 80 <class>QGroupBox</class>
81 <property stdset="1"> 81 <property stdset="1">
82 <name>name</name> 82 <name>name</name>
83 <cstring>GroupBox3</cstring> 83 <cstring>Group1</cstring>
84 </property> 84 </property>
85 <property stdset="1"> 85 <property stdset="1">
86 <name>enabled</name> 86 <name>enabled</name>
87 <bool>true</bool> 87 <bool>true</bool>
88 </property> 88 </property>
89 <property stdset="1"> 89 <property stdset="1">
90 <name>title</name> 90 <name>title</name>
91 <string>General Settings</string> 91 <string>General Settings</string>
92 </property> 92 </property>
93 <property> 93 <property>
94 <name>layoutMargin</name> 94 <name>layoutMargin</name>
95 </property> 95 </property>
96 <property> 96 <property>
97 <name>layoutSpacing</name> 97 <name>layoutSpacing</name>
98 </property> 98 </property>
99 <grid> 99 <grid>
100 <property stdset="1"> 100 <property stdset="1">
101 <name>margin</name> 101 <name>margin</name>
102 <number>5</number> 102 <number>5</number>
103 </property> 103 </property>
104 <property stdset="1"> 104 <property stdset="1">
105 <name>spacing</name> 105 <name>spacing</name>
106 <number>3</number> 106 <number>3</number>
107 </property> 107 </property>
108 <widget row="1" column="1" > 108 <widget row="1" column="1" >
109 <class>QSpinBox</class> 109 <class>QSpinBox</class>
110 <property stdset="1"> 110 <property stdset="1">
111 <name>name</name> 111 <name>name</name>
112 <cstring>interval_lightoff</cstring> 112 <cstring>interval_lightoff</cstring>
113 </property> 113 </property>
114 <property stdset="1"> 114 <property stdset="1">
115 <name>suffix</name> 115 <name>suffix</name>
116 <string> sec</string> 116 <string> sec</string>
117 </property> 117 </property>
118 <property stdset="1"> 118 <property stdset="1">
119 <name>specialValueText</name> 119 <name>specialValueText</name>
120 <string>never</string> 120 <string>never</string>
121 </property> 121 </property>
122 <property stdset="1"> 122 <property stdset="1">
123 <name>buttonSymbols</name> 123 <name>buttonSymbols</name>
124 <enum>PlusMinus</enum> 124 <enum>PlusMinus</enum>
125 </property> 125 </property>
126 <property stdset="1"> 126 <property stdset="1">
127 <name>maxValue</name> 127 <name>maxValue</name>
128 <number>3600</number> 128 <number>3600</number>
129 </property> 129 </property>
130 <property stdset="1"> 130 <property stdset="1">
131 <name>minValue</name> 131 <name>minValue</name>
132 <number>0</number> 132 <number>0</number>
133 </property> 133 </property>
134 <property stdset="1"> 134 <property stdset="1">
135 <name>lineStep</name> 135 <name>lineStep</name>
136 <number>10</number> 136 <number>10</number>
137 </property> 137 </property>
138 </widget> 138 </widget>
139 <widget row="1" column="0" > 139 <widget row="1" column="0" >
140 <class>QLabel</class> 140 <class>QLabel</class>
141 <property stdset="1"> 141 <property stdset="1">
142 <name>name</name> 142 <name>name</name>
143 <cstring>TextLabel2_2</cstring> 143 <cstring>TL2</cstring>
144 </property> 144 </property>
145 <property stdset="1"> 145 <property stdset="1">
146 <name>sizePolicy</name> 146 <name>sizePolicy</name>
147 <sizepolicy> 147 <sizepolicy>
148 <hsizetype>3</hsizetype> 148 <hsizetype>3</hsizetype>
149 <vsizetype>1</vsizetype> 149 <vsizetype>1</vsizetype>
150 </sizepolicy> 150 </sizepolicy>
151 </property> 151 </property>
152 <property stdset="1"> 152 <property stdset="1">
153 <name>text</name> 153 <name>text</name>
154 <string>Light off after</string> 154 <string>Light off after</string>
155 </property> 155 </property>
156 </widget> 156 </widget>
157 <widget row="0" column="0" > 157 <widget row="0" column="0" >
158 <class>QLabel</class> 158 <class>QLabel</class>
159 <property stdset="1"> 159 <property stdset="1">
160 <name>name</name> 160 <name>name</name>
161 <cstring>TextLabel1_3</cstring> 161 <cstring>TL1</cstring>
162 </property> 162 </property>
163 <property stdset="1"> 163 <property stdset="1">
164 <name>sizePolicy</name> 164 <name>sizePolicy</name>
165 <sizepolicy> 165 <sizepolicy>
166 <hsizetype>3</hsizetype> 166 <hsizetype>3</hsizetype>
167 <vsizetype>1</vsizetype> 167 <vsizetype>1</vsizetype>
168 </sizepolicy> 168 </sizepolicy>
169 </property> 169 </property>
170 <property stdset="1"> 170 <property stdset="1">
171 <name>text</name> 171 <name>text</name>
172 <string>Dim light after</string> 172 <string>Dim light after</string>
173 </property> 173 </property>
174 </widget> 174 </widget>
175 <widget row="0" column="1" > 175 <widget row="0" column="1" >
176 <class>QSpinBox</class> 176 <class>QSpinBox</class>
177 <property stdset="1"> 177 <property stdset="1">
178 <name>name</name> 178 <name>name</name>
179 <cstring>interval_dim</cstring> 179 <cstring>interval_dim</cstring>
180 </property> 180 </property>
181 <property stdset="1"> 181 <property stdset="1">
182 <name>suffix</name> 182 <name>suffix</name>
183 <string> sec</string> 183 <string> sec</string>
184 </property> 184 </property>
185 <property stdset="1"> 185 <property stdset="1">
186 <name>specialValueText</name> 186 <name>specialValueText</name>
187 <string>never</string> 187 <string>never</string>
188 </property> 188 </property>
189 <property stdset="1"> 189 <property stdset="1">
190 <name>buttonSymbols</name> 190 <name>buttonSymbols</name>
191 <enum>PlusMinus</enum> 191 <enum>PlusMinus</enum>
192 </property> 192 </property>
193 <property stdset="1"> 193 <property stdset="1">
194 <name>maxValue</name> 194 <name>maxValue</name>
195 <number>3600</number> 195 <number>3600</number>
196 </property> 196 </property>
197 <property stdset="1"> 197 <property stdset="1">
198 <name>minValue</name> 198 <name>minValue</name>
199 <number>0</number> 199 <number>0</number>
200 </property> 200 </property>
201 <property stdset="1"> 201 <property stdset="1">
202 <name>lineStep</name> 202 <name>lineStep</name>
203 <number>10</number> 203 <number>10</number>
204 </property> 204 </property>
205 </widget> 205 </widget>
206 <widget row="2" column="1" > 206 <widget row="2" column="1" >
207 <class>QSpinBox</class> 207 <class>QSpinBox</class>
208 <property stdset="1"> 208 <property stdset="1">
209 <name>name</name> 209 <name>name</name>
210 <cstring>interval_suspend</cstring> 210 <cstring>interval_suspend</cstring>
211 </property> 211 </property>
212 <property stdset="1"> 212 <property stdset="1">
213 <name>suffix</name> 213 <name>suffix</name>
214 <string> sec</string> 214 <string> sec</string>
215 </property> 215 </property>
216 <property stdset="1"> 216 <property stdset="1">
217 <name>specialValueText</name> 217 <name>specialValueText</name>
218 <string>never</string> 218 <string>never</string>
219 </property> 219 </property>
220 <property stdset="1"> 220 <property stdset="1">
221 <name>buttonSymbols</name> 221 <name>buttonSymbols</name>
222 <enum>PlusMinus</enum> 222 <enum>PlusMinus</enum>
223 </property> 223 </property>
224 <property stdset="1"> 224 <property stdset="1">
225 <name>maxValue</name> 225 <name>maxValue</name>
226 <number>3600</number> 226 <number>3600</number>
227 </property> 227 </property>
228 <property stdset="1"> 228 <property stdset="1">
229 <name>minValue</name> 229 <name>minValue</name>
230 <number>0</number> 230 <number>0</number>
231 </property> 231 </property>
232 <property stdset="1"> 232 <property stdset="1">
233 <name>lineStep</name> 233 <name>lineStep</name>
234 <number>10</number> 234 <number>10</number>
235 </property> 235 </property>
236 </widget> 236 </widget>
237 <widget row="2" column="0" > 237 <widget row="2" column="0" >
238 <class>QLabel</class> 238 <class>QLabel</class>
239 <property stdset="1"> 239 <property stdset="1">
240 <name>name</name> 240 <name>name</name>
241 <cstring>TextLabel1_2</cstring> 241 <cstring>TL3</cstring>
242 </property> 242 </property>
243 <property stdset="1"> 243 <property stdset="1">
244 <name>sizePolicy</name> 244 <name>sizePolicy</name>
245 <sizepolicy> 245 <sizepolicy>
246 <hsizetype>3</hsizetype> 246 <hsizetype>3</hsizetype>
247 <vsizetype>1</vsizetype> 247 <vsizetype>1</vsizetype>
248 </sizepolicy> 248 </sizepolicy>
249 </property> 249 </property>
250 <property stdset="1"> 250 <property stdset="1">
251 <name>text</name> 251 <name>text</name>
252 <string>Suspend after</string> 252 <string>Suspend after</string>
253 </property> 253 </property>
254 </widget> 254 </widget>
255 <widget row="3" column="0" rowspan="1" colspan="2" > 255 <widget row="3" column="0" rowspan="1" colspan="2" >
256 <class>QCheckBox</class> 256 <class>QCheckBox</class>
257 <property stdset="1"> 257 <property stdset="1">
258 <name>name</name> 258 <name>name</name>
259 <cstring>LcdOffOnly</cstring> 259 <cstring>LcdOffOnly</cstring>
260 </property> 260 </property>
261 <property stdset="1"> 261 <property stdset="1">
262 <name>sizePolicy</name> 262 <name>sizePolicy</name>
263 <sizepolicy> 263 <sizepolicy>
264 <hsizetype>7</hsizetype> 264 <hsizetype>7</hsizetype>
265 <vsizetype>0</vsizetype> 265 <vsizetype>0</vsizetype>
266 </sizepolicy> 266 </sizepolicy>
267 </property> 267 </property>
268 <property stdset="1"> 268 <property stdset="1">
269 <name>text</name> 269 <name>text</name>
270 <string>Deactivate LCD only (does not suspend)</string> 270 <string>Deactivate LCD only (does not suspend)</string>
271 </property> 271 </property>
272 </widget> 272 </widget>
273 </grid> 273 </grid>
274 </widget> 274 </widget>
275 <widget> 275 <widget>
276 <class>QGroupBox</class> 276 <class>QGroupBox</class>
277 <property stdset="1"> 277 <property stdset="1">
278 <name>name</name> 278 <name>name</name>
279 <cstring>GroupLight</cstring> 279 <cstring>GroupLight</cstring>
280 </property> 280 </property>
281 <property stdset="1"> 281 <property stdset="1">
282 <name>title</name> 282 <name>title</name>
283 <string>Backlight</string> 283 <string>Backlight</string>
284 </property> 284 </property>
285 <property> 285 <property>
286 <name>layoutMargin</name> 286 <name>layoutMargin</name>
287 </property> 287 </property>
288 <property> 288 <property>
289 <name>layoutSpacing</name> 289 <name>layoutSpacing</name>
290 </property> 290 </property>
291 <vbox> 291 <vbox>
292 <property stdset="1"> 292 <property stdset="1">
293 <name>margin</name> 293 <name>margin</name>
294 <number>11</number> 294 <number>11</number>
295 </property> 295 </property>
296 <property stdset="1"> 296 <property stdset="1">
297 <name>spacing</name> 297 <name>spacing</name>
298 <number>6</number> 298 <number>6</number>
299 </property> 299 </property>
300 <widget> 300 <widget>
301 <class>QSlider</class> 301 <class>QSlider</class>
302 <property stdset="1"> 302 <property stdset="1">
303 <name>name</name> 303 <name>name</name>
304 <cstring>brightness</cstring> 304 <cstring>brightness</cstring>
305 </property> 305 </property>
306 <property stdset="1"> 306 <property stdset="1">
307 <name>maxValue</name> 307 <name>maxValue</name>
308 <number>255</number> 308 <number>255</number>
309 </property> 309 </property>
310 <property stdset="1"> 310 <property stdset="1">
311 <name>lineStep</name>
312 <number>1</number>
313 </property>
314 <property stdset="1">
315 <name>pageStep</name>
316 <number>16</number>
317 </property>
318 <property stdset="1">
319 <name>tracking</name>
320 <bool>true</bool>
321 </property>
322 <property stdset="1">
323 <name>orientation</name> 311 <name>orientation</name>
324 <enum>Horizontal</enum> 312 <enum>Horizontal</enum>
325 </property> 313 </property>
326 <property stdset="1"> 314 <property stdset="1">
327 <name>tickmarks</name> 315 <name>tickmarks</name>
328 <enum>Right</enum> 316 <enum>Right</enum>
329 </property> 317 </property>
330 <property stdset="1">
331 <name>tickInterval</name>
332 <number>32</number>
333 </property>
334 <property> 318 <property>
335 <name>whatsThis</name> 319 <name>whatsThis</name>
336 <string>set a fix value for backlight</string> 320 <string>set a fix value for backlight</string>
337 </property> 321 </property>
338 </widget> 322 </widget>
339 <widget> 323 <widget>
340 <class>QSlider</class> 324 <class>QSlider</class>
341 <property stdset="1"> 325 <property stdset="1">
342 <name>name</name> 326 <name>name</name>
343 <cstring>contrast</cstring> 327 <cstring>contrast</cstring>
344 </property> 328 </property>
345 <property stdset="1"> 329 <property stdset="1">
346 <name>maxValue</name> 330 <name>maxValue</name>
347 <number>255</number> 331 <number>255</number>
348 </property> 332 </property>
349 <property stdset="1"> 333 <property stdset="1">
350 <name>lineStep</name>
351 <number>1</number>
352 </property>
353 <property stdset="1">
354 <name>pageStep</name>
355 <number>16</number>
356 </property>
357 <property stdset="1">
358 <name>tracking</name>
359 <bool>true</bool>
360 </property>
361 <property stdset="1">
362 <name>orientation</name> 334 <name>orientation</name>
363 <enum>Horizontal</enum> 335 <enum>Horizontal</enum>
364 </property> 336 </property>
365 <property stdset="1"> 337 <property stdset="1">
366 <name>tickmarks</name> 338 <name>tickmarks</name>
367 <enum>Right</enum> 339 <enum>Right</enum>
368 </property> 340 </property>
369 <property stdset="1">
370 <name>tickInterval</name>
371 <number>32</number>
372 </property>
373 <property> 341 <property>
374 <name>whatsThis</name> 342 <name>whatsThis</name>
375 <string>set a fix value for contrast</string> 343 <string>set a fix value for contrast</string>
376 </property> 344 </property>
377 </widget> 345 </widget>
378 <widget> 346 <widget>
379 <class>QLayoutWidget</class> 347 <class>QLayoutWidget</class>
380 <property stdset="1"> 348 <property stdset="1">
381 <name>name</name> 349 <name>name</name>
382 <cstring>Layout10</cstring> 350 <cstring>Layout10</cstring>
383 </property> 351 </property>
384 <property> 352 <property>
385 <name>layoutSpacing</name> 353 <name>layoutSpacing</name>
386 </property> 354 </property>
387 <hbox> 355 <hbox>
388 <property stdset="1"> 356 <property stdset="1">
389 <name>margin</name> 357 <name>margin</name>
390 <number>0</number> 358 <number>0</number>
391 </property> 359 </property>
392 <property stdset="1"> 360 <property stdset="1">
393 <name>spacing</name> 361 <name>spacing</name>
394 <number>3</number> 362 <number>3</number>
395 </property> 363 </property>
396 <widget> 364 <widget>
397 <class>QLabel</class> 365 <class>QLabel</class>
398 <property stdset="1"> 366 <property stdset="1">
399 <name>name</name> 367 <name>name</name>
400 <cstring>PixmapLabel2</cstring> 368 <cstring>PixmapLabel2</cstring>
401 </property> 369 </property>
402 <property stdset="1"> 370 <property stdset="1">
403 <name>pixmap</name> 371 <name>pixmap</name>
404 <pixmap>image0</pixmap> 372 <pixmap>image0</pixmap>
405 </property> 373 </property>
406 <property stdset="1"> 374 <property stdset="1">
407 <name>scaledContents</name> 375 <name>scaledContents</name>
408 <bool>false</bool> 376 <bool>false</bool>
409 </property> 377 </property>
410 </widget> 378 </widget>
411 <widget> 379 <widget>
412 <class>QLabel</class> 380 <class>QLabel</class>
413 <property stdset="1"> 381 <property stdset="1">
414 <name>name</name> 382 <name>name</name>
415 <cstring>TextLabel4</cstring> 383 <cstring>TL4</cstring>
416 </property> 384 </property>
417 <property stdset="1"> 385 <property stdset="1">
418 <name>text</name> 386 <name>text</name>
419 <string>Off</string> 387 <string>Off</string>
420 </property> 388 </property>
421 </widget> 389 </widget>
422 <spacer> 390 <spacer>
423 <property> 391 <property>
424 <name>name</name> 392 <name>name</name>
425 <cstring>Spacer2</cstring> 393 <cstring>Spacer2</cstring>
426 </property> 394 </property>
427 <property stdset="1"> 395 <property stdset="1">
428 <name>orientation</name> 396 <name>orientation</name>
429 <enum>Horizontal</enum> 397 <enum>Horizontal</enum>
430 </property> 398 </property>
431 <property stdset="1"> 399 <property stdset="1">
432 <name>sizeType</name> 400 <name>sizeType</name>
433 <enum>Expanding</enum> 401 <enum>Expanding</enum>
434 </property> 402 </property>
435 <property> 403 <property>
436 <name>sizeHint</name> 404 <name>sizeHint</name>
437 <size> 405 <size>
438 <width>20</width> 406 <width>20</width>
439 <height>20</height> 407 <height>20</height>
440 </size> 408 </size>
441 </property> 409 </property>
442 </spacer> 410 </spacer>
443 <widget> 411 <widget>
444 <class>QLabel</class> 412 <class>QLabel</class>
445 <property stdset="1"> 413 <property stdset="1">
446 <name>name</name> 414 <name>name</name>
447 <cstring>TextLabel5</cstring> 415 <cstring>TL5</cstring>
448 </property> 416 </property>
449 <property stdset="1"> 417 <property stdset="1">
450 <name>text</name> 418 <name>text</name>
451 <string>Full</string> 419 <string>Full</string>
452 </property> 420 </property>
453 </widget> 421 </widget>
454 <widget> 422 <widget>
455 <class>QLabel</class> 423 <class>QLabel</class>
456 <property stdset="1"> 424 <property stdset="1">
457 <name>name</name> 425 <name>name</name>
458 <cstring>PixmapLabel1</cstring> 426 <cstring>PixmapLabel1</cstring>
459 </property> 427 </property>
460 <property stdset="1"> 428 <property stdset="1">
461 <name>pixmap</name> 429 <name>pixmap</name>
462 <pixmap>image1</pixmap> 430 <pixmap>image1</pixmap>
463 </property> 431 </property>
464 <property stdset="1"> 432 <property stdset="1">
465 <name>scaledContents</name> 433 <name>scaledContents</name>
466 <bool>false</bool> 434 <bool>false</bool>
467 </property> 435 </property>
468 </widget> 436 </widget>
469 </hbox> 437 </hbox>
470 </widget> 438 </widget>
471 <widget> 439 <widget>
472 <class>QLayoutWidget</class> 440 <class>QLayoutWidget</class>
473 <property stdset="1"> 441 <property stdset="1">
474 <name>name</name> 442 <name>name</name>
475 <cstring>Layout9</cstring> 443 <cstring>Layout9</cstring>
476 </property> 444 </property>
477 <property> 445 <property>
478 <name>layoutSpacing</name> 446 <name>layoutSpacing</name>
479 </property> 447 </property>
480 <hbox> 448 <hbox>
481 <property stdset="1"> 449 <property stdset="1">
482 <name>margin</name> 450 <name>margin</name>
483 <number>0</number> 451 <number>0</number>
484 </property> 452 </property>
485 <property stdset="1"> 453 <property stdset="1">
486 <name>spacing</name> 454 <name>spacing</name>
487 <number>3</number> 455 <number>3</number>
488 </property> 456 </property>
489 <widget> 457 <widget>
490 <class>QCheckBox</class> 458 <class>QCheckBox</class>
491 <property stdset="1"> 459 <property stdset="1">
492 <name>name</name> 460 <name>name</name>
493 <cstring>auto_brightness</cstring> 461 <cstring>auto_brightness</cstring>
494 </property> 462 </property>
495 <property stdset="1"> 463 <property stdset="1">
@@ -521,97 +489,97 @@
521 </vbox> 489 </vbox>
522 </widget> 490 </widget>
523 <spacer> 491 <spacer>
524 <property> 492 <property>
525 <name>name</name> 493 <name>name</name>
526 <cstring>Spacer4</cstring> 494 <cstring>Spacer4</cstring>
527 </property> 495 </property>
528 <property stdset="1"> 496 <property stdset="1">
529 <name>orientation</name> 497 <name>orientation</name>
530 <enum>Vertical</enum> 498 <enum>Vertical</enum>
531 </property> 499 </property>
532 <property stdset="1"> 500 <property stdset="1">
533 <name>sizeType</name> 501 <name>sizeType</name>
534 <enum>Expanding</enum> 502 <enum>Expanding</enum>
535 </property> 503 </property>
536 <property> 504 <property>
537 <name>sizeHint</name> 505 <name>sizeHint</name>
538 <size> 506 <size>
539 <width>20</width> 507 <width>20</width>
540 <height>20</height> 508 <height>20</height>
541 </size> 509 </size>
542 </property> 510 </property>
543 </spacer> 511 </spacer>
544 </vbox> 512 </vbox>
545 </widget> 513 </widget>
546 <widget> 514 <widget>
547 <class>QWidget</class> 515 <class>QWidget</class>
548 <property stdset="1"> 516 <property stdset="1">
549 <name>name</name> 517 <name>name</name>
550 <cstring>tab</cstring> 518 <cstring>tab</cstring>
551 </property> 519 </property>
552 <attribute> 520 <attribute>
553 <name>title</name> 521 <name>title</name>
554 <string>on AC</string> 522 <string>on AC</string>
555 </attribute> 523 </attribute>
556 <vbox> 524 <vbox>
557 <property stdset="1"> 525 <property stdset="1">
558 <name>margin</name> 526 <name>margin</name>
559 <number>5</number> 527 <number>5</number>
560 </property> 528 </property>
561 <property stdset="1"> 529 <property stdset="1">
562 <name>spacing</name> 530 <name>spacing</name>
563 <number>3</number> 531 <number>3</number>
564 </property> 532 </property>
565 <widget> 533 <widget>
566 <class>QGroupBox</class> 534 <class>QGroupBox</class>
567 <property stdset="1"> 535 <property stdset="1">
568 <name>name</name> 536 <name>name</name>
569 <cstring>GroupBox4</cstring> 537 <cstring>Group3</cstring>
570 </property> 538 </property>
571 <property stdset="1"> 539 <property stdset="1">
572 <name>enabled</name> 540 <name>enabled</name>
573 <bool>true</bool> 541 <bool>true</bool>
574 </property> 542 </property>
575 <property stdset="1"> 543 <property stdset="1">
576 <name>title</name> 544 <name>title</name>
577 <string>General Settings</string> 545 <string>General Settings</string>
578 </property> 546 </property>
579 <property> 547 <property>
580 <name>layoutMargin</name> 548 <name>layoutMargin</name>
581 </property> 549 </property>
582 <property> 550 <property>
583 <name>layoutSpacing</name> 551 <name>layoutSpacing</name>
584 </property> 552 </property>
585 <grid> 553 <grid>
586 <property stdset="1"> 554 <property stdset="1">
587 <name>margin</name> 555 <name>margin</name>
588 <number>5</number> 556 <number>5</number>
589 </property> 557 </property>
590 <property stdset="1"> 558 <property stdset="1">
591 <name>spacing</name> 559 <name>spacing</name>
592 <number>3</number> 560 <number>3</number>
593 </property> 561 </property>
594 <widget row="1" column="1" > 562 <widget row="1" column="1" >
595 <class>QSpinBox</class> 563 <class>QSpinBox</class>
596 <property stdset="1"> 564 <property stdset="1">
597 <name>name</name> 565 <name>name</name>
598 <cstring>interval_lightoff_ac</cstring> 566 <cstring>interval_lightoff_ac</cstring>
599 </property> 567 </property>
600 <property stdset="1"> 568 <property stdset="1">
601 <name>suffix</name> 569 <name>suffix</name>
602 <string> sec</string> 570 <string> sec</string>
603 </property> 571 </property>
604 <property stdset="1"> 572 <property stdset="1">
605 <name>specialValueText</name> 573 <name>specialValueText</name>
606 <string>never</string> 574 <string>never</string>
607 </property> 575 </property>
608 <property stdset="1"> 576 <property stdset="1">
609 <name>buttonSymbols</name> 577 <name>buttonSymbols</name>
610 <enum>PlusMinus</enum> 578 <enum>PlusMinus</enum>
611 </property> 579 </property>
612 <property stdset="1"> 580 <property stdset="1">
613 <name>maxValue</name> 581 <name>maxValue</name>
614 <number>3600</number> 582 <number>3600</number>
615 </property> 583 </property>
616 <property stdset="1"> 584 <property stdset="1">
617 <name>minValue</name> 585 <name>minValue</name>
@@ -717,201 +685,169 @@
717 </property> 685 </property>
718 <property stdset="1"> 686 <property stdset="1">
719 <name>lineStep</name> 687 <name>lineStep</name>
720 <number>10</number> 688 <number>10</number>
721 </property> 689 </property>
722 </widget> 690 </widget>
723 <widget row="1" column="0" > 691 <widget row="1" column="0" >
724 <class>QLabel</class> 692 <class>QLabel</class>
725 <property stdset="1"> 693 <property stdset="1">
726 <name>name</name> 694 <name>name</name>
727 <cstring>TextLabel2_2_2</cstring> 695 <cstring>TextLabel2_2_2</cstring>
728 </property> 696 </property>
729 <property stdset="1"> 697 <property stdset="1">
730 <name>sizePolicy</name> 698 <name>sizePolicy</name>
731 <sizepolicy> 699 <sizepolicy>
732 <hsizetype>3</hsizetype> 700 <hsizetype>3</hsizetype>
733 <vsizetype>1</vsizetype> 701 <vsizetype>1</vsizetype>
734 </sizepolicy> 702 </sizepolicy>
735 </property> 703 </property>
736 <property stdset="1"> 704 <property stdset="1">
737 <name>text</name> 705 <name>text</name>
738 <string>Light off after</string> 706 <string>Light off after</string>
739 </property> 707 </property>
740 </widget> 708 </widget>
741 <widget row="3" column="0" rowspan="1" colspan="2" > 709 <widget row="3" column="0" rowspan="1" colspan="2" >
742 <class>QCheckBox</class> 710 <class>QCheckBox</class>
743 <property stdset="1"> 711 <property stdset="1">
744 <name>name</name> 712 <name>name</name>
745 <cstring>LcdOffOnly_ac</cstring> 713 <cstring>LcdOffOnly_ac</cstring>
746 </property> 714 </property>
747 <property stdset="1"> 715 <property stdset="1">
748 <name>sizePolicy</name> 716 <name>sizePolicy</name>
749 <sizepolicy> 717 <sizepolicy>
750 <hsizetype>7</hsizetype> 718 <hsizetype>7</hsizetype>
751 <vsizetype>0</vsizetype> 719 <vsizetype>0</vsizetype>
752 </sizepolicy> 720 </sizepolicy>
753 </property> 721 </property>
754 <property stdset="1"> 722 <property stdset="1">
755 <name>text</name> 723 <name>text</name>
756 <string>Deactivate LCD only (does not suspend)</string> 724 <string>Deactivate LCD only (does not suspend)</string>
757 </property> 725 </property>
758 </widget> 726 </widget>
759 </grid> 727 </grid>
760 </widget> 728 </widget>
761 <widget> 729 <widget>
762 <class>QGroupBox</class> 730 <class>QGroupBox</class>
763 <property stdset="1"> 731 <property stdset="1">
764 <name>name</name> 732 <name>name</name>
765 <cstring>GroupBox8</cstring> 733 <cstring>Group4</cstring>
766 </property> 734 </property>
767 <property stdset="1"> 735 <property stdset="1">
768 <name>title</name> 736 <name>title</name>
769 <string>Backlight</string> 737 <string>Backlight</string>
770 </property> 738 </property>
771 <property> 739 <property>
772 <name>layoutMargin</name> 740 <name>layoutMargin</name>
773 </property> 741 </property>
774 <property> 742 <property>
775 <name>layoutSpacing</name> 743 <name>layoutSpacing</name>
776 </property> 744 </property>
777 <vbox> 745 <vbox>
778 <property stdset="1"> 746 <property stdset="1">
779 <name>margin</name> 747 <name>margin</name>
780 <number>11</number> 748 <number>11</number>
781 </property> 749 </property>
782 <property stdset="1"> 750 <property stdset="1">
783 <name>spacing</name> 751 <name>spacing</name>
784 <number>6</number> 752 <number>6</number>
785 </property> 753 </property>
786 <widget> 754 <widget>
787 <class>QSlider</class> 755 <class>QSlider</class>
788 <property stdset="1"> 756 <property stdset="1">
789 <name>name</name> 757 <name>name</name>
790 <cstring>brightness_ac</cstring> 758 <cstring>brightness_ac</cstring>
791 </property> 759 </property>
792 <property stdset="1"> 760 <property stdset="1">
793 <name>minValue</name>
794 <number>0</number>
795 </property>
796 <property stdset="1">
797 <name>maxValue</name> 761 <name>maxValue</name>
798 <number>255</number> 762 <number>255</number>
799 </property> 763 </property>
800 <property stdset="1"> 764 <property stdset="1">
801 <name>lineStep</name>
802 <number>16</number>
803 </property>
804 <property stdset="1">
805 <name>pageStep</name>
806 <number>16</number>
807 </property>
808 <property stdset="1">
809 <name>value</name> 765 <name>value</name>
810 <number>255</number> 766 <number>255</number>
811 </property> 767 </property>
812 <property stdset="1"> 768 <property stdset="1">
813 <name>tracking</name>
814 <bool>true</bool>
815 </property>
816 <property stdset="1">
817 <name>orientation</name> 769 <name>orientation</name>
818 <enum>Horizontal</enum> 770 <enum>Horizontal</enum>
819 </property> 771 </property>
820 <property stdset="1"> 772 <property stdset="1">
821 <name>tickmarks</name> 773 <name>tickmarks</name>
822 <enum>Right</enum> 774 <enum>Right</enum>
823 </property> 775 </property>
824 <property> 776 <property>
825 <name>whatsThis</name> 777 <name>whatsThis</name>
826 <string>set a fix value for backlight</string> 778 <string>set a fix value for backlight</string>
827 </property> 779 </property>
828 </widget> 780 </widget>
829 <widget> 781 <widget>
830 <class>QSlider</class> 782 <class>QSlider</class>
831 <property stdset="1"> 783 <property stdset="1">
832 <name>name</name> 784 <name>name</name>
833 <cstring>contrast_ac</cstring> 785 <cstring>contrast_ac</cstring>
834 </property> 786 </property>
835 <property stdset="1"> 787 <property stdset="1">
836 <name>minValue</name>
837 <number>0</number>
838 </property>
839 <property stdset="1">
840 <name>maxValue</name> 788 <name>maxValue</name>
841 <number>255</number> 789 <number>255</number>
842 </property> 790 </property>
843 <property stdset="1"> 791 <property stdset="1">
844 <name>lineStep</name>
845 <number>16</number>
846 </property>
847 <property stdset="1">
848 <name>pageStep</name>
849 <number>16</number>
850 </property>
851 <property stdset="1">
852 <name>value</name> 792 <name>value</name>
853 <number>255</number> 793 <number>255</number>
854 </property> 794 </property>
855 <property stdset="1"> 795 <property stdset="1">
856 <name>tracking</name>
857 <bool>true</bool>
858 </property>
859 <property stdset="1">
860 <name>orientation</name> 796 <name>orientation</name>
861 <enum>Horizontal</enum> 797 <enum>Horizontal</enum>
862 </property> 798 </property>
863 <property stdset="1"> 799 <property stdset="1">
864 <name>tickmarks</name> 800 <name>tickmarks</name>
865 <enum>Right</enum> 801 <enum>Right</enum>
866 </property> 802 </property>
867 <property> 803 <property>
868 <name>whatsThis</name> 804 <name>whatsThis</name>
869 <string>set a fix value for backlight</string> 805 <string>set a fix value for contrast</string>
870 </property> 806 </property>
871 </widget> 807 </widget>
872 <widget> 808 <widget>
873 <class>QLayoutWidget</class> 809 <class>QLayoutWidget</class>
874 <property stdset="1"> 810 <property stdset="1">
875 <name>name</name> 811 <name>name</name>
876 <cstring>Layout20</cstring> 812 <cstring>Layout20</cstring>
877 </property> 813 </property>
878 <property> 814 <property>
879 <name>layoutSpacing</name> 815 <name>layoutSpacing</name>
880 </property> 816 </property>
881 <hbox> 817 <hbox>
882 <property stdset="1"> 818 <property stdset="1">
883 <name>margin</name> 819 <name>margin</name>
884 <number>0</number> 820 <number>0</number>
885 </property> 821 </property>
886 <property stdset="1"> 822 <property stdset="1">
887 <name>spacing</name> 823 <name>spacing</name>
888 <number>3</number> 824 <number>3</number>
889 </property> 825 </property>
890 <widget> 826 <widget>
891 <class>QLabel</class> 827 <class>QLabel</class>
892 <property stdset="1"> 828 <property stdset="1">
893 <name>name</name> 829 <name>name</name>
894 <cstring>PixmapLabel2_2_3</cstring> 830 <cstring>PixmapLabel2_2_3</cstring>
895 </property> 831 </property>
896 <property stdset="1"> 832 <property stdset="1">
897 <name>pixmap</name> 833 <name>pixmap</name>
898 <pixmap>image0</pixmap> 834 <pixmap>image0</pixmap>
899 </property> 835 </property>
900 <property stdset="1"> 836 <property stdset="1">
901 <name>scaledContents</name> 837 <name>scaledContents</name>
902 <bool>false</bool> 838 <bool>false</bool>
903 </property> 839 </property>
904 </widget> 840 </widget>
905 <widget> 841 <widget>
906 <class>QLabel</class> 842 <class>QLabel</class>
907 <property stdset="1"> 843 <property stdset="1">
908 <name>name</name> 844 <name>name</name>
909 <cstring>TextLabel6</cstring> 845 <cstring>TextLabel6</cstring>
910 </property> 846 </property>
911 <property stdset="1"> 847 <property stdset="1">
912 <name>text</name> 848 <name>text</name>
913 <string>Off</string> 849 <string>Off</string>
914 </property> 850 </property>
915 </widget> 851 </widget>
916 <spacer> 852 <spacer>
917 <property> 853 <property>
@@ -1015,97 +951,97 @@
1015 </vbox> 951 </vbox>
1016 </widget> 952 </widget>
1017 <spacer> 953 <spacer>
1018 <property> 954 <property>
1019 <name>name</name> 955 <name>name</name>
1020 <cstring>Spacer5</cstring> 956 <cstring>Spacer5</cstring>
1021 </property> 957 </property>
1022 <property stdset="1"> 958 <property stdset="1">
1023 <name>orientation</name> 959 <name>orientation</name>
1024 <enum>Vertical</enum> 960 <enum>Vertical</enum>
1025 </property> 961 </property>
1026 <property stdset="1"> 962 <property stdset="1">
1027 <name>sizeType</name> 963 <name>sizeType</name>
1028 <enum>Expanding</enum> 964 <enum>Expanding</enum>
1029 </property> 965 </property>
1030 <property> 966 <property>
1031 <name>sizeHint</name> 967 <name>sizeHint</name>
1032 <size> 968 <size>
1033 <width>20</width> 969 <width>20</width>
1034 <height>20</height> 970 <height>20</height>
1035 </size> 971 </size>
1036 </property> 972 </property>
1037 </spacer> 973 </spacer>
1038 </vbox> 974 </vbox>
1039 </widget> 975 </widget>
1040 <widget> 976 <widget>
1041 <class>QWidget</class> 977 <class>QWidget</class>
1042 <property stdset="1"> 978 <property stdset="1">
1043 <name>name</name> 979 <name>name</name>
1044 <cstring>tab</cstring> 980 <cstring>tab</cstring>
1045 </property> 981 </property>
1046 <attribute> 982 <attribute>
1047 <name>title</name> 983 <name>title</name>
1048 <string>Warnings</string> 984 <string>Warnings</string>
1049 </attribute> 985 </attribute>
1050 <vbox> 986 <vbox>
1051 <property stdset="1"> 987 <property stdset="1">
1052 <name>margin</name> 988 <name>margin</name>
1053 <number>5</number> 989 <number>5</number>
1054 </property> 990 </property>
1055 <property stdset="1"> 991 <property stdset="1">
1056 <name>spacing</name> 992 <name>spacing</name>
1057 <number>3</number> 993 <number>3</number>
1058 </property> 994 </property>
1059 <widget> 995 <widget>
1060 <class>QGroupBox</class> 996 <class>QGroupBox</class>
1061 <property stdset="1"> 997 <property stdset="1">
1062 <name>name</name> 998 <name>name</name>
1063 <cstring>GroupBox5</cstring> 999 <cstring>Group5</cstring>
1064 </property> 1000 </property>
1065 <property stdset="1"> 1001 <property stdset="1">
1066 <name>title</name> 1002 <name>title</name>
1067 <string>Warnings</string> 1003 <string>Warnings</string>
1068 </property> 1004 </property>
1069 <property> 1005 <property>
1070 <name>layoutMargin</name> 1006 <name>layoutMargin</name>
1071 </property> 1007 </property>
1072 <property> 1008 <property>
1073 <name>layoutSpacing</name> 1009 <name>layoutSpacing</name>
1074 </property> 1010 </property>
1075 <grid> 1011 <grid>
1076 <property stdset="1"> 1012 <property stdset="1">
1077 <name>margin</name> 1013 <name>margin</name>
1078 <number>5</number> 1014 <number>5</number>
1079 </property> 1015 </property>
1080 <property stdset="1"> 1016 <property stdset="1">
1081 <name>spacing</name> 1017 <name>spacing</name>
1082 <number>3</number> 1018 <number>3</number>
1083 </property> 1019 </property>
1084 <widget row="0" column="0" > 1020 <widget row="0" column="0" >
1085 <class>QLabel</class> 1021 <class>QLabel</class>
1086 <property stdset="1"> 1022 <property stdset="1">
1087 <name>name</name> 1023 <name>name</name>
1088 <cstring>TextLabel1</cstring> 1024 <cstring>TextLabel1</cstring>
1089 </property> 1025 </property>
1090 <property stdset="1"> 1026 <property stdset="1">
1091 <name>sizePolicy</name> 1027 <name>sizePolicy</name>
1092 <sizepolicy> 1028 <sizepolicy>
1093 <hsizetype>3</hsizetype> 1029 <hsizetype>3</hsizetype>
1094 <vsizetype>5</vsizetype> 1030 <vsizetype>5</vsizetype>
1095 </sizepolicy> 1031 </sizepolicy>
1096 </property> 1032 </property>
1097 <property stdset="1"> 1033 <property stdset="1">
1098 <name>text</name> 1034 <name>text</name>
1099 <string>Low power warning interval</string> 1035 <string>Low power warning interval</string>
1100 </property> 1036 </property>
1101 <property stdset="1"> 1037 <property stdset="1">
1102 <name>alignment</name> 1038 <name>alignment</name>
1103 <set>WordBreak|AlignVCenter|AlignLeft</set> 1039 <set>WordBreak|AlignVCenter|AlignLeft</set>
1104 </property> 1040 </property>
1105 <property> 1041 <property>
1106 <name>wordwrap</name> 1042 <name>wordwrap</name>
1107 </property> 1043 </property>
1108 </widget> 1044 </widget>
1109 <widget row="1" column="1" > 1045 <widget row="1" column="1" >
1110 <class>QSpinBox</class> 1046 <class>QSpinBox</class>
1111 <property stdset="1"> 1047 <property stdset="1">