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>
80 <layout class="QHBoxLayout" name="horizontalLayout_13">
82 <widget class="QPushButton" name="show_scorebug_btn">
83 <property name="text">
84 <string>Show score</string>
89 <widget class="QPushButton" name="show_roster_1_btn">
90 <property name="text">
91 <string>Roster 1</string>
96 <widget class="QPushButton" name="show_roster_2_btn">
97 <property name="text">
98 <string>Roster 2</string>
103 <widget class="QPushButton" name="show_roster_carousel_btn">
104 <property name="text">
105 <string>Roster 1+2</string>
110 <widget class="QPushButton" name="show_group_a_btn">
111 <property name="text">
112 <string>Group A</string>
117 <widget class="QPushButton" name="show_group_b_btn">
118 <property name="text">
119 <string>Group B</string>
124 <widget class="QPushButton" name="show_schedule_btn">
125 <property name="text">
126 <string>Schedule</string>
131 <widget class="QPushButton" name="show_carousel_btn">
132 <property name="text">
133 <string>Carousel</string>
138 <widget class="QPushButton" name="show_nothing_btn">
139 <property name="text">
140 <string>Hide all</string>
147 <layout class="QHBoxLayout" name="horizontalLayout_3">
149 <layout class="QGridLayout" name="gridLayout">
150 <item row="4" column="2">
151 <layout class="QHBoxLayout" name="horizontalLayout_4">
153 <widget class="QPushButton" name="goal_2_btn">
154 <property name="text">
155 <string>+1 point (F9)</string>
157 <property name="shortcut">
163 <widget class="QPushButton" name="ungoal_2_btn">
164 <property name="text">
165 <string>-1 point (F11)</string>
167 <property name="shortcut">
174 <item row="3" column="0">
175 <widget class="QLabel" name="label_6">
176 <property name="text">
177 <string>Score</string>
181 <item row="3" column="2">
182 <widget class="QSpinBox" name="score_2_box"/>
184 <item row="3" column="3">
185 <widget class="QPushButton" name="set_score_btn">
186 <property name="text">
191 <item row="2" column="0">
192 <widget class="QLabel" name="label_7">
193 <property name="text">
194 <string>CSS color</string>
198 <item row="1" column="1">
199 <widget class="QLineEdit" name="initials_1_edit">
200 <property name="text">
205 <item row="4" column="1">
206 <layout class="QHBoxLayout" name="horizontalLayout_5">
208 <widget class="QPushButton" name="goal_1_btn">
209 <property name="text">
210 <string>+1 point (F5)</string>
212 <property name="shortcut">
218 <widget class="QPushButton" name="ungoal_1_btn">
219 <property name="text">
220 <string>-1 point (F7)</string>
222 <property name="shortcut">
229 <item row="2" column="1">
230 <widget class="QLineEdit" name="color_1_edit">
231 <property name="text">
236 <item row="3" column="1">
237 <widget class="QSpinBox" name="score_1_box"/>
239 <item row="0" column="2">
240 <widget class="QLabel" name="label_4">
241 <property name="text">
242 <string>Team 2</string>
246 <item row="0" column="1">
247 <widget class="QLabel" name="label_3">
248 <property name="text">
249 <string>Team 1</string>
253 <item row="1" column="2">
254 <widget class="QLineEdit" name="initials_2_edit">
255 <property name="text">
260 <item row="1" column="0">
261 <widget class="QLabel" name="label_5">
262 <property name="text">
263 <string>Initials</string>
267 <item row="1" column="3">
268 <widget class="QPushButton" name="set_initials_btn">
269 <property name="text">
274 <item row="2" column="2">
275 <widget class="QLineEdit" name="color_2_edit">
276 <property name="text">
277 <string>yellow</string>
281 <item row="2" column="3">
282 <widget class="QPushButton" name="set_color_btn">
283 <property name="text">
288 <item row="4" column="3">
289 <widget class="QPushButton" name="set_all_scorebug_btn">
290 <property name="text">
291 <string>Set all</string>
300 <widget class="Line" name="line_3">
301 <property name="orientation">
302 <enum>Qt::Horizontal</enum>
307 <layout class="QHBoxLayout" name="horizontalLayout_2">
309 <widget class="QLabel" name="label">
310 <property name="text">
311 <string>Set clock to:</string>
316 <widget class="QSpinBox" name="clock_min_box">
317 <property name="sizePolicy">
318 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
319 <horstretch>0</horstretch>
320 <verstretch>0</verstretch>
326 <widget class="QLabel" name="label_2">
327 <property name="sizePolicy">
328 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
329 <horstretch>0</horstretch>
330 <verstretch>0</verstretch>
333 <property name="text">
339 <widget class="QSpinBox" name="clock_sec_box">
340 <property name="sizePolicy">
341 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
342 <horstretch>0</horstretch>
343 <verstretch>0</verstretch>
346 <property name="maximum">
352 <widget class="QPushButton" name="set_clock_btn">
353 <property name="text">
354 <string>Set clock</string>
359 <widget class="QLabel" name="label_14">
360 <property name="text">
361 <string>Set clock limit to:</string>
366 <widget class="QSpinBox" name="clock_limit_min_box">
367 <property name="sizePolicy">
368 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
369 <horstretch>0</horstretch>
370 <verstretch>0</verstretch>
373 <property name="value">
379 <widget class="QLabel" name="label_15">
380 <property name="sizePolicy">
381 <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
382 <horstretch>0</horstretch>
383 <verstretch>0</verstretch>
386 <property name="text">
392 <widget class="QSpinBox" name="clock_limit_sec_box">
393 <property name="sizePolicy">
394 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
395 <horstretch>0</horstretch>
396 <verstretch>0</verstretch>
399 <property name="maximum">
405 <widget class="QPushButton" name="set_clock_limit_btn">
406 <property name="text">
407 <string>Set limit</string>
414 <layout class="QHBoxLayout" name="horizontalLayout">
416 <widget class="QPushButton" name="start_and_show_clock_btn">
417 <property name="text">
418 <string>Start (and show) clock</string>
423 <widget class="QPushButton" name="stop_clock_btn">
424 <property name="text">
425 <string>Stop clock</string>
430 <widget class="QPushButton" name="show_clock_btn">
431 <property name="text">
432 <string>Show clock</string>
437 <widget class="QPushButton" name="hide_clock_btn">
438 <property name="text">
439 <string>Hide clock</string>
446 <widget class="Line" name="line_2">
447 <property name="orientation">
448 <enum>Qt::Horizontal</enum>
453 <layout class="QHBoxLayout" name="horizontalLayout_6">
455 <widget class="QLabel" name="label_8">
456 <property name="text">
457 <string>Comment:</string>
462 <widget class="QLineEdit" name="comment_edit">
463 <property name="text">
469 <widget class="QPushButton" name="set_comment_btn">
470 <property name="text">
476 <widget class="QPushButton" name="set_and_show_comment_btn">
477 <property name="text">
478 <string>Set+show</string>
483 <widget class="QPushButton" name="hide_comment_btn">
484 <property name="text">
485 <string>Hide</string>
492 <layout class="QHBoxLayout" name="horizontalLayout_11">
494 <widget class="QLabel" name="label_12">
495 <property name="text">
496 <string>Suggested autocomment if game ends right now:</string>
501 <widget class="QLineEdit" name="autocomment_edit">
502 <property name="enabled">
505 <property name="text">
511 <widget class="QPushButton" name="set_and_show_autocomment_btn">
512 <property name="text">
513 <string>Set+show</string>
520 <widget class="Line" name="line">
521 <property name="orientation">
522 <enum>Qt::Horizontal</enum>
527 <layout class="QHBoxLayout" name="horizontalLayout_7">
529 <widget class="QLabel" name="label_9">
530 <property name="text">
531 <string>Lower third heading (HTML allowed):</string>
536 <widget class="QLineEdit" name="lowerthird_heading_edit"/>
541 <layout class="QHBoxLayout" name="horizontalLayout_8">
543 <widget class="QLabel" name="label_10">
544 <property name="text">
545 <string>Lower third subheading (HTML allowed):</string>
550 <widget class="QLineEdit" name="lowerthird_subheading_edit">
551 <property name="text">
552 <string>Norwegian Ultimate Championships 2018</string>
559 <layout class="QHBoxLayout" name="horizontalLayout_9">
561 <widget class="QPushButton" name="show_lower_third_btn">
562 <property name="text">
563 <string>Set + show lower third</string>
568 <widget class="QPushButton" name="hide_lower_third_btn">
569 <property name="text">
570 <string>Hide lower third</string>
577 <layout class="QHBoxLayout" name="horizontalLayout_12">
579 <widget class="QLabel" name="label_13">
580 <property name="text">
581 <string>Quick lower third (A<num>/B<num> = players, C<num> = code):</string>
586 <widget class="QLineEdit" name="quick_lower_third_edit"/>
589 <widget class="QPushButton" name="show_quick_lower_third_btn">
590 <property name="text">
591 <string>Show</string>
601 <widget class="QStatusBar" name="statusBar"/>
603 <layoutdefault spacing="6" margin="11"/>
605 <tabstop>ws_port_box</tabstop>
606 <tabstop>ws_disconnect_btn</tabstop>
607 <tabstop>initials_1_edit</tabstop>
608 <tabstop>initials_2_edit</tabstop>
609 <tabstop>set_initials_btn</tabstop>
610 <tabstop>color_1_edit</tabstop>
611 <tabstop>color_2_edit</tabstop>
612 <tabstop>set_color_btn</tabstop>
613 <tabstop>score_1_box</tabstop>
614 <tabstop>score_2_box</tabstop>
615 <tabstop>set_score_btn</tabstop>
616 <tabstop>goal_1_btn</tabstop>
617 <tabstop>ungoal_1_btn</tabstop>
618 <tabstop>goal_2_btn</tabstop>
619 <tabstop>ungoal_2_btn</tabstop>
620 <tabstop>set_all_scorebug_btn</tabstop>
621 <tabstop>clock_min_box</tabstop>
622 <tabstop>clock_sec_box</tabstop>
623 <tabstop>set_clock_btn</tabstop>
624 <tabstop>start_and_show_clock_btn</tabstop>
625 <tabstop>stop_clock_btn</tabstop>
626 <tabstop>show_clock_btn</tabstop>
627 <tabstop>hide_clock_btn</tabstop>
628 <tabstop>comment_edit</tabstop>
629 <tabstop>set_comment_btn</tabstop>
630 <tabstop>set_and_show_comment_btn</tabstop>
631 <tabstop>hide_comment_btn</tabstop>
632 <tabstop>autocomment_edit</tabstop>
633 <tabstop>set_and_show_autocomment_btn</tabstop>
634 <tabstop>lowerthird_heading_edit</tabstop>
635 <tabstop>lowerthird_subheading_edit</tabstop>
636 <tabstop>show_lower_third_btn</tabstop>
637 <tabstop>hide_lower_third_btn</tabstop>