]> git.sesse.net Git - ultimatescore/blob - client/mainwindow.ui
Make a combo box for preselecting teams.
[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="QComboBox" name="initials_1_edit">
237             <property name="editable">
238              <bool>true</bool>
239             </property>
240             <property name="currentText">
241              <string>PCL</string>
242             </property>
243            </widget>
244           </item>
245           <item row="4" column="2">
246            <layout class="QHBoxLayout" name="horizontalLayout_5">
247             <item>
248              <widget class="QPushButton" name="goal_1_btn">
249               <property name="text">
250                <string>+1 point (F5)</string>
251               </property>
252               <property name="shortcut">
253                <string>F5</string>
254               </property>
255              </widget>
256             </item>
257             <item>
258              <widget class="QPushButton" name="ungoal_1_btn">
259               <property name="text">
260                <string>-1 point (F7)</string>
261               </property>
262               <property name="shortcut">
263                <string>F7</string>
264               </property>
265              </widget>
266             </item>
267            </layout>
268           </item>
269           <item row="2" column="2">
270            <widget class="QLineEdit" name="color_1_edit">
271             <property name="text">
272              <string>red</string>
273             </property>
274            </widget>
275           </item>
276           <item row="3" column="2">
277            <widget class="QSpinBox" name="score_1_box"/>
278           </item>
279           <item row="0" column="3">
280            <widget class="QLabel" name="label_4">
281             <property name="text">
282              <string>Team 2</string>
283             </property>
284            </widget>
285           </item>
286           <item row="0" column="2">
287            <widget class="QLabel" name="label_3">
288             <property name="text">
289              <string>Team 1</string>
290             </property>
291            </widget>
292           </item>
293           <item row="1" column="3">
294            <widget class="QComboBox" name="initials_2_edit">
295             <property name="editable">
296              <bool>true</bool>
297             </property>
298             <property name="currentText">
299              <string>TFK</string>
300             </property>
301            </widget>
302           </item>
303           <item row="1" column="0">
304            <widget class="QLabel" name="label_5">
305             <property name="text">
306              <string>Initials</string>
307             </property>
308            </widget>
309           </item>
310           <item row="1" column="4">
311            <widget class="QPushButton" name="set_initials_btn">
312             <property name="text">
313              <string>Set</string>
314             </property>
315            </widget>
316           </item>
317           <item row="2" column="3">
318            <widget class="QLineEdit" name="color_2_edit">
319             <property name="text">
320              <string>yellow</string>
321             </property>
322            </widget>
323           </item>
324           <item row="2" column="4">
325            <widget class="QPushButton" name="set_color_btn">
326             <property name="text">
327              <string>Set</string>
328             </property>
329            </widget>
330           </item>
331           <item row="4" column="4">
332            <widget class="QPushButton" name="set_all_scorebug_btn">
333             <property name="text">
334              <string>Set all</string>
335             </property>
336            </widget>
337           </item>
338           <item row="5" column="0">
339            <widget class="QLabel" name="label_17">
340             <property name="text">
341              <string>Match 2</string>
342             </property>
343            </widget>
344           </item>
345           <item row="5" column="2">
346            <widget class="QComboBox" name="match_2_initials_1_edit">
347             <property name="editable">
348              <bool>true</bool>
349             </property>
350             <property name="currentText">
351              <string>PCL</string>
352             </property>
353            </widget>
354           </item>
355           <item row="5" column="3">
356            <widget class="QComboBox" name="match_2_initials_2_edit">
357             <property name="editable">
358              <bool>true</bool>
359             </property>
360             <property name="currentText">
361              <string>TFK</string>
362             </property>
363            </widget>
364           </item>
365           <item row="5" column="4">
366            <widget class="QPushButton" name="set_match_2_initials_btn">
367             <property name="text">
368              <string>Set</string>
369             </property>
370            </widget>
371           </item>
372           <item row="6" column="0">
373            <widget class="QLabel" name="label_16">
374             <property name="text">
375              <string>Match 3</string>
376             </property>
377            </widget>
378           </item>
379           <item row="6" column="2">
380            <widget class="QComboBox" name="match_3_initials_1_edit">
381             <property name="editable">
382              <bool>true</bool>
383             </property>
384             <property name="currentText">
385              <string>PCL</string>
386             </property>
387            </widget>
388           </item>
389           <item row="6" column="3">
390            <widget class="QComboBox" name="match_3_initials_2_edit">
391             <property name="editable">
392              <bool>true</bool>
393             </property>
394             <property name="currentText">
395              <string>TFK</string>
396             </property>
397            </widget>
398           </item>
399           <item row="6" column="4">
400            <widget class="QPushButton" name="set_match_3_initials_btn">
401             <property name="text">
402              <string>Set</string>
403             </property>
404            </widget>
405           </item>
406          </layout>
407         </item>
408        </layout>
409       </item>
410       <item>
411        <widget class="Line" name="line_3">
412         <property name="orientation">
413          <enum>Qt::Horizontal</enum>
414         </property>
415        </widget>
416       </item>
417       <item>
418        <layout class="QHBoxLayout" name="horizontalLayout_2">
419         <item>
420          <widget class="QLabel" name="label">
421           <property name="text">
422            <string>Set clock to:</string>
423           </property>
424          </widget>
425         </item>
426         <item>
427          <widget class="QSpinBox" name="clock_min_box">
428           <property name="sizePolicy">
429            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
430             <horstretch>0</horstretch>
431             <verstretch>0</verstretch>
432            </sizepolicy>
433           </property>
434          </widget>
435         </item>
436         <item>
437          <widget class="QLabel" name="label_2">
438           <property name="sizePolicy">
439            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
440             <horstretch>0</horstretch>
441             <verstretch>0</verstretch>
442            </sizepolicy>
443           </property>
444           <property name="text">
445            <string>:</string>
446           </property>
447          </widget>
448         </item>
449         <item>
450          <widget class="QSpinBox" name="clock_sec_box">
451           <property name="sizePolicy">
452            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
453             <horstretch>0</horstretch>
454             <verstretch>0</verstretch>
455            </sizepolicy>
456           </property>
457           <property name="maximum">
458            <number>59</number>
459           </property>
460          </widget>
461         </item>
462         <item>
463          <widget class="QPushButton" name="set_clock_btn">
464           <property name="text">
465            <string>Set clock</string>
466           </property>
467          </widget>
468         </item>
469         <item>
470          <widget class="QLabel" name="label_14">
471           <property name="text">
472            <string>Set clock limit to:</string>
473           </property>
474          </widget>
475         </item>
476         <item>
477          <widget class="QSpinBox" name="clock_limit_min_box">
478           <property name="sizePolicy">
479            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
480             <horstretch>0</horstretch>
481             <verstretch>0</verstretch>
482            </sizepolicy>
483           </property>
484           <property name="value">
485            <number>30</number>
486           </property>
487          </widget>
488         </item>
489         <item>
490          <widget class="QLabel" name="label_15">
491           <property name="sizePolicy">
492            <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
493             <horstretch>0</horstretch>
494             <verstretch>0</verstretch>
495            </sizepolicy>
496           </property>
497           <property name="text">
498            <string>:</string>
499           </property>
500          </widget>
501         </item>
502         <item>
503          <widget class="QSpinBox" name="clock_limit_sec_box">
504           <property name="sizePolicy">
505            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
506             <horstretch>0</horstretch>
507             <verstretch>0</verstretch>
508            </sizepolicy>
509           </property>
510           <property name="maximum">
511            <number>59</number>
512           </property>
513          </widget>
514         </item>
515         <item>
516          <widget class="QPushButton" name="set_clock_limit_btn">
517           <property name="text">
518            <string>Set limit</string>
519           </property>
520          </widget>
521         </item>
522        </layout>
523       </item>
524       <item>
525        <layout class="QHBoxLayout" name="horizontalLayout">
526         <item>
527          <widget class="QPushButton" name="start_and_show_clock_btn">
528           <property name="text">
529            <string>Start (and show) clock</string>
530           </property>
531          </widget>
532         </item>
533         <item>
534          <widget class="QPushButton" name="stop_clock_btn">
535           <property name="text">
536            <string>Stop clock</string>
537           </property>
538          </widget>
539         </item>
540         <item>
541          <widget class="QPushButton" name="show_clock_btn">
542           <property name="text">
543            <string>Show clock</string>
544           </property>
545          </widget>
546         </item>
547         <item>
548          <widget class="QPushButton" name="hide_clock_btn">
549           <property name="text">
550            <string>Hide clock</string>
551           </property>
552          </widget>
553         </item>
554         <item>
555          <widget class="QPushButton" name="show_match_2_btn">
556           <property name="text">
557            <string>Show match 2</string>
558           </property>
559          </widget>
560         </item>
561         <item>
562          <widget class="QPushButton" name="hide_match_2_btn">
563           <property name="text">
564            <string>Hide match 2</string>
565           </property>
566          </widget>
567         </item>
568         <item>
569          <widget class="QPushButton" name="show_match_3_btn">
570           <property name="text">
571            <string>Show match 3</string>
572           </property>
573          </widget>
574         </item>
575         <item>
576          <widget class="QPushButton" name="hide_match_3_btn">
577           <property name="text">
578            <string>Hide match 3</string>
579           </property>
580          </widget>
581         </item>
582        </layout>
583       </item>
584       <item>
585        <widget class="Line" name="line_2">
586         <property name="orientation">
587          <enum>Qt::Horizontal</enum>
588         </property>
589        </widget>
590       </item>
591       <item>
592        <layout class="QHBoxLayout" name="horizontalLayout_6">
593         <item>
594          <widget class="QLabel" name="label_8">
595           <property name="text">
596            <string>Comment:</string>
597           </property>
598          </widget>
599         </item>
600         <item>
601          <widget class="QLineEdit" name="comment_edit">
602           <property name="text">
603            <string/>
604           </property>
605          </widget>
606         </item>
607         <item>
608          <widget class="QPushButton" name="set_comment_btn">
609           <property name="text">
610            <string>Set</string>
611           </property>
612          </widget>
613         </item>
614         <item>
615          <widget class="QPushButton" name="set_and_show_comment_btn">
616           <property name="text">
617            <string>Set+show</string>
618           </property>
619          </widget>
620         </item>
621         <item>
622          <widget class="QPushButton" name="hide_comment_btn">
623           <property name="text">
624            <string>Hide</string>
625           </property>
626          </widget>
627         </item>
628        </layout>
629       </item>
630       <item>
631        <layout class="QHBoxLayout" name="horizontalLayout_11">
632         <item>
633          <widget class="QLabel" name="label_12">
634           <property name="text">
635            <string>Suggested autocomment if game ends right now:</string>
636           </property>
637          </widget>
638         </item>
639         <item>
640          <widget class="QLineEdit" name="autocomment_edit">
641           <property name="enabled">
642            <bool>true</bool>
643           </property>
644           <property name="text">
645            <string/>
646           </property>
647          </widget>
648         </item>
649         <item>
650          <widget class="QPushButton" name="set_and_show_autocomment_btn">
651           <property name="text">
652            <string>Set+show</string>
653           </property>
654          </widget>
655         </item>
656         <item>
657          <widget class="QCheckBox" name="autoshow_autocomment">
658           <property name="text">
659            <string>Auto-show on clock limit</string>
660           </property>
661           <property name="checked">
662            <bool>true</bool>
663           </property>
664          </widget>
665         </item>
666        </layout>
667       </item>
668       <item>
669        <widget class="Line" name="line">
670         <property name="orientation">
671          <enum>Qt::Horizontal</enum>
672         </property>
673        </widget>
674       </item>
675       <item>
676        <layout class="QHBoxLayout" name="horizontalLayout_7">
677         <item>
678          <widget class="QLabel" name="label_9">
679           <property name="text">
680            <string>Lower third heading (HTML allowed):</string>
681           </property>
682          </widget>
683         </item>
684         <item>
685          <widget class="QLineEdit" name="lowerthird_heading_edit"/>
686         </item>
687        </layout>
688       </item>
689       <item>
690        <layout class="QHBoxLayout" name="horizontalLayout_8">
691         <item>
692          <widget class="QLabel" name="label_10">
693           <property name="text">
694            <string>Lower third subheading (HTML allowed):</string>
695           </property>
696          </widget>
697         </item>
698         <item>
699          <widget class="QLineEdit" name="lowerthird_subheading_edit">
700           <property name="text">
701            <string>Trøndisk 2018</string>
702           </property>
703          </widget>
704         </item>
705        </layout>
706       </item>
707       <item>
708        <layout class="QHBoxLayout" name="horizontalLayout_9">
709         <item>
710          <widget class="QPushButton" name="show_lower_third_btn">
711           <property name="text">
712            <string>Set + show lower third</string>
713           </property>
714          </widget>
715         </item>
716         <item>
717          <widget class="QPushButton" name="hide_lower_third_btn">
718           <property name="text">
719            <string>Hide lower third</string>
720           </property>
721          </widget>
722         </item>
723        </layout>
724       </item>
725       <item>
726        <layout class="QHBoxLayout" name="horizontalLayout_12">
727         <item>
728          <widget class="QLabel" name="label_13">
729           <property name="text">
730            <string>Quick lower third (A&lt;num&gt;/B&lt;num&gt; = players, C&lt;num&gt; = code):</string>
731           </property>
732          </widget>
733         </item>
734         <item>
735          <widget class="QLineEdit" name="quick_lower_third_edit"/>
736         </item>
737         <item>
738          <widget class="QPushButton" name="show_quick_lower_third_btn">
739           <property name="text">
740            <string>Show</string>
741           </property>
742          </widget>
743         </item>
744        </layout>
745       </item>
746      </layout>
747     </item>
748    </layout>
749   </widget>
750   <widget class="QStatusBar" name="statusBar"/>
751  </widget>
752  <layoutdefault spacing="6" margin="11"/>
753  <tabstops>
754   <tabstop>ws_port_box</tabstop>
755   <tabstop>ws_disconnect_btn</tabstop>
756   <tabstop>initials_1_edit</tabstop>
757   <tabstop>initials_2_edit</tabstop>
758   <tabstop>set_initials_btn</tabstop>
759   <tabstop>color_1_edit</tabstop>
760   <tabstop>color_2_edit</tabstop>
761   <tabstop>set_color_btn</tabstop>
762   <tabstop>score_1_box</tabstop>
763   <tabstop>score_2_box</tabstop>
764   <tabstop>set_score_btn</tabstop>
765   <tabstop>goal_1_btn</tabstop>
766   <tabstop>ungoal_1_btn</tabstop>
767   <tabstop>goal_2_btn</tabstop>
768   <tabstop>ungoal_2_btn</tabstop>
769   <tabstop>set_all_scorebug_btn</tabstop>
770   <tabstop>clock_min_box</tabstop>
771   <tabstop>clock_sec_box</tabstop>
772   <tabstop>set_clock_btn</tabstop>
773   <tabstop>start_and_show_clock_btn</tabstop>
774   <tabstop>stop_clock_btn</tabstop>
775   <tabstop>show_clock_btn</tabstop>
776   <tabstop>hide_clock_btn</tabstop>
777   <tabstop>comment_edit</tabstop>
778   <tabstop>set_comment_btn</tabstop>
779   <tabstop>set_and_show_comment_btn</tabstop>
780   <tabstop>hide_comment_btn</tabstop>
781   <tabstop>autocomment_edit</tabstop>
782   <tabstop>set_and_show_autocomment_btn</tabstop>
783   <tabstop>lowerthird_heading_edit</tabstop>
784   <tabstop>lowerthird_subheading_edit</tabstop>
785   <tabstop>show_lower_third_btn</tabstop>
786   <tabstop>hide_lower_third_btn</tabstop>
787  </tabstops>
788  <resources/>
789  <connections/>
790 </ui>