gcc 4.4 build fix
[qbat.git] / settingsdialog.ui
blobc72f6e839df54bd4a2a10724c8de65284f3e2bcf
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>settingsDialog</class>
4 <widget class="QDialog" name="settingsDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>449</width>
10 <height>495</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>QBat - Settings</string>
15 </property>
16 <layout class="QVBoxLayout">
17 <item>
18 <widget class="QGroupBox" name="criticalGroup">
19 <property name="title">
20 <string>Event for critical battery capacity</string>
21 </property>
22 <property name="checkable">
23 <bool>true</bool>
24 </property>
25 <layout class="QGridLayout">
26 <item row="0" column="0">
27 <widget class="QLabel" name="criticalCapacitylabel">
28 <property name="text">
29 <string>Critical capacity (in %)</string>
30 </property>
31 </widget>
32 </item>
33 <item row="1" column="0">
34 <widget class="QRadioButton" name="criticalWarningRadio">
35 <property name="text">
36 <string>Show warning message</string>
37 </property>
38 <property name="checked">
39 <bool>false</bool>
40 </property>
41 </widget>
42 </item>
43 <item row="2" column="0" rowspan="2">
44 <widget class="QRadioButton" name="criticalCommandRadio">
45 <property name="text">
46 <string>Execute command</string>
47 </property>
48 <property name="checked">
49 <bool>true</bool>
50 </property>
51 </widget>
52 </item>
53 <item row="0" column="1">
54 <widget class="QSpinBox" name="criticalCapacitySpin">
55 <property name="minimum">
56 <number>1</number>
57 </property>
58 <property name="maximum">
59 <number>99</number>
60 </property>
61 <property name="value">
62 <number>10</number>
63 </property>
64 </widget>
65 </item>
66 <item row="4" column="0" colspan="3">
67 <widget class="QGroupBox" name="confirmCommandBox">
68 <property name="title">
69 <string>Confirm command</string>
70 </property>
71 <property name="checkable">
72 <bool>true</bool>
73 </property>
74 <layout class="QGridLayout">
75 <item row="0" column="0">
76 <widget class="QCheckBox" name="timeoutCheck">
77 <property name="text">
78 <string>Use timeout to confirm</string>
79 </property>
80 <property name="checked">
81 <bool>true</bool>
82 </property>
83 </widget>
84 </item>
85 <item row="0" column="1">
86 <widget class="QSpinBox" name="timeoutSpin">
87 <property name="minimum">
88 <number>1</number>
89 </property>
90 <property name="value">
91 <number>5</number>
92 </property>
93 </widget>
94 </item>
95 <item row="0" column="2">
96 <widget class="QLabel" name="timeoutLabel">
97 <property name="text">
98 <string>Seconds</string>
99 </property>
100 </widget>
101 </item>
102 <item row="0" column="3">
103 <spacer name="spacer1">
104 <property name="orientation">
105 <enum>Qt::Horizontal</enum>
106 </property>
107 <property name="sizeHint" stdset="0">
108 <size>
109 <width>40</width>
110 <height>20</height>
111 </size>
112 </property>
113 </spacer>
114 </item>
115 </layout>
116 </widget>
117 </item>
118 <item row="2" column="1" rowspan="2" colspan="2">
119 <widget class="QLineEdit" name="criticalCommandEdit"/>
120 </item>
121 <item row="0" column="2">
122 <spacer name="spacer0">
123 <property name="orientation">
124 <enum>Qt::Horizontal</enum>
125 </property>
126 <property name="sizeHint" stdset="0">
127 <size>
128 <width>40</width>
129 <height>20</height>
130 </size>
131 </property>
132 </spacer>
133 </item>
134 </layout>
135 </widget>
136 </item>
137 <item>
138 <widget class="QGroupBox" name="batteryIconGroup">
139 <property name="title">
140 <string>Battery icon(s)</string>
141 </property>
142 <layout class="QGridLayout">
143 <item row="0" column="5" rowspan="3">
144 <spacer name="spacer2">
145 <property name="orientation">
146 <enum>Qt::Horizontal</enum>
147 </property>
148 <property name="sizeHint" stdset="0">
149 <size>
150 <width>40</width>
151 <height>20</height>
152 </size>
153 </property>
154 </spacer>
155 </item>
156 <item row="0" column="0" colspan="2">
157 <widget class="QLabel" name="mainColorLabel">
158 <property name="text">
159 <string>Main color</string>
160 </property>
161 </widget>
162 </item>
163 <item row="0" column="2">
164 <widget class="QToolButton" name="mainFullColorButton">
165 <property name="toolTip">
166 <string>full</string>
167 </property>
168 <property name="text">
169 <string>full</string>
170 </property>
171 </widget>
172 </item>
173 <item row="0" column="3">
174 <widget class="QToolButton" name="mainChargedColorButton">
175 <property name="toolTip">
176 <string>charged</string>
177 </property>
178 <property name="text">
179 <string>charged</string>
180 </property>
181 </widget>
182 </item>
183 <item row="0" column="4">
184 <widget class="QToolButton" name="mainEmptyColorButton">
185 <property name="toolTip">
186 <string>empty</string>
187 </property>
188 <property name="text">
189 <string>empty</string>
190 </property>
191 </widget>
192 </item>
193 <item row="1" column="0" colspan="2">
194 <widget class="QLabel" name="textColorLabel">
195 <property name="text">
196 <string>Text color</string>
197 </property>
198 </widget>
199 </item>
200 <item row="1" column="2">
201 <widget class="QToolButton" name="textFullColorButton">
202 <property name="toolTip">
203 <string>full</string>
204 </property>
205 <property name="text">
206 <string>full</string>
207 </property>
208 </widget>
209 </item>
210 <item row="2" column="0" colspan="2">
211 <widget class="QLabel" name="poleLabel">
212 <property name="text">
213 <string>&quot;+ pole&quot; color</string>
214 </property>
215 </widget>
216 </item>
217 <item row="2" column="2">
218 <widget class="QToolButton" name="poleFullColorButton">
219 <property name="toolTip">
220 <string>full</string>
221 </property>
222 <property name="text">
223 <string>full</string>
224 </property>
225 </widget>
226 </item>
227 <item row="2" column="3">
228 <widget class="QToolButton" name="poleChargingColorButton">
229 <property name="toolTip">
230 <string>charging</string>
231 </property>
232 <property name="text">
233 <string>charging</string>
234 </property>
235 </widget>
236 </item>
237 <item row="3" column="0" colspan="6">
238 <widget class="QCheckBox" name="mergeBatteriesCheck">
239 <property name="text">
240 <string>Merge Icons</string>
241 </property>
242 </widget>
243 </item>
244 <item row="1" column="3">
245 <widget class="QToolButton" name="textChargingColorButton">
246 <property name="toolTip">
247 <string>charging</string>
248 </property>
249 <property name="text">
250 <string>charging</string>
251 </property>
252 </widget>
253 </item>
254 <item row="1" column="4">
255 <widget class="QToolButton" name="textDischargingColorButton">
256 <property name="toolTip">
257 <string>discharging</string>
258 </property>
259 <property name="text">
260 <string>discharging</string>
261 </property>
262 </widget>
263 </item>
264 <item row="2" column="4">
265 <widget class="QToolButton" name="poleDischargingColorButton">
266 <property name="toolTip">
267 <string>discharging</string>
268 </property>
269 <property name="text">
270 <string>discharging</string>
271 </property>
272 </widget>
273 </item>
274 </layout>
275 </widget>
276 </item>
277 <item>
278 <widget class="QCheckBox" name="showBalloonCheck">
279 <property name="text">
280 <string>Show messages as balloon tips</string>
281 </property>
282 </widget>
283 </item>
284 <item>
285 <layout class="QHBoxLayout">
286 <item>
287 <widget class="QLabel" name="pollingRateLabel">
288 <property name="sizePolicy">
289 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
290 <horstretch>0</horstretch>
291 <verstretch>0</verstretch>
292 </sizepolicy>
293 </property>
294 <property name="text">
295 <string>Polling rate (in milliseconds)</string>
296 </property>
297 </widget>
298 </item>
299 <item>
300 <widget class="QSpinBox" name="pollingRateSpin">
301 <property name="minimum">
302 <number>100</number>
303 </property>
304 <property name="maximum">
305 <number>20000</number>
306 </property>
307 <property name="singleStep">
308 <number>100</number>
309 </property>
310 </widget>
311 </item>
312 <item>
313 <spacer name="spacer3">
314 <property name="orientation">
315 <enum>Qt::Horizontal</enum>
316 </property>
317 <property name="sizeHint" stdset="0">
318 <size>
319 <width>40</width>
320 <height>20</height>
321 </size>
322 </property>
323 </spacer>
324 </item>
325 </layout>
326 </item>
327 <item>
328 <spacer name="spacer4">
329 <property name="orientation">
330 <enum>Qt::Vertical</enum>
331 </property>
332 <property name="sizeHint" stdset="0">
333 <size>
334 <width>437</width>
335 <height>20</height>
336 </size>
337 </property>
338 </spacer>
339 </item>
340 <item>
341 <widget class="QDialogButtonBox" name="buttonBox">
342 <property name="orientation">
343 <enum>Qt::Horizontal</enum>
344 </property>
345 <property name="standardButtons">
346 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
347 </property>
348 <property name="centerButtons">
349 <bool>false</bool>
350 </property>
351 </widget>
352 </item>
353 </layout>
354 </widget>
355 <tabstops>
356 <tabstop>criticalGroup</tabstop>
357 <tabstop>criticalWarningRadio</tabstop>
358 <tabstop>criticalCommandRadio</tabstop>
359 <tabstop>mainFullColorButton</tabstop>
360 <tabstop>mainChargedColorButton</tabstop>
361 <tabstop>mainEmptyColorButton</tabstop>
362 <tabstop>textFullColorButton</tabstop>
363 <tabstop>textChargingColorButton</tabstop>
364 <tabstop>poleFullColorButton</tabstop>
365 <tabstop>poleChargingColorButton</tabstop>
366 <tabstop>pollingRateSpin</tabstop>
367 <tabstop>buttonBox</tabstop>
368 </tabstops>
369 <resources/>
370 <connections>
371 <connection>
372 <sender>buttonBox</sender>
373 <signal>accepted()</signal>
374 <receiver>settingsDialog</receiver>
375 <slot>accept()</slot>
376 <hints>
377 <hint type="sourcelabel">
378 <x>235</x>
379 <y>490</y>
380 </hint>
381 <hint type="destinationlabel">
382 <x>157</x>
383 <y>274</y>
384 </hint>
385 </hints>
386 </connection>
387 <connection>
388 <sender>buttonBox</sender>
389 <signal>rejected()</signal>
390 <receiver>settingsDialog</receiver>
391 <slot>reject()</slot>
392 <hints>
393 <hint type="sourcelabel">
394 <x>303</x>
395 <y>490</y>
396 </hint>
397 <hint type="destinationlabel">
398 <x>286</x>
399 <y>274</y>
400 </hint>
401 </hints>
402 </connection>
403 <connection>
404 <sender>criticalCommandRadio</sender>
405 <signal>toggled(bool)</signal>
406 <receiver>criticalCommandEdit</receiver>
407 <slot>setEnabled(bool)</slot>
408 <hints>
409 <hint type="sourcelabel">
410 <x>172</x>
411 <y>112</y>
412 </hint>
413 <hint type="destinationlabel">
414 <x>208</x>
415 <y>112</y>
416 </hint>
417 </hints>
418 </connection>
419 <connection>
420 <sender>timeoutCheck</sender>
421 <signal>toggled(bool)</signal>
422 <receiver>timeoutSpin</receiver>
423 <slot>setEnabled(bool)</slot>
424 <hints>
425 <hint type="sourcelabel">
426 <x>129</x>
427 <y>186</y>
428 </hint>
429 <hint type="destinationlabel">
430 <x>257</x>
431 <y>189</y>
432 </hint>
433 </hints>
434 </connection>
435 <connection>
436 <sender>timeoutCheck</sender>
437 <signal>toggled(bool)</signal>
438 <receiver>timeoutLabel</receiver>
439 <slot>setEnabled(bool)</slot>
440 <hints>
441 <hint type="sourcelabel">
442 <x>101</x>
443 <y>186</y>
444 </hint>
445 <hint type="destinationlabel">
446 <x>315</x>
447 <y>189</y>
448 </hint>
449 </hints>
450 </connection>
451 <connection>
452 <sender>criticalCommandRadio</sender>
453 <signal>toggled(bool)</signal>
454 <receiver>confirmCommandBox</receiver>
455 <slot>setEnabled(bool)</slot>
456 <hints>
457 <hint type="sourcelabel">
458 <x>67</x>
459 <y>109</y>
460 </hint>
461 <hint type="destinationlabel">
462 <x>180</x>
463 <y>141</y>
464 </hint>
465 </hints>
466 </connection>
467 </connections>
468 </ui>