1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>MainWindow</class>
4 <widget class="QMainWindow" name="MainWindow">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>Ultimate score client</string>
16 <widget class="QWidget" name="centralWidget">
17 <layout class="QVBoxLayout" name="verticalLayout_2">
19 <layout class="QVBoxLayout" name="verticalLayout">
20 <property name="leftMargin">
23 <property name="topMargin">
26 <property name="rightMargin">
29 <property name="bottomMargin">
33 <layout class="QHBoxLayout" name="horizontalLayout_10">
35 <widget class="QLabel" name="label_11">
36 <property name="text">
37 <string>WebSocket server port:</string>
42 <widget class="QLineEdit" name="ws_port_box">
43 <property name="maximumSize">
46 <height>16777215</height>
49 <property name="text">
55 <widget class="QPushButton" name="ws_disconnect_btn">
56 <property name="text">
57 <string>Change port and disconnect all</string>
62 <widget class="QLabel" name="ws_connected_label">
63 <property name="minimumSize">
69 <property name="text">
70 <string>Not connected</string>
72 <property name="alignment">
73 <set>Qt::AlignCenter</set>
78 <widget class="QCheckBox" name="bt6000_enable">
79 <property name="text">
80 <string>Score 1 UDP</string>
82 <property name="checked">
88 <widget class="QCheckBox" name="bt6000_2_enable">
89 <property name="text">
90 <string>Score 2 UDP</string>
92 <property name="checked">
100 <layout class="QHBoxLayout" name="horizontalLayout_13">
102 <widget class="QPushButton" name="show_scorebug_btn">
103 <property name="text">
104 <string>Show score</string>
109 <widget class="QPushButton" name="show_roster_1_btn">
110 <property name="text">
111 <string>Roster 1</string>
116 <widget class="QPushButton" name="show_roster_2_btn">
117 <property name="text">
118 <string>Roster 2</string>
123 <widget class="QPushButton" name="show_roster_carousel_btn">
124 <property name="text">
125 <string>Roster 1+2</string>
130 <widget class="QPushButton" name="show_group_a_btn">
131 <property name="text">
132 <string>Group A</string>
137 <widget class="QPushButton" name="show_group_b_btn">
138 <property name="text">
139 <string>Group B</string>
144 <widget class="QPushButton" name="show_schedule_btn">
145 <property name="text">
146 <string>Schedule</string>
151 <widget class="QPushButton" name="show_carousel_btn">
152 <property name="text">
153 <string>Carousel</string>
158 <widget class="QPushButton" name="show_nothing_btn">
159 <property name="text">
160 <string>Hide all</string>
167 <layout class="QHBoxLayout" name="horizontalLayout_3">
169 <layout class="QGridLayout" name="gridLayout">
170 <item row="4" column="2">
171 <layout class="QHBoxLayout" name="horizontalLayout_4">
173 <widget class="QPushButton" name="goal_2_btn">
174 <property name="text">
175 <string>+1 point (F9)</string>
177 <property name="shortcut">
183 <widget class="QPushButton" name="ungoal_2_btn">
184 <property name="text">
185 <string>-1 point (F11)</string>
187 <property name="shortcut">
194 <item row="3" column="0">
195 <widget class="QLabel" name="label_6">
196 <property name="text">
197 <string>Score</string>
201 <item row="3" column="2">
202 <widget class="QSpinBox" name="score_2_box"/>
204 <item row="3" column="3">
205 <widget class="QPushButton" name="set_score_btn">
206 <property name="text">
211 <item row="2" column="0">
212 <widget class="QLabel" name="label_7">
213 <property name="text">
214 <string>CSS color</string>
218 <item row="1" column="1">
219 <widget class="QLineEdit" name="initials_1_edit">
220 <property name="text">
225 <item row="4" column="1">
226 <layout class="QHBoxLayout" name="horizontalLayout_5">
228 <widget class="QPushButton" name="goal_1_btn">
229 <property name="text">
230 <string>+1 point (F5)</string>
232 <property name="shortcut">
238 <widget class="QPushButton" name="ungoal_1_btn">
239 <property name="text">
240 <string>-1 point (F7)</string>
242 <property name="shortcut">
249 <item row="2" column="1">
250 <widget class="QLineEdit" name="color_1_edit">
251 <property name="text">
256 <item row="3" column="1">
257 <widget class="QSpinBox" name="score_1_box"/>
259 <item row="0" column="2">
260 <widget class="QLabel" name="label_4">
261 <property name="text">
262 <string>Team 2</string>
266 <item row="0" column="1">
267 <widget class="QLabel" name="label_3">
268 <property name="text">
269 <string>Team 1</string>
273 <item row="1" column="2">
274 <widget class="QLineEdit" name="initials_2_edit">
275 <property name="text">
280 <item row="1" column="0">
281 <widget class="QLabel" name="label_5">
282 <property name="text">
283 <string>Initials</string>
287 <item row="1" column="3">
288 <widget class="QPushButton" name="set_initials_btn">
289 <property name="text">
294 <item row="2" column="2">
295 <widget class="QLineEdit" name="color_2_edit">
296 <property name="text">
297 <string>yellow</string>
301 <item row="2" column="3">
302 <widget class="QPushButton" name="set_color_btn">
303 <property name="text">
308 <item row="4" column="3">
309 <widget class="QPushButton" name="set_all_scorebug_btn">
310 <property name="text">
311 <string>Set all</string>
315 <item row="5" column="0">
316 <widget class="QLabel" name="label_17">
317 <property name="text">
318 <string>Match 2</string>
322 <item row="5" column="1">
323 <widget class="QLineEdit" name="match_2_initials_1_edit">
324 <property name="text">
329 <item row="5" column="2">
330 <widget class="QLineEdit" name="match_2_initials_2_edit">
331 <property name="text">
336 <item row="5" column="3">
337 <widget class="QPushButton" name="set_match_2_initials_btn">
338 <property name="text">
348 <widget class="Line" name="line_3">
349 <property name="orientation">
350 <enum>Qt::Horizontal</enum>
355 <layout class="QHBoxLayout" name="horizontalLayout_2">
357 <widget class="QLabel" name="label">
358 <property name="text">
359 <string>Set clock to:</string>
364 <widget class="QSpinBox" name="clock_min_box">
365 <property name="sizePolicy">
366 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
367 <horstretch>0</horstretch>
368 <verstretch>0</verstretch>
374 <widget class="QLabel" name="label_2">
375 <property name="sizePolicy">
376 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
377 <horstretch>0</horstretch>
378 <verstretch>0</verstretch>
381 <property name="text">
387 <widget class="QSpinBox" name="clock_sec_box">
388 <property name="sizePolicy">
389 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
390 <horstretch>0</horstretch>
391 <verstretch>0</verstretch>
394 <property name="maximum">
400 <widget class="QPushButton" name="set_clock_btn">
401 <property name="text">
402 <string>Set clock</string>
407 <widget class="QLabel" name="label_14">
408 <property name="text">
409 <string>Set clock limit to:</string>
414 <widget class="QSpinBox" name="clock_limit_min_box">
415 <property name="sizePolicy">
416 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
417 <horstretch>0</horstretch>
418 <verstretch>0</verstretch>
421 <property name="value">
427 <widget class="QLabel" name="label_15">
428 <property name="sizePolicy">
429 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
430 <horstretch>0</horstretch>
431 <verstretch>0</verstretch>
434 <property name="text">
440 <widget class="QSpinBox" name="clock_limit_sec_box">
441 <property name="sizePolicy">
442 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
443 <horstretch>0</horstretch>
444 <verstretch>0</verstretch>
447 <property name="maximum">
453 <widget class="QPushButton" name="set_clock_limit_btn">
454 <property name="text">
455 <string>Set limit</string>
462 <layout class="QHBoxLayout" name="horizontalLayout">
464 <widget class="QPushButton" name="start_and_show_clock_btn">
465 <property name="text">
466 <string>Start (and show) clock</string>
471 <widget class="QPushButton" name="stop_clock_btn">
472 <property name="text">
473 <string>Stop clock</string>
478 <widget class="QPushButton" name="show_clock_btn">
479 <property name="text">
480 <string>Show clock</string>
485 <widget class="QPushButton" name="hide_clock_btn">
486 <property name="text">
487 <string>Hide clock</string>
492 <widget class="QPushButton" name="show_match_2_btn">
493 <property name="text">
494 <string>Show match 2</string>
499 <widget class="QPushButton" name="hide_match_2_btn">
500 <property name="text">
501 <string>Hide match 2</string>
508 <widget class="Line" name="line_2">
509 <property name="orientation">
510 <enum>Qt::Horizontal</enum>
515 <layout class="QHBoxLayout" name="horizontalLayout_6">
517 <widget class="QLabel" name="label_8">
518 <property name="text">
519 <string>Comment:</string>
524 <widget class="QLineEdit" name="comment_edit">
525 <property name="text">
531 <widget class="QPushButton" name="set_comment_btn">
532 <property name="text">
538 <widget class="QPushButton" name="set_and_show_comment_btn">
539 <property name="text">
540 <string>Set+show</string>
545 <widget class="QPushButton" name="hide_comment_btn">
546 <property name="text">
547 <string>Hide</string>
554 <layout class="QHBoxLayout" name="horizontalLayout_11">
556 <widget class="QLabel" name="label_12">
557 <property name="text">
558 <string>Suggested autocomment if game ends right now:</string>
563 <widget class="QLineEdit" name="autocomment_edit">
564 <property name="enabled">
567 <property name="text">
573 <widget class="QPushButton" name="set_and_show_autocomment_btn">
574 <property name="text">
575 <string>Set+show</string>
580 <widget class="QCheckBox" name="autoshow_autocomment">
581 <property name="text">
582 <string>Auto-show on clock limit</string>
584 <property name="checked">
592 <widget class="Line" name="line">
593 <property name="orientation">
594 <enum>Qt::Horizontal</enum>
599 <layout class="QHBoxLayout" name="horizontalLayout_7">
601 <widget class="QLabel" name="label_9">
602 <property name="text">
603 <string>Lower third heading (HTML allowed):</string>
608 <widget class="QLineEdit" name="lowerthird_heading_edit"/>
613 <layout class="QHBoxLayout" name="horizontalLayout_8">
615 <widget class="QLabel" name="label_10">
616 <property name="text">
617 <string>Lower third subheading (HTML allowed):</string>
622 <widget class="QLineEdit" name="lowerthird_subheading_edit">
623 <property name="text">
624 <string>Trøndisk 2018</string>
631 <layout class="QHBoxLayout" name="horizontalLayout_9">
633 <widget class="QPushButton" name="show_lower_third_btn">
634 <property name="text">
635 <string>Set + show lower third</string>
640 <widget class="QPushButton" name="hide_lower_third_btn">
641 <property name="text">
642 <string>Hide lower third</string>
649 <layout class="QHBoxLayout" name="horizontalLayout_12">
651 <widget class="QLabel" name="label_13">
652 <property name="text">
653 <string>Quick lower third (A<num>/B<num> = players, C<num> = code):</string>
658 <widget class="QLineEdit" name="quick_lower_third_edit"/>
661 <widget class="QPushButton" name="show_quick_lower_third_btn">
662 <property name="text">
663 <string>Show</string>
673 <widget class="QStatusBar" name="statusBar"/>
675 <layoutdefault spacing="6" margin="11"/>
677 <tabstop>ws_port_box</tabstop>
678 <tabstop>ws_disconnect_btn</tabstop>
679 <tabstop>initials_1_edit</tabstop>
680 <tabstop>initials_2_edit</tabstop>
681 <tabstop>set_initials_btn</tabstop>
682 <tabstop>color_1_edit</tabstop>
683 <tabstop>color_2_edit</tabstop>
684 <tabstop>set_color_btn</tabstop>
685 <tabstop>score_1_box</tabstop>
686 <tabstop>score_2_box</tabstop>
687 <tabstop>set_score_btn</tabstop>
688 <tabstop>goal_1_btn</tabstop>
689 <tabstop>ungoal_1_btn</tabstop>
690 <tabstop>goal_2_btn</tabstop>
691 <tabstop>ungoal_2_btn</tabstop>
692 <tabstop>set_all_scorebug_btn</tabstop>
693 <tabstop>clock_min_box</tabstop>
694 <tabstop>clock_sec_box</tabstop>
695 <tabstop>set_clock_btn</tabstop>
696 <tabstop>start_and_show_clock_btn</tabstop>
697 <tabstop>stop_clock_btn</tabstop>
698 <tabstop>show_clock_btn</tabstop>
699 <tabstop>hide_clock_btn</tabstop>
700 <tabstop>comment_edit</tabstop>
701 <tabstop>set_comment_btn</tabstop>
702 <tabstop>set_and_show_comment_btn</tabstop>
703 <tabstop>hide_comment_btn</tabstop>
704 <tabstop>autocomment_edit</tabstop>
705 <tabstop>set_and_show_autocomment_btn</tabstop>
706 <tabstop>lowerthird_heading_edit</tabstop>
707 <tabstop>lowerthird_subheading_edit</tabstop>
708 <tabstop>show_lower_third_btn</tabstop>
709 <tabstop>hide_lower_third_btn</tabstop>