1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>PreferencesDialog
</class>
4 <widget class=
"QDialog" name=
"PreferencesDialog">
5 <property name=
"geometry">
13 <property name=
"windowTitle">
14 <string>Preferences
</string>
16 <property name=
"windowIcon">
17 <iconset resource=
"../icons/icons.qrc">
18 <normaloff>:/ui_icons/icon.png
</normaloff>:/ui_icons/icon.png
</iconset>
20 <layout class=
"QVBoxLayout" name=
"verticalLayout">
21 <property name=
"margin">
25 <widget class=
"QTabWidget" name=
"tabWidget">
26 <property name=
"currentIndex">
29 <widget class=
"QWidget" name=
"tab">
30 <attribute name=
"title">
31 <string>General
</string>
33 <layout class=
"QVBoxLayout" name=
"verticalLayout_4">
35 <widget class=
"QGroupBox" name=
"groupBox">
36 <property name=
"title">
37 <string>Fonts
</string>
39 <property name=
"flat">
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>
50 <item row=
"0" column=
"1">
51 <widget class=
"QPushButton" name=
"mainFontButton">
52 <property name=
"text">
53 <string>Arial
</string>
57 <item row=
"0" column=
"0">
58 <widget class=
"QLabel" name=
"label">
59 <property name=
"text">
60 <string>Main font:
</string>
64 <item row=
"2" column=
"0">
65 <widget class=
"QLabel" name=
"label_2">
66 <property name=
"text">
67 <string>Commentary font:
</string>
75 <widget class=
"QCheckBox" name=
"ltCheckBox">
76 <property name=
"text">
77 <string>Show contents during LT window resize
</string>
79 <property name=
"checked">
85 <widget class=
"QCheckBox" name=
"autoConnectBox">
86 <property name=
"text">
87 <string>Connect to LT server automatically after application start
</string>
92 <widget class=
"QCheckBox" name=
"autoRecordBox">
93 <property name=
"text">
94 <string>Automatically start recording when session starts
</string>
99 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
100 <property name=
"spacing">
103 <property name=
"bottomMargin">
107 <widget class=
"QCheckBox" name=
"autoStopRecordBox">
108 <property name=
"sizePolicy">
109 <sizepolicy hsizetype=
"Fixed" vsizetype=
"Fixed">
110 <horstretch>0</horstretch>
111 <verstretch>0</verstretch>
114 <property name=
"text">
115 <string>Automatically stop recording
</string>
120 <widget class=
"QSpinBox" name=
"autoStopRecordSpinBox">
121 <property name=
"enabled">
124 <property name=
"maximumSize">
127 <height>16777215</height>
133 <widget class=
"QLabel" name=
"label_3">
134 <property name=
"text">
135 <string>minutes after session ends
</string>
142 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
144 <widget class=
"QCheckBox" name=
"autoSaveRecordBox">
145 <property name=
"text">
146 <string>Auto-save currently recorded session file every
</string>
151 <widget class=
"QSpinBox" name=
"autoSaveRecordSpinBox">
152 <property name=
"enabled">
155 <property name=
"maximumSize">
158 <height>16777215</height>
164 <widget class=
"QLabel" name=
"label_10">
165 <property name=
"text">
166 <string>minutes
</string>
173 <widget class=
"QCheckBox" name=
"thumbnailsCheckBox">
174 <property name=
"text">
175 <string>Draw car thumbnails
</string>
180 <widget class=
"QCheckBox" name=
"helmetsCheckBox">
181 <property name=
"text">
182 <string>Draw helmets
</string>
187 <widget class=
"QCheckBox" name=
"updateCheckBox">
188 <property name=
"text">
189 <string>Check for program updates at startup
</string>
194 <spacer name=
"verticalSpacer_2">
195 <property name=
"orientation">
196 <enum>Qt::Vertical
</enum>
198 <property name=
"sizeHint" stdset=
"0">
208 <widget class=
"QWidget" name=
"Co">
209 <attribute name=
"title">
210 <string>Colors
</string>
212 <layout class=
"QGridLayout" name=
"gridLayout_3">
213 <item row=
"1" column=
"2">
214 <widget class=
"QToolButton" name=
"colorCyanButton">
215 <property name=
"maximumSize">
221 <property name=
"styleSheet">
222 <string notr=
"true">background-color: rgb(
0,
255,
255);
226 border-color: rgb(
153,
153,
153);
230 <property name=
"text">
235 <item row=
"0" column=
"2">
236 <widget class=
"QToolButton" name=
"colorWhiteButton">
237 <property name=
"maximumSize">
243 <property name=
"styleSheet">
244 <string notr=
"true">background-color: rgb(
218,
218,
218);
248 border-color: rgb(
153,
153,
153);
252 <property name=
"text">
257 <item row=
"6" column=
"4">
258 <widget class=
"QPushButton" name=
"pushButton_6">
259 <property name=
"text">
260 <string>Reset to default
</string>
264 <item row=
"2" column=
"4">
265 <widget class=
"QPushButton" name=
"pushButton_3">
266 <property name=
"text">
267 <string>Reset to default
</string>
271 <item row=
"6" column=
"0">
272 <widget class=
"QLabel" name=
"label_15">
273 <property name=
"text">
274 <string>Lap record color:
</string>
278 <item row=
"5" column=
"0">
279 <widget class=
"QLabel" name=
"label_14">
280 <property name=
"text">
281 <string>Personal best time color:
</string>
285 <item row=
"1" column=
"4">
286 <widget class=
"QPushButton" name=
"pushButton_2">
287 <property name=
"text">
288 <string>Reset to default
</string>
292 <item row=
"0" column=
"0">
293 <widget class=
"QLabel" name=
"label_9">
294 <property name=
"text">
295 <string>Main color:
</string>
299 <item row=
"5" column=
"4">
300 <widget class=
"QPushButton" name=
"pushButton_5">
301 <property name=
"text">
302 <string>Reset to default
</string>
306 <item row=
"5" column=
"2">
307 <widget class=
"QToolButton" name=
"colorGreenButton">
308 <property name=
"maximumSize">
314 <property name=
"styleSheet">
315 <string notr=
"true">background-color: rgb(
0,
255,
0);
319 border-color: rgb(
153,
153,
153);
323 <property name=
"text">
328 <item row=
"3" column=
"4">
329 <widget class=
"QPushButton" name=
"pushButton_4">
330 <property name=
"text">
331 <string>Reset to default
</string>
335 <item row=
"3" column=
"0">
336 <widget class=
"QLabel" name=
"label_13">
337 <property name=
"text">
338 <string>Pit color:
</string>
342 <item row=
"2" column=
"0">
343 <widget class=
"QLabel" name=
"label_16">
344 <property name=
"text">
345 <string>Gap color:
</string>
349 <item row=
"1" column=
"0">
350 <widget class=
"QLabel" name=
"label_11">
351 <property name=
"text">
352 <string>Position color:
</string>
356 <item row=
"0" column=
"4">
357 <widget class=
"QPushButton" name=
"pushButton">
358 <property name=
"text">
359 <string>Reset to default
</string>
363 <item row=
"3" column=
"2">
364 <widget class=
"QToolButton" name=
"colorRedButton">
365 <property name=
"maximumSize">
371 <property name=
"styleSheet">
372 <string notr=
"true">background-color: rgb(
231,
31,
31);
376 border-color: rgb(
153,
153,
153);
380 <property name=
"text">
385 <item row=
"0" column=
"3">
386 <spacer name=
"horizontalSpacer">
387 <property name=
"orientation">
388 <enum>Qt::Horizontal
</enum>
390 <property name=
"sizeHint" stdset=
"0">
398 <item row=
"0" column=
"1">
399 <spacer name=
"horizontalSpacer_2">
400 <property name=
"orientation">
401 <enum>Qt::Horizontal
</enum>
403 <property name=
"sizeHint" stdset=
"0">
411 <item row=
"2" column=
"2">
412 <widget class=
"QToolButton" name=
"colorYellowButton">
413 <property name=
"maximumSize">
419 <property name=
"styleSheet">
420 <string notr=
"true">background-color: rgb(
255,
255,
0);
424 border-color: rgb(
153,
153,
153);
428 <property name=
"text">
433 <item row=
"6" column=
"2">
434 <widget class=
"QToolButton" name=
"colorVioletButton">
435 <property name=
"maximumSize">
441 <property name=
"styleSheet">
442 <string notr=
"true">background-color: rgb(
255,
0,
255);
446 border-color: rgb(
153,
153,
153);
450 <property name=
"text">
455 <item row=
"7" column=
"0" colspan=
"5">
456 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
457 <property name=
"spacing">
461 <spacer name=
"horizontalSpacer_3">
462 <property name=
"orientation">
463 <enum>Qt::Horizontal
</enum>
465 <property name=
"sizeHint" stdset=
"0">
474 <widget class=
"QPushButton" name=
"pushButton_7">
475 <property name=
"text">
476 <string>Reset all to defaults
</string>
481 <spacer name=
"horizontalSpacer_4">
482 <property name=
"orientation">
483 <enum>Qt::Horizontal
</enum>
485 <property name=
"sizeHint" stdset=
"0">
495 <item row=
"8" column=
"0" colspan=
"5">
496 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
498 <spacer name=
"horizontalSpacer_5">
499 <property name=
"orientation">
500 <enum>Qt::Horizontal
</enum>
502 <property name=
"sizeHint" stdset=
"0">
511 <widget class=
"QPushButton" name=
"pushButton_8">
512 <property name=
"text">
513 <string>Driver colors
</string>
518 <spacer name=
"horizontalSpacer_6">
519 <property name=
"orientation">
520 <enum>Qt::Horizontal
</enum>
522 <property name=
"sizeHint" stdset=
"0">
534 <widget class=
"QWidget" name=
"tab_2">
535 <attribute name=
"title">
536 <string>Network
</string>
538 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
540 <widget class=
"QCheckBox" name=
"proxyCheckBox">
541 <property name=
"text">
542 <string>Use proxy
</string>
547 <widget class=
"QGroupBox" name=
"proxyBox">
548 <property name=
"enabled">
551 <property name=
"sizePolicy">
552 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Fixed">
553 <horstretch>0</horstretch>
554 <verstretch>0</verstretch>
557 <property name=
"title">
558 <string>Proxy settings
</string>
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>
568 <item row=
"3" column=
"0">
569 <widget class=
"QLabel" name=
"label_5">
570 <property name=
"text">
571 <string>User:
</string>
575 <item row=
"4" column=
"0">
576 <widget class=
"QLabel" name=
"label_6">
577 <property name=
"text">
578 <string>Password:
</string>
582 <item row=
"2" column=
"0">
583 <widget class=
"QLabel" name=
"label_7">
584 <property name=
"text">
585 <string>Port:
</string>
589 <item row=
"2" column=
"1">
590 <widget class=
"QSpinBox" name=
"proxyPortEdit">
591 <property name=
"maximum">
592 <number>99999</number>
596 <item row=
"2" column=
"2">
597 <widget class=
"QLabel" name=
"label_8">
598 <property name=
"text">
599 <string>Type:
</string>
601 <property name=
"alignment">
602 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
</set>
606 <item row=
"2" column=
"3">
607 <widget class=
"QComboBox" name=
"proxyTypeBox">
609 <property name=
"text">
610 <string>HTTP
</string>
614 <property name=
"text">
615 <string>Socks5
</string>
620 <item row=
"1" column=
"1" colspan=
"3">
621 <widget class=
"QLineEdit" name=
"proxyHostEdit"/>
623 <item row=
"3" column=
"1" colspan=
"3">
624 <widget class=
"QLineEdit" name=
"proxyUserEdit"/>
626 <item row=
"4" column=
"1" colspan=
"3">
627 <widget class=
"QLineEdit" name=
"proxyPasswordEdit">
628 <property name=
"echoMode">
629 <enum>QLineEdit::Password
</enum>
637 <spacer name=
"verticalSpacer">
638 <property name=
"orientation">
639 <enum>Qt::Vertical
</enum>
641 <property name=
"sizeHint" stdset=
"0">
654 <widget class=
"QDialogButtonBox" name=
"buttonBox">
655 <property name=
"orientation">
656 <enum>Qt::Horizontal
</enum>
658 <property name=
"standardButtons">
659 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok
</set>
666 <include location=
"../icons/icons.qrc"/>
670 <sender>buttonBox
</sender>
671 <signal>accepted()
</signal>
672 <receiver>PreferencesDialog
</receiver>
673 <slot>accept()
</slot>
675 <hint type=
"sourcelabel">
679 <hint type=
"destinationlabel">
686 <sender>buttonBox
</sender>
687 <signal>rejected()
</signal>
688 <receiver>PreferencesDialog
</receiver>
689 <slot>reject()
</slot>
691 <hint type=
"sourcelabel">
695 <hint type=
"destinationlabel">