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