]> git.sesse.net Git - ultimatescore/blob - client/mainwindow.ui
88318919bf39be5847029b895ce95c74ef87f19e
[ultimatescore] / client / mainwindow.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>891</width>
10     <height>597</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Ultimate score client</string>
15   </property>
16   <widget class="QWidget" name="centralWidget">
17    <layout class="QVBoxLayout" name="verticalLayout_2">
18     <item>
19      <layout class="QVBoxLayout" name="verticalLayout">
20       <property name="leftMargin">
21        <number>6</number>
22       </property>
23       <property name="topMargin">
24        <number>6</number>
25       </property>
26       <property name="rightMargin">
27        <number>6</number>
28       </property>
29       <property name="bottomMargin">
30        <number>6</number>
31       </property>
32       <item>
33        <layout class="QHBoxLayout" name="horizontalLayout_10">
34         <item>
35          <widget class="QLabel" name="label_11">
36           <property name="text">
37            <string>WebSocket server port:</string>
38           </property>
39          </widget>
40         </item>
41         <item>
42          <widget class="QLineEdit" name="ws_port_box">
43           <property name="maximumSize">
44            <size>
45             <width>50</width>
46             <height>16777215</height>
47            </size>
48           </property>
49           <property name="text">
50            <string>5250</string>
51           </property>
52          </widget>
53         </item>
54         <item>
55          <widget class="QPushButton" name="ws_disconnect_btn">
56           <property name="text">
57            <string>Change port and disconnect all</string>
58           </property>
59          </widget>
60         </item>
61         <item>
62          <widget class="QLabel" name="ws_connected_label">
63           <property name="minimumSize">
64            <size>
65             <width>100</width>
66             <height>0</height>
67            </size>
68           </property>
69           <property name="text">
70            <string>Not connected</string>
71           </property>
72           <property name="alignment">
73            <set>Qt::AlignCenter</set>
74           </property>
75          </widget>
76         </item>
77         <item>
78          <widget class="QCheckBox" name="bt6000_enable">
79           <property name="text">
80            <string>Score 1 UDP</string>
81           </property>
82           <property name="checked">
83            <bool>true</bool>
84           </property>
85          </widget>
86         </item>
87         <item>
88          <widget class="QCheckBox" name="bt6000_2_enable">
89           <property name="text">
90            <string>Score 2 UDP</string>
91           </property>
92           <property name="checked">
93            <bool>true</bool>
94           </property>
95          </widget>
96         </item>
97         <item>
98          <widget class="QCheckBox" name="bt6000_3_enable">
99           <property name="text">
100            <string>Score 3 UDP</string>
101           </property>
102           <property name="checked">
103            <bool>true</bool>
104           </property>
105          </widget>
106         </item>
107        </layout>
108       </item>
109       <item>
110        <layout class="QHBoxLayout" name="horizontalLayout_13">
111         <item>
112          <widget class="QPushButton" name="show_scorebug_btn">
113           <property name="text">
114            <string>Show score</string>
115           </property>
116          </widget>
117         </item>
118         <item>
119          <widget class="QPushButton" name="show_roster_1_btn">
120           <property name="text">
121            <string>Roster 1</string>
122           </property>
123          </widget>
124         </item>
125         <item>
126          <widget class="QPushButton" name="show_roster_2_btn">
127           <property name="text">
128            <string>Roster 2</string>
129           </property>
130          </widget>
131         </item>
132         <item>
133          <widget class="QPushButton" name="show_roster_carousel_btn">
134           <property name="text">
135            <string>Roster 1+2</string>
136           </property>
137          </widget>
138         </item>
139         <item>
140          <widget class="QPushButton" name="show_group_a_btn">
141           <property name="text">
142            <string>Group A</string>
143           </property>
144          </widget>
145         </item>
146         <item>
147          <widget class="QPushButton" name="show_group_b_btn">
148           <property name="text">
149            <string>Group B</string>
150           </property>
151          </widget>
152         </item>
153         <item>
154          <widget class="QPushButton" name="show_group_c_btn">
155           <property name="text">
156            <string>Group C</string>
157           </property>
158          </widget>
159         </item>
160         <item>
161          <widget class="QPushButton" name="show_schedule_btn">
162           <property name="text">
163            <string>Schedule</string>
164           </property>
165          </widget>
166         </item>
167         <item>
168          <widget class="QPushButton" name="show_carousel_btn">
169           <property name="text">
170            <string>Carousel</string>
171           </property>
172          </widget>
173         </item>
174         <item>
175          <widget class="QPushButton" name="show_nothing_btn">
176           <property name="text">
177            <string>Hide all</string>
178           </property>
179          </widget>
180         </item>
181        </layout>
182       </item>
183       <item>
184        <layout class="QHBoxLayout" name="horizontalLayout_3">
185         <item>
186          <layout class="QGridLayout" name="gridLayout">
187           <item row="4" column="3">
188            <layout class="QHBoxLayout" name="horizontalLayout_4">
189             <item>
190              <widget class="QPushButton" name="goal_2_btn">
191               <property name="text">
192                <string>+1 point (F9)</string>
193               </property>
194               <property name="shortcut">
195                <string>F9</string>
196               </property>
197              </widget>
198             </item>
199             <item>
200              <widget class="QPushButton" name="ungoal_2_btn">
201               <property name="text">
202                <string>-1 point (F11)</string>
203               </property>
204               <property name="shortcut">
205                <string>F11</string>
206               </property>
207              </widget>
208             </item>
209            </layout>
210           </item>
211           <item row="3" column="0">
212            <widget class="QLabel" name="label_6">
213             <property name="text">
214              <string>Score</string>
215             </property>
216            </widget>
217           </item>
218           <item row="3" column="3">
219            <widget class="QSpinBox" name="score_2_box"/>
220           </item>
221           <item row="3" column="4">
222            <widget class="QPushButton" name="set_score_btn">
223             <property name="text">
224              <string>Set</string>
225             </property>
226            </widget>
227           </item>
228           <item row="2" column="0">
229            <widget class="QLabel" name="label_7">
230             <property name="text">
231              <string>CSS color</string>
232             </property>
233            </widget>
234           </item>
235           <item row="1" column="2">
236            <widget class="QLineEdit" name="initials_1_edit">
237             <property name="text">
238              <string>PCL</string>
239             </property>
240            </widget>
241           </item>
242           <item row="4" column="2">
243            <layout class="QHBoxLayout" name="horizontalLayout_5">
244             <item>
245              <widget class="QPushButton" name="goal_1_btn">
246               <property name="text">
247                <string>+1 point (F5)</string>
248               </property>
249               <property name="shortcut">
250                <string>F5</string>
251               </property>
252              </widget>
253             </item>
254             <item>
255              <widget class="QPushButton" name="ungoal_1_btn">
256               <property name="text">
257                <string>-1 point (F7)</string>
258               </property>
259               <property name="shortcut">
260                <string>F7</string>
261               </property>
262              </widget>
263             </item>
264            </layout>
265           </item>
266           <item row="2" column="2">
267            <widget class="QLineEdit" name="color_1_edit">
268             <property name="text">
269              <string>red</string>
270             </property>
271            </widget>
272           </item>
273           <item row="3" column="2">
274            <widget class="QSpinBox" name="score_1_box"/>
275           </item>
276           <item row="0" column="3">
277            <widget class="QLabel" name="label_4">
278             <property name="text">
279              <string>Team 2</string>
280             </property>
281            </widget>
282           </item>
283           <item row="0" column="2">
284            <widget class="QLabel" name="label_3">
285             <property name="text">
286              <string>Team 1</string>
287             </property>
288            </widget>
289           </item>
290           <item row="1" column="3">
291            <widget class="QLineEdit" name="initials_2_edit">
292             <property name="text">
293              <string>TFK</string>
294             </property>
295            </widget>
296           </item>
297           <item row="1" column="0">
298            <widget class="QLabel" name="label_5">
299             <property name="text">
300              <string>Initials</string>
301             </property>
302            </widget>
303           </item>
304           <item row="1" column="4">
305            <widget class="QPushButton" name="set_initials_btn">
306             <property name="text">
307              <string>Set</string>
308             </property>
309            </widget>
310           </item>
311           <item row="2" column="3">
312            <widget class="QLineEdit" name="color_2_edit">
313             <property name="text">
314              <string>yellow</string>
315             </property>
316            </widget>
317           </item>
318           <item row="2" column="4">
319            <widget class="QPushButton" name="set_color_btn">
320             <property name="text">
321              <string>Set</string>
322             </property>
323            </widget>
324           </item>
325           <item row="4" column="4">
326            <widget class="QPushButton" name="set_all_scorebug_btn">
327             <property name="text">
328              <string>Set all</string>
329             </property>
330            </widget>
331           </item>
332           <item row="5" column="0">
333            <widget class="QLabel" name="label_17">
334             <property name="text">
335              <string>Match 2</string>
336             </property>
337            </widget>
338           </item>
339           <item row="5" column="2">
340            <widget class="QLineEdit" name="match_2_initials_1_edit">
341             <property name="text">
342              <string>PCL</string>
343             </property>
344            </widget>
345           </item>
346           <item row="5" column="3">
347            <widget class="QLineEdit" name="match_2_initials_2_edit">
348             <property name="text">
349              <string>TFK</string>
350             </property>
351            </widget>
352           </item>
353           <item row="5" column="4">
354            <widget class="QPushButton" name="set_match_2_initials_btn">
355             <property name="text">
356              <string>Set</string>
357             </property>
358            </widget>
359           </item>
360           <item row="6" column="0">
361            <widget class="QLabel" name="label_16">
362             <property name="text">
363              <string>Match 3</string>
364             </property>
365            </widget>
366           </item>
367           <item row="6" column="2">
368            <widget class="QLineEdit" name="match_3_initials_1_edit">
369             <property name="text">
370              <string>PCL</string>
371             </property>
372            </widget>
373           </item>
374           <item row="6" column="3">
375            <widget class="QLineEdit" name="match_3_initials_2_edit">
376             <property name="text">
377              <string>TFK</string>
378             </property>
379            </widget>
380           </item>
381           <item row="6" column="4">
382            <widget class="QPushButton" name="set_match_3_initials_btn">
383             <property name="text">
384              <string>Set</string>
385             </property>
386            </widget>
387           </item>
388          </layout>
389         </item>
390        </layout>
391       </item>
392       <item>
393        <widget class="Line" name="line_3">
394         <property name="orientation">
395          <enum>Qt::Horizontal</enum>
396         </property>
397        </widget>
398       </item>
399       <item>
400        <layout class="QHBoxLayout" name="horizontalLayout_2">
401         <item>
402          <widget class="QLabel" name="label">
403           <property name="text">
404            <string>Set clock to:</string>
405           </property>
406          </widget>
407         </item>
408         <item>
409          <widget class="QSpinBox" name="clock_min_box">
410           <property name="sizePolicy">
411            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
412             <horstretch>0</horstretch>
413             <verstretch>0</verstretch>
414            </sizepolicy>
415           </property>
416          </widget>
417         </item>
418         <item>
419          <widget class="QLabel" name="label_2">
420           <property name="sizePolicy">
421            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
422             <horstretch>0</horstretch>
423             <verstretch>0</verstretch>
424            </sizepolicy>
425           </property>
426           <property name="text">
427            <string>:</string>
428           </property>
429          </widget>
430         </item>
431         <item>
432          <widget class="QSpinBox" name="clock_sec_box">
433           <property name="sizePolicy">
434            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
435             <horstretch>0</horstretch>
436             <verstretch>0</verstretch>
437            </sizepolicy>
438           </property>
439           <property name="maximum">
440            <number>59</number>
441           </property>
442          </widget>
443         </item>
444         <item>
445          <widget class="QPushButton" name="set_clock_btn">
446           <property name="text">
447            <string>Set clock</string>
448           </property>
449          </widget>
450         </item>
451         <item>
452          <widget class="QLabel" name="label_14">
453           <property name="text">
454            <string>Set clock limit to:</string>
455           </property>
456          </widget>
457         </item>
458         <item>
459          <widget class="QSpinBox" name="clock_limit_min_box">
460           <property name="sizePolicy">
461            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
462             <horstretch>0</horstretch>
463             <verstretch>0</verstretch>
464            </sizepolicy>
465           </property>
466           <property name="value">
467            <number>30</number>
468           </property>
469          </widget>
470         </item>
471         <item>
472          <widget class="QLabel" name="label_15">
473           <property name="sizePolicy">
474            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
475             <horstretch>0</horstretch>
476             <verstretch>0</verstretch>
477            </sizepolicy>
478           </property>
479           <property name="text">
480            <string>:</string>
481           </property>
482          </widget>
483         </item>
484         <item>
485          <widget class="QSpinBox" name="clock_limit_sec_box">
486           <property name="sizePolicy">
487            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
488             <horstretch>0</horstretch>
489             <verstretch>0</verstretch>
490            </sizepolicy>
491           </property>
492           <property name="maximum">
493            <number>59</number>
494           </property>
495          </widget>
496         </item>
497         <item>
498          <widget class="QPushButton" name="set_clock_limit_btn">
499           <property name="text">
500            <string>Set limit</string>
501           </property>
502          </widget>
503         </item>
504        </layout>
505       </item>
506       <item>
507        <layout class="QHBoxLayout" name="horizontalLayout">
508         <item>
509          <widget class="QPushButton" name="start_and_show_clock_btn">
510           <property name="text">
511            <string>Start (and show) clock</string>
512           </property>
513          </widget>
514         </item>
515         <item>
516          <widget class="QPushButton" name="stop_clock_btn">
517           <property name="text">
518            <string>Stop clock</string>
519           </property>
520          </widget>
521         </item>
522         <item>
523          <widget class="QPushButton" name="show_clock_btn">
524           <property name="text">
525            <string>Show clock</string>
526           </property>
527          </widget>
528         </item>
529         <item>
530          <widget class="QPushButton" name="hide_clock_btn">
531           <property name="text">
532            <string>Hide clock</string>
533           </property>
534          </widget>
535         </item>
536         <item>
537          <widget class="QPushButton" name="show_match_2_btn">
538           <property name="text">
539            <string>Show match 2</string>
540           </property>
541          </widget>
542         </item>
543         <item>
544          <widget class="QPushButton" name="hide_match_2_btn">
545           <property name="text">
546            <string>Hide match 2</string>
547           </property>
548          </widget>
549         </item>
550         <item>
551          <widget class="QPushButton" name="show_match_3_btn">
552           <property name="text">
553            <string>Show match 3</string>
554           </property>
555          </widget>
556         </item>
557         <item>
558          <widget class="QPushButton" name="hide_match_3_btn">
559           <property name="text">
560            <string>Hide match 3</string>
561           </property>
562          </widget>
563         </item>
564        </layout>
565       </item>
566       <item>
567        <widget class="Line" name="line_2">
568         <property name="orientation">
569          <enum>Qt::Horizontal</enum>
570         </property>
571        </widget>
572       </item>
573       <item>
574        <layout class="QHBoxLayout" name="horizontalLayout_6">
575         <item>
576          <widget class="QLabel" name="label_8">
577           <property name="text">
578            <string>Comment:</string>
579           </property>
580          </widget>
581         </item>
582         <item>
583          <widget class="QLineEdit" name="comment_edit">
584           <property name="text">
585            <string/>
586           </property>
587          </widget>
588         </item>
589         <item>
590          <widget class="QPushButton" name="set_comment_btn">
591           <property name="text">
592            <string>Set</string>
593           </property>
594          </widget>
595         </item>
596         <item>
597          <widget class="QPushButton" name="set_and_show_comment_btn">
598           <property name="text">
599            <string>Set+show</string>
600           </property>
601          </widget>
602         </item>
603         <item>
604          <widget class="QPushButton" name="hide_comment_btn">
605           <property name="text">
606            <string>Hide</string>
607           </property>
608          </widget>
609         </item>
610        </layout>
611       </item>
612       <item>
613        <layout class="QHBoxLayout" name="horizontalLayout_11">
614         <item>
615          <widget class="QLabel" name="label_12">
616           <property name="text">
617            <string>Suggested autocomment if game ends right now:</string>
618           </property>
619          </widget>
620         </item>
621         <item>
622          <widget class="QLineEdit" name="autocomment_edit">
623           <property name="enabled">
624            <bool>true</bool>
625           </property>
626           <property name="text">
627            <string/>
628           </property>
629          </widget>
630         </item>
631         <item>
632          <widget class="QPushButton" name="set_and_show_autocomment_btn">
633           <property name="text">
634            <string>Set+show</string>
635           </property>
636          </widget>
637         </item>
638         <item>
639          <widget class="QCheckBox" name="autoshow_autocomment">
640           <property name="text">
641            <string>Auto-show on clock limit</string>
642           </property>
643           <property name="checked">
644            <bool>true</bool>
645           </property>
646          </widget>
647         </item>
648        </layout>
649       </item>
650       <item>
651        <widget class="Line" name="line">
652         <property name="orientation">
653          <enum>Qt::Horizontal</enum>
654         </property>
655        </widget>
656       </item>
657       <item>
658        <layout class="QHBoxLayout" name="horizontalLayout_7">
659         <item>
660          <widget class="QLabel" name="label_9">
661           <property name="text">
662            <string>Lower third heading (HTML allowed):</string>
663           </property>
664          </widget>
665         </item>
666         <item>
667          <widget class="QLineEdit" name="lowerthird_heading_edit"/>
668         </item>
669        </layout>
670       </item>
671       <item>
672        <layout class="QHBoxLayout" name="horizontalLayout_8">
673         <item>
674          <widget class="QLabel" name="label_10">
675           <property name="text">
676            <string>Lower third subheading (HTML allowed):</string>
677           </property>
678          </widget>
679         </item>
680         <item>
681          <widget class="QLineEdit" name="lowerthird_subheading_edit">
682           <property name="text">
683            <string>Trøndisk 2018</string>
684           </property>
685          </widget>
686         </item>
687        </layout>
688       </item>
689       <item>
690        <layout class="QHBoxLayout" name="horizontalLayout_9">
691         <item>
692          <widget class="QPushButton" name="show_lower_third_btn">
693           <property name="text">
694            <string>Set + show lower third</string>
695           </property>
696          </widget>
697         </item>
698         <item>
699          <widget class="QPushButton" name="hide_lower_third_btn">
700           <property name="text">
701            <string>Hide lower third</string>
702           </property>
703          </widget>
704         </item>
705        </layout>
706       </item>
707       <item>
708        <layout class="QHBoxLayout" name="horizontalLayout_12">
709         <item>
710          <widget class="QLabel" name="label_13">
711           <property name="text">
712            <string>Quick lower third (A&lt;num&gt;/B&lt;num&gt; = players, C&lt;num&gt; = code):</string>
713           </property>
714          </widget>
715         </item>
716         <item>
717          <widget class="QLineEdit" name="quick_lower_third_edit"/>
718         </item>
719         <item>
720          <widget class="QPushButton" name="show_quick_lower_third_btn">
721           <property name="text">
722            <string>Show</string>
723           </property>
724          </widget>
725         </item>
726        </layout>
727       </item>
728      </layout>
729     </item>
730    </layout>
731   </widget>
732   <widget class="QStatusBar" name="statusBar"/>
733  </widget>
734  <layoutdefault spacing="6" margin="11"/>
735  <tabstops>
736   <tabstop>ws_port_box</tabstop>
737   <tabstop>ws_disconnect_btn</tabstop>
738   <tabstop>initials_1_edit</tabstop>
739   <tabstop>initials_2_edit</tabstop>
740   <tabstop>set_initials_btn</tabstop>
741   <tabstop>color_1_edit</tabstop>
742   <tabstop>color_2_edit</tabstop>
743   <tabstop>set_color_btn</tabstop>
744   <tabstop>score_1_box</tabstop>
745   <tabstop>score_2_box</tabstop>
746   <tabstop>set_score_btn</tabstop>
747   <tabstop>goal_1_btn</tabstop>
748   <tabstop>ungoal_1_btn</tabstop>
749   <tabstop>goal_2_btn</tabstop>
750   <tabstop>ungoal_2_btn</tabstop>
751   <tabstop>set_all_scorebug_btn</tabstop>
752   <tabstop>clock_min_box</tabstop>
753   <tabstop>clock_sec_box</tabstop>
754   <tabstop>set_clock_btn</tabstop>
755   <tabstop>start_and_show_clock_btn</tabstop>
756   <tabstop>stop_clock_btn</tabstop>
757   <tabstop>show_clock_btn</tabstop>
758   <tabstop>hide_clock_btn</tabstop>
759   <tabstop>comment_edit</tabstop>
760   <tabstop>set_comment_btn</tabstop>
761   <tabstop>set_and_show_comment_btn</tabstop>
762   <tabstop>hide_comment_btn</tabstop>
763   <tabstop>autocomment_edit</tabstop>
764   <tabstop>set_and_show_autocomment_btn</tabstop>
765   <tabstop>lowerthird_heading_edit</tabstop>
766   <tabstop>lowerthird_subheading_edit</tabstop>
767   <tabstop>show_lower_third_btn</tabstop>
768   <tabstop>hide_lower_third_btn</tabstop>
769  </tabstops>
770  <resources/>
771  <connections/>
772 </ui>