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