Finish v3.0.0
[f1lt.git] / ui / preferencesdialog.ui
blobf30b40d565f3ccc7728cf500065fd877576d0e38
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>PreferencesDialog</class>
4 <widget class="QDialog" name="PreferencesDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>447</width>
10 <height>427</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Preferences</string>
15 </property>
16 <property name="windowIcon">
17 <iconset resource="../icons/icons.qrc">
18 <normaloff>:/ui_icons/icon.png</normaloff>:/ui_icons/icon.png</iconset>
19 </property>
20 <layout class="QVBoxLayout" name="verticalLayout">
21 <property name="margin">
22 <number>4</number>
23 </property>
24 <item>
25 <widget class="QTabWidget" name="tabWidget">
26 <property name="currentIndex">
27 <number>0</number>
28 </property>
29 <widget class="QWidget" name="tab">
30 <attribute name="title">
31 <string>General</string>
32 </attribute>
33 <layout class="QVBoxLayout" name="verticalLayout_4">
34 <item>
35 <widget class="QGroupBox" name="groupBox">
36 <property name="title">
37 <string>Fonts</string>
38 </property>
39 <property name="flat">
40 <bool>false</bool>
41 </property>
42 <layout class="QGridLayout" name="gridLayout">
43 <item row="2" column="1">
44 <widget class="QPushButton" name="commentaryFontButton">
45 <property name="text">
46 <string>Tahoma</string>
47 </property>
48 </widget>
49 </item>
50 <item row="0" column="1">
51 <widget class="QPushButton" name="mainFontButton">
52 <property name="text">
53 <string>Arial</string>
54 </property>
55 </widget>
56 </item>
57 <item row="0" column="0">
58 <widget class="QLabel" name="label">
59 <property name="text">
60 <string>Main font:</string>
61 </property>
62 </widget>
63 </item>
64 <item row="2" column="0">
65 <widget class="QLabel" name="label_2">
66 <property name="text">
67 <string>Commentary font:</string>
68 </property>
69 </widget>
70 </item>
71 </layout>
72 </widget>
73 </item>
74 <item>
75 <widget class="QCheckBox" name="ltCheckBox">
76 <property name="text">
77 <string>Show contents during LT window resize</string>
78 </property>
79 <property name="checked">
80 <bool>true</bool>
81 </property>
82 </widget>
83 </item>
84 <item>
85 <widget class="QCheckBox" name="autoConnectBox">
86 <property name="text">
87 <string>Connect to LT server automatically after application start</string>
88 </property>
89 </widget>
90 </item>
91 <item>
92 <widget class="QCheckBox" name="autoRecordBox">
93 <property name="text">
94 <string>Automatically start recording when session starts</string>
95 </property>
96 </widget>
97 </item>
98 <item>
99 <layout class="QHBoxLayout" name="horizontalLayout">
100 <property name="spacing">
101 <number>6</number>
102 </property>
103 <property name="bottomMargin">
104 <number>0</number>
105 </property>
106 <item>
107 <widget class="QCheckBox" name="autoStopRecordBox">
108 <property name="sizePolicy">
109 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
110 <horstretch>0</horstretch>
111 <verstretch>0</verstretch>
112 </sizepolicy>
113 </property>
114 <property name="text">
115 <string>Automatically stop recording </string>
116 </property>
117 </widget>
118 </item>
119 <item>
120 <widget class="QSpinBox" name="autoStopRecordSpinBox">
121 <property name="enabled">
122 <bool>false</bool>
123 </property>
124 <property name="maximumSize">
125 <size>
126 <width>50</width>
127 <height>16777215</height>
128 </size>
129 </property>
130 </widget>
131 </item>
132 <item>
133 <widget class="QLabel" name="label_3">
134 <property name="text">
135 <string>minutes after session ends</string>
136 </property>
137 </widget>
138 </item>
139 </layout>
140 </item>
141 <item>
142 <layout class="QHBoxLayout" name="horizontalLayout_4">
143 <item>
144 <widget class="QCheckBox" name="autoSaveRecordBox">
145 <property name="text">
146 <string>Auto-save currently recorded session file every </string>
147 </property>
148 </widget>
149 </item>
150 <item>
151 <widget class="QSpinBox" name="autoSaveRecordSpinBox">
152 <property name="enabled">
153 <bool>false</bool>
154 </property>
155 <property name="maximumSize">
156 <size>
157 <width>50</width>
158 <height>16777215</height>
159 </size>
160 </property>
161 </widget>
162 </item>
163 <item>
164 <widget class="QLabel" name="label_10">
165 <property name="text">
166 <string>minutes</string>
167 </property>
168 </widget>
169 </item>
170 </layout>
171 </item>
172 <item>
173 <widget class="QCheckBox" name="thumbnailsCheckBox">
174 <property name="text">
175 <string>Draw car thumbnails</string>
176 </property>
177 </widget>
178 </item>
179 <item>
180 <widget class="QCheckBox" name="helmetsCheckBox">
181 <property name="text">
182 <string>Draw helmets</string>
183 </property>
184 </widget>
185 </item>
186 <item>
187 <widget class="QCheckBox" name="updateCheckBox">
188 <property name="text">
189 <string>Check for program updates at startup</string>
190 </property>
191 </widget>
192 </item>
193 <item>
194 <spacer name="verticalSpacer_2">
195 <property name="orientation">
196 <enum>Qt::Vertical</enum>
197 </property>
198 <property name="sizeHint" stdset="0">
199 <size>
200 <width>20</width>
201 <height>40</height>
202 </size>
203 </property>
204 </spacer>
205 </item>
206 </layout>
207 </widget>
208 <widget class="QWidget" name="Co">
209 <attribute name="title">
210 <string>Colors</string>
211 </attribute>
212 <layout class="QGridLayout" name="gridLayout_3">
213 <item row="1" column="2">
214 <widget class="QToolButton" name="colorCyanButton">
215 <property name="maximumSize">
216 <size>
217 <width>24</width>
218 <height>24</height>
219 </size>
220 </property>
221 <property name="styleSheet">
222 <string notr="true">background-color: rgb(0, 255, 255);
223 border-style: solid;
224 border-width: 1px;
225 border-radius: 3px;
226 border-color: rgb(153, 153, 153);
227 padding: 3px;
228 </string>
229 </property>
230 <property name="text">
231 <string/>
232 </property>
233 </widget>
234 </item>
235 <item row="0" column="2">
236 <widget class="QToolButton" name="colorWhiteButton">
237 <property name="maximumSize">
238 <size>
239 <width>24</width>
240 <height>24</height>
241 </size>
242 </property>
243 <property name="styleSheet">
244 <string notr="true">background-color: rgb(218, 218, 218);
245 border-style: solid;
246 border-width: 1px;
247 border-radius: 3px;
248 border-color: rgb(153, 153, 153);
249 padding: 3px;
250 </string>
251 </property>
252 <property name="text">
253 <string/>
254 </property>
255 </widget>
256 </item>
257 <item row="6" column="4">
258 <widget class="QPushButton" name="pushButton_6">
259 <property name="text">
260 <string>Reset to default</string>
261 </property>
262 </widget>
263 </item>
264 <item row="2" column="4">
265 <widget class="QPushButton" name="pushButton_3">
266 <property name="text">
267 <string>Reset to default</string>
268 </property>
269 </widget>
270 </item>
271 <item row="6" column="0">
272 <widget class="QLabel" name="label_15">
273 <property name="text">
274 <string>Lap record color:</string>
275 </property>
276 </widget>
277 </item>
278 <item row="5" column="0">
279 <widget class="QLabel" name="label_14">
280 <property name="text">
281 <string>Personal best time color:</string>
282 </property>
283 </widget>
284 </item>
285 <item row="1" column="4">
286 <widget class="QPushButton" name="pushButton_2">
287 <property name="text">
288 <string>Reset to default</string>
289 </property>
290 </widget>
291 </item>
292 <item row="0" column="0">
293 <widget class="QLabel" name="label_9">
294 <property name="text">
295 <string>Main color:</string>
296 </property>
297 </widget>
298 </item>
299 <item row="5" column="4">
300 <widget class="QPushButton" name="pushButton_5">
301 <property name="text">
302 <string>Reset to default</string>
303 </property>
304 </widget>
305 </item>
306 <item row="5" column="2">
307 <widget class="QToolButton" name="colorGreenButton">
308 <property name="maximumSize">
309 <size>
310 <width>24</width>
311 <height>24</height>
312 </size>
313 </property>
314 <property name="styleSheet">
315 <string notr="true">background-color: rgb(0, 255, 0);
316 border-style: solid;
317 border-width: 1px;
318 border-radius: 3px;
319 border-color: rgb(153, 153, 153);
320 padding: 3px;
321 </string>
322 </property>
323 <property name="text">
324 <string/>
325 </property>
326 </widget>
327 </item>
328 <item row="3" column="4">
329 <widget class="QPushButton" name="pushButton_4">
330 <property name="text">
331 <string>Reset to default</string>
332 </property>
333 </widget>
334 </item>
335 <item row="3" column="0">
336 <widget class="QLabel" name="label_13">
337 <property name="text">
338 <string>Pit color:</string>
339 </property>
340 </widget>
341 </item>
342 <item row="2" column="0">
343 <widget class="QLabel" name="label_16">
344 <property name="text">
345 <string>Gap color:</string>
346 </property>
347 </widget>
348 </item>
349 <item row="1" column="0">
350 <widget class="QLabel" name="label_11">
351 <property name="text">
352 <string>Position color:</string>
353 </property>
354 </widget>
355 </item>
356 <item row="0" column="4">
357 <widget class="QPushButton" name="pushButton">
358 <property name="text">
359 <string>Reset to default</string>
360 </property>
361 </widget>
362 </item>
363 <item row="3" column="2">
364 <widget class="QToolButton" name="colorRedButton">
365 <property name="maximumSize">
366 <size>
367 <width>24</width>
368 <height>24</height>
369 </size>
370 </property>
371 <property name="styleSheet">
372 <string notr="true">background-color: rgb(231, 31, 31);
373 border-style: solid;
374 border-width: 1px;
375 border-radius: 3px;
376 border-color: rgb(153, 153, 153);
377 padding: 3px;
378 </string>
379 </property>
380 <property name="text">
381 <string/>
382 </property>
383 </widget>
384 </item>
385 <item row="0" column="3">
386 <spacer name="horizontalSpacer">
387 <property name="orientation">
388 <enum>Qt::Horizontal</enum>
389 </property>
390 <property name="sizeHint" stdset="0">
391 <size>
392 <width>40</width>
393 <height>20</height>
394 </size>
395 </property>
396 </spacer>
397 </item>
398 <item row="0" column="1">
399 <spacer name="horizontalSpacer_2">
400 <property name="orientation">
401 <enum>Qt::Horizontal</enum>
402 </property>
403 <property name="sizeHint" stdset="0">
404 <size>
405 <width>40</width>
406 <height>20</height>
407 </size>
408 </property>
409 </spacer>
410 </item>
411 <item row="2" column="2">
412 <widget class="QToolButton" name="colorYellowButton">
413 <property name="maximumSize">
414 <size>
415 <width>24</width>
416 <height>24</height>
417 </size>
418 </property>
419 <property name="styleSheet">
420 <string notr="true">background-color: rgb(255, 255, 0);
421 border-style: solid;
422 border-width: 1px;
423 border-radius: 3px;
424 border-color: rgb(153, 153, 153);
425 padding: 3px;
426 </string>
427 </property>
428 <property name="text">
429 <string/>
430 </property>
431 </widget>
432 </item>
433 <item row="6" column="2">
434 <widget class="QToolButton" name="colorVioletButton">
435 <property name="maximumSize">
436 <size>
437 <width>24</width>
438 <height>24</height>
439 </size>
440 </property>
441 <property name="styleSheet">
442 <string notr="true">background-color: rgb(255, 0, 255);
443 border-style: solid;
444 border-width: 1px;
445 border-radius: 3px;
446 border-color: rgb(153, 153, 153);
447 padding: 3px;
448 </string>
449 </property>
450 <property name="text">
451 <string/>
452 </property>
453 </widget>
454 </item>
455 <item row="7" column="0" colspan="5">
456 <layout class="QHBoxLayout" name="horizontalLayout_2">
457 <property name="spacing">
458 <number>6</number>
459 </property>
460 <item>
461 <spacer name="horizontalSpacer_3">
462 <property name="orientation">
463 <enum>Qt::Horizontal</enum>
464 </property>
465 <property name="sizeHint" stdset="0">
466 <size>
467 <width>40</width>
468 <height>20</height>
469 </size>
470 </property>
471 </spacer>
472 </item>
473 <item>
474 <widget class="QPushButton" name="pushButton_7">
475 <property name="text">
476 <string>Reset all to defaults</string>
477 </property>
478 </widget>
479 </item>
480 <item>
481 <spacer name="horizontalSpacer_4">
482 <property name="orientation">
483 <enum>Qt::Horizontal</enum>
484 </property>
485 <property name="sizeHint" stdset="0">
486 <size>
487 <width>40</width>
488 <height>20</height>
489 </size>
490 </property>
491 </spacer>
492 </item>
493 </layout>
494 </item>
495 <item row="8" column="0" colspan="5">
496 <layout class="QHBoxLayout" name="horizontalLayout_3">
497 <item>
498 <spacer name="horizontalSpacer_5">
499 <property name="orientation">
500 <enum>Qt::Horizontal</enum>
501 </property>
502 <property name="sizeHint" stdset="0">
503 <size>
504 <width>40</width>
505 <height>20</height>
506 </size>
507 </property>
508 </spacer>
509 </item>
510 <item>
511 <widget class="QPushButton" name="pushButton_8">
512 <property name="text">
513 <string>Driver colors</string>
514 </property>
515 </widget>
516 </item>
517 <item>
518 <spacer name="horizontalSpacer_6">
519 <property name="orientation">
520 <enum>Qt::Horizontal</enum>
521 </property>
522 <property name="sizeHint" stdset="0">
523 <size>
524 <width>40</width>
525 <height>20</height>
526 </size>
527 </property>
528 </spacer>
529 </item>
530 </layout>
531 </item>
532 </layout>
533 </widget>
534 <widget class="QWidget" name="tab_2">
535 <attribute name="title">
536 <string>Network</string>
537 </attribute>
538 <layout class="QVBoxLayout" name="verticalLayout_3">
539 <item>
540 <widget class="QCheckBox" name="proxyCheckBox">
541 <property name="text">
542 <string>Use proxy</string>
543 </property>
544 </widget>
545 </item>
546 <item>
547 <widget class="QGroupBox" name="proxyBox">
548 <property name="enabled">
549 <bool>false</bool>
550 </property>
551 <property name="sizePolicy">
552 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
553 <horstretch>0</horstretch>
554 <verstretch>0</verstretch>
555 </sizepolicy>
556 </property>
557 <property name="title">
558 <string>Proxy settings</string>
559 </property>
560 <layout class="QGridLayout" name="gridLayout_2">
561 <item row="1" column="0">
562 <widget class="QLabel" name="label_4">
563 <property name="text">
564 <string>Host:</string>
565 </property>
566 </widget>
567 </item>
568 <item row="3" column="0">
569 <widget class="QLabel" name="label_5">
570 <property name="text">
571 <string>User:</string>
572 </property>
573 </widget>
574 </item>
575 <item row="4" column="0">
576 <widget class="QLabel" name="label_6">
577 <property name="text">
578 <string>Password:</string>
579 </property>
580 </widget>
581 </item>
582 <item row="2" column="0">
583 <widget class="QLabel" name="label_7">
584 <property name="text">
585 <string>Port:</string>
586 </property>
587 </widget>
588 </item>
589 <item row="2" column="1">
590 <widget class="QSpinBox" name="proxyPortEdit">
591 <property name="maximum">
592 <number>99999</number>
593 </property>
594 </widget>
595 </item>
596 <item row="2" column="2">
597 <widget class="QLabel" name="label_8">
598 <property name="text">
599 <string>Type:</string>
600 </property>
601 <property name="alignment">
602 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
603 </property>
604 </widget>
605 </item>
606 <item row="2" column="3">
607 <widget class="QComboBox" name="proxyTypeBox">
608 <item>
609 <property name="text">
610 <string>HTTP</string>
611 </property>
612 </item>
613 <item>
614 <property name="text">
615 <string>Socks5</string>
616 </property>
617 </item>
618 </widget>
619 </item>
620 <item row="1" column="1" colspan="3">
621 <widget class="QLineEdit" name="proxyHostEdit"/>
622 </item>
623 <item row="3" column="1" colspan="3">
624 <widget class="QLineEdit" name="proxyUserEdit"/>
625 </item>
626 <item row="4" column="1" colspan="3">
627 <widget class="QLineEdit" name="proxyPasswordEdit">
628 <property name="echoMode">
629 <enum>QLineEdit::Password</enum>
630 </property>
631 </widget>
632 </item>
633 </layout>
634 </widget>
635 </item>
636 <item>
637 <spacer name="verticalSpacer">
638 <property name="orientation">
639 <enum>Qt::Vertical</enum>
640 </property>
641 <property name="sizeHint" stdset="0">
642 <size>
643 <width>20</width>
644 <height>40</height>
645 </size>
646 </property>
647 </spacer>
648 </item>
649 </layout>
650 </widget>
651 </widget>
652 </item>
653 <item>
654 <widget class="QDialogButtonBox" name="buttonBox">
655 <property name="orientation">
656 <enum>Qt::Horizontal</enum>
657 </property>
658 <property name="standardButtons">
659 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
660 </property>
661 </widget>
662 </item>
663 </layout>
664 </widget>
665 <resources>
666 <include location="../icons/icons.qrc"/>
667 </resources>
668 <connections>
669 <connection>
670 <sender>buttonBox</sender>
671 <signal>accepted()</signal>
672 <receiver>PreferencesDialog</receiver>
673 <slot>accept()</slot>
674 <hints>
675 <hint type="sourcelabel">
676 <x>257</x>
677 <y>355</y>
678 </hint>
679 <hint type="destinationlabel">
680 <x>157</x>
681 <y>274</y>
682 </hint>
683 </hints>
684 </connection>
685 <connection>
686 <sender>buttonBox</sender>
687 <signal>rejected()</signal>
688 <receiver>PreferencesDialog</receiver>
689 <slot>reject()</slot>
690 <hints>
691 <hint type="sourcelabel">
692 <x>325</x>
693 <y>355</y>
694 </hint>
695 <hint type="destinationlabel">
696 <x>286</x>
697 <y>274</y>
698 </hint>
699 </hints>
700 </connection>
701 </connections>
702 </ui>