]> git.sesse.net Git - pkanalytics/blob - mainwindow.ui
Support filtering passes by thrower and receiver.
[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>1278</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,0">
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         <item>
342          <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0,0">
343           <item>
344            <widget class="QPushButton" name="get_current_players">
345             <property name="text">
346              <string>Current</string>
347             </property>
348            </widget>
349           </item>
350           <item>
351            <widget class="QPushButton" name="clear_player_list">
352             <property name="text">
353              <string>Clear</string>
354             </property>
355            </widget>
356           </item>
357           <item>
358            <widget class="QLabel" name="selected_gender_ratio">
359             <property name="text">
360              <string>0/0 F, 0/0 M</string>
361             </property>
362             <property name="alignment">
363              <set>Qt::AlignCenter</set>
364             </property>
365            </widget>
366           </item>
367          </layout>
368         </item>
369        </layout>
370       </item>
371       <item row="0" column="0">
372        <widget class="VideoWidget" name="video">
373         <property name="minimumSize">
374          <size>
375           <width>320</width>
376           <height>240</height>
377          </size>
378         </property>
379        </widget>
380       </item>
381       <item row="1" column="0">
382        <layout class="QHBoxLayout" name="nav_buttons" stretch="1,0,0,0,0,0,0,0,2">
383         <item>
384          <widget class="QLabel" name="timestamp">
385           <property name="font">
386            <font>
387             <family>Noto Sans</family>
388            </font>
389           </property>
390           <property name="text">
391            <string>0:00:00.000</string>
392           </property>
393           <property name="alignment">
394            <set>Qt::AlignCenter</set>
395           </property>
396          </widget>
397         </item>
398         <item>
399          <widget class="QPushButton" name="minus10s">
400           <property name="text">
401            <string>-10s (&amp;K)</string>
402           </property>
403           <property name="shortcut">
404            <string>K</string>
405           </property>
406          </widget>
407         </item>
408         <item>
409          <widget class="QPushButton" name="plus10s">
410           <property name="text">
411            <string>+10s (&amp;L)</string>
412           </property>
413           <property name="shortcut">
414            <string>L</string>
415           </property>
416          </widget>
417         </item>
418         <item>
419          <widget class="QPushButton" name="minus2s">
420           <property name="text">
421            <string>-2s (&amp;←)</string>
422           </property>
423           <property name="shortcut">
424            <string>Left</string>
425           </property>
426          </widget>
427         </item>
428         <item>
429          <widget class="QPushButton" name="plus2s">
430           <property name="text">
431            <string>+2s (&amp;→)</string>
432           </property>
433           <property name="shortcut">
434            <string>Right</string>
435           </property>
436          </widget>
437         </item>
438         <item>
439          <widget class="QPushButton" name="minus1f">
440           <property name="text">
441            <string>-1f (&amp;,)</string>
442           </property>
443           <property name="shortcut">
444            <string>,</string>
445           </property>
446          </widget>
447         </item>
448         <item>
449          <widget class="QPushButton" name="plus1f">
450           <property name="text">
451            <string>+1f (&amp;.)</string>
452           </property>
453           <property name="shortcut">
454            <string>.</string>
455           </property>
456          </widget>
457         </item>
458         <item>
459          <widget class="QPushButton" name="play_pause">
460           <property name="minimumSize">
461            <size>
462             <width>110</width>
463             <height>0</height>
464            </size>
465           </property>
466           <property name="text">
467            <string>Pause (space)</string>
468           </property>
469           <property name="shortcut">
470            <string>Space</string>
471           </property>
472          </widget>
473         </item>
474         <item>
475          <widget class="QLabel" name="status">
476           <property name="text">
477            <string>0–0 | offense | 0 passes, 0 sec possession</string>
478           </property>
479           <property name="alignment">
480            <set>Qt::AlignCenter</set>
481           </property>
482          </widget>
483         </item>
484        </layout>
485       </item>
486       <item row="2" column="0">
487        <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0,0">
488         <item>
489          <widget class="QTableView" name="event_view">
490           <property name="selectionMode">
491            <enum>QAbstractItemView::SingleSelection</enum>
492           </property>
493           <property name="selectionBehavior">
494            <enum>QAbstractItemView::SelectRows</enum>
495           </property>
496          </widget>
497         </item>
498         <item>
499          <layout class="QVBoxLayout" name="offensive_formation_layout">
500           <item>
501            <widget class="QLabel" name="label">
502             <property name="text">
503              <string>Offensive formation</string>
504             </property>
505             <property name="alignment">
506              <set>Qt::AlignCenter</set>
507             </property>
508            </widget>
509           </item>
510           <item>
511            <widget class="QListView" name="offensive_formation_view"/>
512           </item>
513          </layout>
514         </item>
515         <item>
516          <layout class="QVBoxLayout" name="defensive_formation_layout">
517           <item>
518            <widget class="QLabel" name="label_2">
519             <property name="text">
520              <string>Defensive formation</string>
521             </property>
522             <property name="alignment">
523              <set>Qt::AlignCenter</set>
524             </property>
525            </widget>
526           </item>
527           <item>
528            <widget class="QListView" name="defensive_formation_view"/>
529           </item>
530          </layout>
531         </item>
532        </layout>
533       </item>
534      </layout>
535     </item>
536    </layout>
537   </widget>
538   <widget class="QMenuBar" name="menubar">
539    <property name="geometry">
540     <rect>
541      <x>0</x>
542      <y>0</y>
543      <width>1278</width>
544      <height>23</height>
545     </rect>
546    </property>
547    <widget class="QMenu" name="menu_File">
548     <property name="title">
549      <string>&amp;File</string>
550     </property>
551     <addaction name="action_export_json"/>
552     <addaction name="action_exit"/>
553    </widget>
554    <widget class="QMenu" name="menuMatch">
555     <property name="title">
556      <string>Match</string>
557     </property>
558     <addaction name="action_gender_rule_a"/>
559     <addaction name="action_gender_pull_rule"/>
560    </widget>
561    <addaction name="menu_File"/>
562    <addaction name="menuMatch"/>
563   </widget>
564   <action name="action_export_json">
565    <property name="text">
566     <string>Export &amp;JSON</string>
567    </property>
568   </action>
569   <action name="action_exit">
570    <property name="text">
571     <string>E&amp;xit</string>
572    </property>
573   </action>
574   <action name="action_gender_rule_a">
575    <property name="checkable">
576     <bool>true</bool>
577    </property>
578    <property name="text">
579     <string>Gender rule &amp;A</string>
580    </property>
581   </action>
582   <action name="action_gender_pull_rule">
583    <property name="checkable">
584     <bool>true</bool>
585    </property>
586    <property name="text">
587     <string>Gender &amp;pull rule</string>
588    </property>
589   </action>
590  </widget>
591  <customwidgets>
592   <customwidget>
593    <class>VideoWidget</class>
594    <extends>QOpenGLWidget</extends>
595    <header>video_widget.h</header>
596    <container>1</container>
597   </customwidget>
598   <customwidget>
599    <class>ClickableLabel</class>
600    <extends>QLabel</extends>
601    <header>clickable_label.h</header>
602   </customwidget>
603  </customwidgets>
604  <resources/>
605  <connections/>
606 </ui>