]> git.sesse.net Git - pkanalytics/blobdiff - mainwindow.ui
Add the beginnings of formation support.
[pkanalytics] / mainwindow.ui
index c672fd5be66bc75c0263a29f113cda028a7dca09..0c9226571fa3542b4a7297d0f596ed77ec2b1978 100644 (file)
   <widget class="QWidget" name="centralwidget">
    <layout class="QGridLayout" name="gridLayout_2">
     <item row="0" column="0">
-     <layout class="QGridLayout" name="main_grid" rowstretch="1,0,0" columnstretch="1,0">
-      <item row="0" column="0">
-       <widget class="QVideoWidget" name="video" native="true">
-        <property name="minimumSize">
-         <size>
-          <width>320</width>
-          <height>240</height>
-         </size>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="0">
-       <widget class="QTableView" name="event_view">
-        <property name="selectionMode">
-         <enum>QAbstractItemView::SingleSelection</enum>
-        </property>
-        <property name="selectionBehavior">
-         <enum>QAbstractItemView::SelectRows</enum>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="0">
-       <layout class="QHBoxLayout" name="nav_buttons" stretch="1,0,0,0,0,0,0,0,2">
-        <item>
-         <widget class="QLabel" name="timestamp">
-          <property name="text">
-           <string>0:00:00.000</string>
-          </property>
-          <property name="alignment">
-           <set>Qt::AlignCenter</set>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="minus10s">
-          <property name="text">
-           <string>-10s (&amp;K)</string>
-          </property>
-          <property name="shortcut">
-           <string>K</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="plus10s">
-          <property name="text">
-           <string>+10s (&amp;L)</string>
-          </property>
-          <property name="shortcut">
-           <string>L</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="minus2s">
-          <property name="text">
-           <string>-2s (&amp;←)</string>
-          </property>
-          <property name="shortcut">
-           <string>Left</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="plus2s">
-          <property name="text">
-           <string>+2s (&amp;→)</string>
-          </property>
-          <property name="shortcut">
-           <string>Right</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="minus1f">
-          <property name="text">
-           <string>-1f (&amp;,)</string>
-          </property>
-          <property name="shortcut">
-           <string>,</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="plus1f">
-          <property name="text">
-           <string>+1f (&amp;.)</string>
-          </property>
-          <property name="shortcut">
-           <string>.</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="play_pause">
-          <property name="minimumSize">
-           <size>
-            <width>110</width>
-            <height>0</height>
-           </size>
-          </property>
-          <property name="text">
-           <string>Pause (space)</string>
-          </property>
-          <property name="shortcut">
-           <string>Space</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QLabel" name="status">
-          <property name="text">
-           <string>0–0 | offense | 0 passes, 0 sec possession</string>
-          </property>
-          <property name="alignment">
-           <set>Qt::AlignCenter</set>
-          </property>
-         </widget>
-        </item>
-       </layout>
-      </item>
-      <item row="0" column="1" rowspan="3">
+     <layout class="QGridLayout" name="main_grid" rowstretch="1,0,0,0" columnstretch="1,0">
+      <item row="0" column="1" rowspan="4">
        <layout class="QVBoxLayout" name="buttons" stretch="0,0,0,0,0,0,0,1">
         <item>
          <layout class="QGridLayout" name="player_grid">
            </widget>
           </item>
           <item row="4" column="1">
-           <widget class="QPushButton" name="unused_button">
+           <widget class="QPushButton" name="offensive_formation">
             <property name="enabled">
-             <bool>false</bool>
+             <bool>true</bool>
             </property>
             <property name="text">
-             <string/>
+             <string>Formation (&amp;o)</string>
             </property>
            </widget>
           </item>
            </widget>
           </item>
           <item row="3" column="1">
-           <widget class="QPushButton" name="unused_button2">
+           <widget class="QPushButton" name="defensive_formation">
             <property name="enabled">
-             <bool>false</bool>
+             <bool>true</bool>
             </property>
             <property name="text">
-             <string/>
+             <string>Formation (&amp;o)</string>
             </property>
             <property name="shortcut">
              <string>O</string>
         </item>
        </layout>
       </item>
+      <item row="0" column="0">
+       <widget class="QVideoWidget" name="video" native="true">
+        <property name="minimumSize">
+         <size>
+          <width>320</width>
+          <height>240</height>
+         </size>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0">
+       <layout class="QHBoxLayout" name="nav_buttons" stretch="1,0,0,0,0,0,0,0,2">
+        <item>
+         <widget class="QLabel" name="timestamp">
+          <property name="text">
+           <string>0:00:00.000</string>
+          </property>
+          <property name="alignment">
+           <set>Qt::AlignCenter</set>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="minus10s">
+          <property name="text">
+           <string>-10s (&amp;K)</string>
+          </property>
+          <property name="shortcut">
+           <string>K</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="plus10s">
+          <property name="text">
+           <string>+10s (&amp;L)</string>
+          </property>
+          <property name="shortcut">
+           <string>L</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="minus2s">
+          <property name="text">
+           <string>-2s (&amp;←)</string>
+          </property>
+          <property name="shortcut">
+           <string>Left</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="plus2s">
+          <property name="text">
+           <string>+2s (&amp;→)</string>
+          </property>
+          <property name="shortcut">
+           <string>Right</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="minus1f">
+          <property name="text">
+           <string>-1f (&amp;,)</string>
+          </property>
+          <property name="shortcut">
+           <string>,</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="plus1f">
+          <property name="text">
+           <string>+1f (&amp;.)</string>
+          </property>
+          <property name="shortcut">
+           <string>.</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="play_pause">
+          <property name="minimumSize">
+           <size>
+            <width>110</width>
+            <height>0</height>
+           </size>
+          </property>
+          <property name="text">
+           <string>Pause (space)</string>
+          </property>
+          <property name="shortcut">
+           <string>Space</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QLabel" name="status">
+          <property name="text">
+           <string>0–0 | offense | 0 passes, 0 sec possession</string>
+          </property>
+          <property name="alignment">
+           <set>Qt::AlignCenter</set>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </item>
+      <item row="2" column="0">
+       <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0,0">
+        <item>
+         <widget class="QTableView" name="event_view">
+          <property name="selectionMode">
+           <enum>QAbstractItemView::SingleSelection</enum>
+          </property>
+          <property name="selectionBehavior">
+           <enum>QAbstractItemView::SelectRows</enum>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <layout class="QVBoxLayout" name="offensive_formation_layout">
+          <item>
+           <widget class="QLabel" name="label">
+            <property name="text">
+             <string>Offensive formation</string>
+            </property>
+            <property name="alignment">
+             <set>Qt::AlignCenter</set>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QListView" name="offensive_formation_view"/>
+          </item>
+         </layout>
+        </item>
+        <item>
+         <layout class="QVBoxLayout" name="defensive_formation_layout">
+          <item>
+           <widget class="QLabel" name="label_2">
+            <property name="text">
+             <string>Defensive formation</string>
+            </property>
+            <property name="alignment">
+             <set>Qt::AlignCenter</set>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QListView" name="defensive_formation_view"/>
+          </item>
+         </layout>
+        </item>
+       </layout>
+      </item>
      </layout>
     </item>
    </layout>