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