]> git.sesse.net Git - pkanalytics/blob - mainwindow.ui
Add a menu.
[pkanalytics] / 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>1251</width>
10     <height>754</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Plastkast Analytics</string>
15   </property>
16   <widget class="QWidget" name="centralwidget">
17    <layout class="QGridLayout" name="gridLayout_2">
18     <item row="0" column="0">
19      <layout class="QGridLayout" name="main_grid" rowstretch="1,0,0,0" columnstretch="1,0">
20       <item row="0" column="1" rowspan="4">
21        <layout class="QVBoxLayout" name="buttons" stretch="0,0,0,0,0,0,0,1">
22         <item>
23          <layout class="QGridLayout" name="player_grid">
24           <item row="3" column="0" colspan="2">
25            <widget class="QPushButton" name="player_3">
26             <property name="text">
27              <string>Player 3 (&amp;e)</string>
28             </property>
29             <property name="shortcut">
30              <string>E</string>
31             </property>
32            </widget>
33           </item>
34           <item row="4" column="2" colspan="2">
35            <widget class="QPushButton" name="player_6">
36             <property name="text">
37              <string>Player 6 (&amp;d)</string>
38             </property>
39             <property name="shortcut">
40              <string>D</string>
41             </property>
42            </widget>
43           </item>
44           <item row="5" column="1" colspan="2">
45            <widget class="QPushButton" name="player_7">
46             <property name="text">
47              <string>Player 7 (&amp;f)</string>
48             </property>
49             <property name="shortcut">
50              <string>F</string>
51             </property>
52            </widget>
53           </item>
54           <item row="3" column="2" colspan="2">
55            <widget class="QPushButton" name="player_4">
56             <property name="text">
57              <string>Player 4 (&amp;a)</string>
58             </property>
59             <property name="shortcut">
60              <string>A</string>
61             </property>
62            </widget>
63           </item>
64           <item row="4" column="0" colspan="2">
65            <widget class="QPushButton" name="player_5">
66             <property name="text">
67              <string>Player 5 (&amp;s)</string>
68             </property>
69             <property name="shortcut">
70              <string>S</string>
71             </property>
72            </widget>
73           </item>
74           <item row="2" column="0" colspan="2">
75            <widget class="QPushButton" name="player_1">
76             <property name="text">
77              <string>Player 1 (&amp;q)</string>
78             </property>
79             <property name="shortcut">
80              <string>Q</string>
81             </property>
82            </widget>
83           </item>
84           <item row="2" column="2" colspan="2">
85            <widget class="QPushButton" name="player_2">
86             <property name="text">
87              <string>Player 2 (&amp;w)</string>
88             </property>
89             <property name="shortcut">
90              <string>W</string>
91             </property>
92            </widget>
93           </item>
94          </layout>
95         </item>
96         <item>
97          <widget class="ClickableLabel" name="offense_label">
98           <property name="text">
99            <string>Offense</string>
100           </property>
101           <property name="alignment">
102            <set>Qt::AlignCenter</set>
103           </property>
104          </widget>
105         </item>
106         <item>
107          <layout class="QGridLayout" name="offense_grid">
108           <item row="1" column="2" colspan="2">
109            <widget class="QPushButton" name="goal">
110             <property name="text">
111              <string>Goal (&amp;g)</string>
112             </property>
113             <property name="shortcut">
114              <string>G</string>
115             </property>
116            </widget>
117           </item>
118           <item row="0" column="2" colspan="2">
119            <widget class="QPushButton" name="throwaway">
120             <property name="text">
121              <string>Throwaway (&amp;t)</string>
122             </property>
123             <property name="shortcut">
124              <string>T</string>
125             </property>
126            </widget>
127           </item>
128           <item row="1" column="0" colspan="2">
129            <widget class="QPushButton" name="drop">
130             <property name="text">
131              <string>Drop (&amp;x)</string>
132             </property>
133             <property name="shortcut">
134              <string>X</string>
135             </property>
136            </widget>
137           </item>
138           <item row="0" column="0" colspan="2">
139            <widget class="QPushButton" name="catch_">
140             <property name="text">
141              <string>Catch/take (&amp;c)</string>
142             </property>
143             <property name="shortcut">
144              <string>C</string>
145             </property>
146            </widget>
147           </item>
148           <item row="4" column="1" colspan="2">
149            <widget class="QPushButton" name="stallout">
150             <property name="text">
151              <string>Stallout (&amp;u)</string>
152             </property>
153             <property name="shortcut">
154              <string>U</string>
155             </property>
156            </widget>
157           </item>
158           <item row="3" column="0" colspan="2">
159            <widget class="QPushButton" name="pull_or_was_d">
160             <property name="text">
161              <string>Pull (&amp;p)</string>
162             </property>
163             <property name="shortcut">
164              <string>P</string>
165             </property>
166            </widget>
167           </item>
168           <item row="3" column="2" colspan="2">
169            <widget class="QPushButton" name="offensive_formation">
170             <property name="enabled">
171              <bool>true</bool>
172             </property>
173             <property name="text">
174              <string>Formation (&amp;o)</string>
175             </property>
176            </widget>
177           </item>
178          </layout>
179         </item>
180         <item>
181          <widget class="ClickableLabel" name="defense_label">
182           <property name="text">
183            <string>Defense</string>
184           </property>
185           <property name="alignment">
186            <set>Qt::AlignCenter</set>
187           </property>
188          </widget>
189         </item>
190         <item>
191          <layout class="QGridLayout" name="defense_grid">
192           <item row="1" column="0">
193            <widget class="QPushButton" name="our_defense">
194             <property name="text">
195              <string>Defense (&amp;x)</string>
196             </property>
197             <property name="shortcut">
198              <string>X</string>
199             </property>
200            </widget>
201           </item>
202           <item row="0" column="1">
203            <widget class="QPushButton" name="their_throwaway">
204             <property name="text">
205              <string>Their t.away (&amp;t)</string>
206             </property>
207             <property name="shortcut">
208              <string>T</string>
209             </property>
210            </widget>
211           </item>
212           <item row="0" column="0">
213            <widget class="QPushButton" name="interception">
214             <property name="text">
215              <string>Interception (&amp;c)</string>
216             </property>
217             <property name="shortcut">
218              <string>C</string>
219             </property>
220            </widget>
221           </item>
222           <item row="1" column="1">
223            <widget class="QPushButton" name="their_goal">
224             <property name="text">
225              <string>Their goal (&amp;g)</string>
226             </property>
227             <property name="shortcut">
228              <string>G</string>
229             </property>
230            </widget>
231           </item>
232           <item row="2" column="0">
233            <widget class="QPushButton" name="their_pull">
234             <property name="text">
235              <string>Their pull (&amp;p)</string>
236             </property>
237             <property name="shortcut">
238              <string>P</string>
239             </property>
240            </widget>
241           </item>
242           <item row="2" column="1">
243            <widget class="QPushButton" name="defensive_formation">
244             <property name="enabled">
245              <bool>true</bool>
246             </property>
247             <property name="text">
248              <string>Formation (&amp;p)</string>
249             </property>
250             <property name="shortcut">
251              <string>O</string>
252             </property>
253            </widget>
254           </item>
255          </layout>
256         </item>
257         <item>
258          <widget class="QLabel" name="misc_label">
259           <property name="text">
260            <string>Misc.</string>
261           </property>
262           <property name="alignment">
263            <set>Qt::AlignCenter</set>
264           </property>
265          </widget>
266         </item>
267         <item>
268          <layout class="QGridLayout" name="misc_grid">
269           <item row="1" column="1">
270            <widget class="QPushButton" name="stoppage">
271             <property name="text">
272              <string>Stoppage (&amp;v)</string>
273             </property>
274             <property name="shortcut">
275              <string>V</string>
276             </property>
277            </widget>
278           </item>
279           <item row="1" column="0">
280            <widget class="QPushButton" name="substitution">
281             <property name="text">
282              <string>Substitution (&amp;b)</string>
283             </property>
284             <property name="shortcut">
285              <string>B</string>
286             </property>
287            </widget>
288           </item>
289           <item row="2" column="0">
290            <widget class="QPushButton" name="unknown">
291             <property name="text">
292              <string>Unknown (&amp;?)</string>
293             </property>
294             <property name="shortcut">
295              <string>?</string>
296             </property>
297            </widget>
298           </item>
299           <item row="2" column="1">
300            <widget class="QPushButton" name="delete_">
301             <property name="text">
302              <string>Delete (⌫)</string>
303             </property>
304             <property name="shortcut">
305              <string>Backspace</string>
306             </property>
307            </widget>
308           </item>
309           <item row="0" column="0">
310            <widget class="QPushButton" name="soft_plus">
311             <property name="text">
312              <string>Soft plus (&amp;+)</string>
313             </property>
314             <property name="shortcut">
315              <string>+</string>
316             </property>
317            </widget>
318           </item>
319           <item row="0" column="1">
320            <widget class="QPushButton" name="soft_minus">
321             <property name="text">
322              <string>Soft minus (&amp;-)</string>
323             </property>
324             <property name="shortcut">
325              <string>-</string>
326             </property>
327            </widget>
328           </item>
329          </layout>
330         </item>
331         <item>
332          <widget class="QTableView" name="player_view">
333           <property name="selectionMode">
334            <enum>QAbstractItemView::MultiSelection</enum>
335           </property>
336           <property name="selectionBehavior">
337            <enum>QAbstractItemView::SelectRows</enum>
338           </property>
339          </widget>
340         </item>
341        </layout>
342       </item>
343       <item row="0" column="0">
344        <widget class="VideoWidget" name="video">
345         <property name="minimumSize">
346          <size>
347           <width>320</width>
348           <height>240</height>
349          </size>
350         </property>
351        </widget>
352       </item>
353       <item row="1" column="0">
354        <layout class="QHBoxLayout" name="nav_buttons" stretch="1,0,0,0,0,0,0,0,2">
355         <item>
356          <widget class="QLabel" name="timestamp">
357           <property name="font">
358            <font>
359             <family>Noto Sans</family>
360            </font>
361           </property>
362           <property name="text">
363            <string>0:00:00.000</string>
364           </property>
365           <property name="alignment">
366            <set>Qt::AlignCenter</set>
367           </property>
368          </widget>
369         </item>
370         <item>
371          <widget class="QPushButton" name="minus10s">
372           <property name="text">
373            <string>-10s (&amp;K)</string>
374           </property>
375           <property name="shortcut">
376            <string>K</string>
377           </property>
378          </widget>
379         </item>
380         <item>
381          <widget class="QPushButton" name="plus10s">
382           <property name="text">
383            <string>+10s (&amp;L)</string>
384           </property>
385           <property name="shortcut">
386            <string>L</string>
387           </property>
388          </widget>
389         </item>
390         <item>
391          <widget class="QPushButton" name="minus2s">
392           <property name="text">
393            <string>-2s (&amp;←)</string>
394           </property>
395           <property name="shortcut">
396            <string>Left</string>
397           </property>
398          </widget>
399         </item>
400         <item>
401          <widget class="QPushButton" name="plus2s">
402           <property name="text">
403            <string>+2s (&amp;→)</string>
404           </property>
405           <property name="shortcut">
406            <string>Right</string>
407           </property>
408          </widget>
409         </item>
410         <item>
411          <widget class="QPushButton" name="minus1f">
412           <property name="text">
413            <string>-1f (&amp;,)</string>
414           </property>
415           <property name="shortcut">
416            <string>,</string>
417           </property>
418          </widget>
419         </item>
420         <item>
421          <widget class="QPushButton" name="plus1f">
422           <property name="text">
423            <string>+1f (&amp;.)</string>
424           </property>
425           <property name="shortcut">
426            <string>.</string>
427           </property>
428          </widget>
429         </item>
430         <item>
431          <widget class="QPushButton" name="play_pause">
432           <property name="minimumSize">
433            <size>
434             <width>110</width>
435             <height>0</height>
436            </size>
437           </property>
438           <property name="text">
439            <string>Pause (space)</string>
440           </property>
441           <property name="shortcut">
442            <string>Space</string>
443           </property>
444          </widget>
445         </item>
446         <item>
447          <widget class="QLabel" name="status">
448           <property name="text">
449            <string>0–0 | offense | 0 passes, 0 sec possession</string>
450           </property>
451           <property name="alignment">
452            <set>Qt::AlignCenter</set>
453           </property>
454          </widget>
455         </item>
456        </layout>
457       </item>
458       <item row="2" column="0">
459        <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0,0">
460         <item>
461          <widget class="QTableView" name="event_view">
462           <property name="selectionMode">
463            <enum>QAbstractItemView::SingleSelection</enum>
464           </property>
465           <property name="selectionBehavior">
466            <enum>QAbstractItemView::SelectRows</enum>
467           </property>
468          </widget>
469         </item>
470         <item>
471          <layout class="QVBoxLayout" name="offensive_formation_layout">
472           <item>
473            <widget class="QLabel" name="label">
474             <property name="text">
475              <string>Offensive formation</string>
476             </property>
477             <property name="alignment">
478              <set>Qt::AlignCenter</set>
479             </property>
480            </widget>
481           </item>
482           <item>
483            <widget class="QListView" name="offensive_formation_view"/>
484           </item>
485          </layout>
486         </item>
487         <item>
488          <layout class="QVBoxLayout" name="defensive_formation_layout">
489           <item>
490            <widget class="QLabel" name="label_2">
491             <property name="text">
492              <string>Defensive formation</string>
493             </property>
494             <property name="alignment">
495              <set>Qt::AlignCenter</set>
496             </property>
497            </widget>
498           </item>
499           <item>
500            <widget class="QListView" name="defensive_formation_view"/>
501           </item>
502          </layout>
503         </item>
504        </layout>
505       </item>
506      </layout>
507     </item>
508    </layout>
509   </widget>
510   <widget class="QMenuBar" name="menubar">
511    <property name="geometry">
512     <rect>
513      <x>0</x>
514      <y>0</y>
515      <width>1251</width>
516      <height>23</height>
517     </rect>
518    </property>
519    <widget class="QMenu" name="menu_File">
520     <property name="title">
521      <string>&amp;File</string>
522     </property>
523     <addaction name="action_export_json"/>
524     <addaction name="action_exit"/>
525    </widget>
526    <addaction name="menu_File"/>
527   </widget>
528   <action name="action_export_json">
529    <property name="text">
530     <string>Export &amp;JSON</string>
531    </property>
532   </action>
533   <action name="action_exit">
534    <property name="text">
535     <string>E&amp;xit</string>
536    </property>
537   </action>
538  </widget>
539  <customwidgets>
540   <customwidget>
541    <class>VideoWidget</class>
542    <extends>QOpenGLWidget</extends>
543    <header>video_widget.h</header>
544    <container>1</container>
545   </customwidget>
546   <customwidget>
547    <class>ClickableLabel</class>
548    <extends>QLabel</extends>
549    <header>clickable_label.h</header>
550   </customwidget>
551  </customwidgets>
552  <resources/>
553  <connections/>
554 </ui>