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