]> git.cworth.org Git - apitrace/blobdiff - gui/ui/mainwindow.ui
Add code to interpret and display binary vertex data.
[apitrace] / gui / ui / mainwindow.ui
index 76e0e8b412b089dd27dc74b6bb08723b82311a96..6c7e25e5e667b81b55d005702b4fadbedd1ee074 100644 (file)
@@ -6,13 +6,22 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>760</width>
-    <height>422</height>
+    <width>787</width>
+    <height>758</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>ApiTrace</string>
   </property>
+  <property name="documentMode">
+   <bool>false</bool>
+  </property>
+  <property name="dockNestingEnabled">
+   <bool>false</bool>
+  </property>
+  <property name="dockOptions">
+   <set>QMainWindow::AnimatedDocks|QMainWindow::ForceTabbedDocks</set>
+  </property>
   <widget class="QWidget" name="centralwidget">
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
@@ -35,7 +44,7 @@
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>760</width>
+     <width>787</width>
      <height>21</height>
     </rect>
    </property>
    </widget>
   </widget>
   <widget class="QDockWidget" name="stateDock">
+   <property name="features">
+    <set>QDockWidget::AllDockWidgetFeatures</set>
+   </property>
    <property name="windowTitle">
     <string>Current State</string>
    </property>
     </layout>
    </widget>
   </widget>
+  <widget class="QDockWidget" name="vertexDataDock">
+   <property name="allowedAreas">
+    <set>Qt::AllDockWidgetAreas</set>
+   </property>
+   <property name="windowTitle">
+    <string>Vertex Data</string>
+   </property>
+   <attribute name="dockWidgetArea">
+    <number>2</number>
+   </attribute>
+   <widget class="QWidget" name="dockWidgetContents_3">
+    <layout class="QVBoxLayout" name="verticalLayout_2">
+     <item>
+      <layout class="QFormLayout" name="formLayout">
+       <item row="0" column="0">
+        <widget class="QLabel" name="label">
+         <property name="text">
+          <string>Type</string>
+         </property>
+        </widget>
+       </item>
+       <item row="0" column="1">
+        <widget class="QComboBox" name="vertexTypeCB">
+         <property name="currentIndex">
+          <number>6</number>
+         </property>
+         <item>
+          <property name="text">
+           <string>GL_BYTE</string>
+          </property>
+         </item>
+         <item>
+          <property name="text">
+           <string>GL_UNSIGNED_BYTE</string>
+          </property>
+         </item>
+         <item>
+          <property name="text">
+           <string>GL_SHORT</string>
+          </property>
+         </item>
+         <item>
+          <property name="text">
+           <string>GL_UNSIGNED_SHORT</string>
+          </property>
+         </item>
+         <item>
+          <property name="text">
+           <string>GL_INT</string>
+          </property>
+         </item>
+         <item>
+          <property name="text">
+           <string>GL_UNSIGNED_INT</string>
+          </property>
+         </item>
+         <item>
+          <property name="text">
+           <string>GL_FLOAT</string>
+          </property>
+         </item>
+        </widget>
+       </item>
+       <item row="1" column="0">
+        <widget class="QLabel" name="label_2">
+         <property name="text">
+          <string>Stride</string>
+         </property>
+        </widget>
+       </item>
+       <item row="1" column="1">
+        <widget class="QSpinBox" name="vertexStrideSB">
+         <property name="maximum">
+          <number>1000</number>
+         </property>
+         <property name="value">
+          <number>8</number>
+         </property>
+        </widget>
+       </item>
+       <item row="2" column="0">
+        <widget class="QLabel" name="label_4">
+         <property name="text">
+          <string>Components</string>
+         </property>
+        </widget>
+       </item>
+       <item row="2" column="1">
+        <widget class="QSpinBox" name="vertexComponentsSB">
+         <property name="maximum">
+          <number>256</number>
+         </property>
+         <property name="value">
+          <number>4</number>
+         </property>
+        </widget>
+       </item>
+       <item row="3" column="0" colspan="2">
+        <layout class="QHBoxLayout" name="horizontalLayout_3">
+         <item>
+          <spacer name="horizontalSpacer">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item>
+          <widget class="QPushButton" name="vertexInterpretButton">
+           <property name="text">
+            <string>Interpret</string>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <spacer name="horizontalSpacer_2">
+           <property name="orientation">
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" stdset="0">
+            <size>
+             <width>40</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </item>
+     <item>
+      <widget class="QListWidget" name="vertexDataListWidget"/>
+     </item>
+    </layout>
+   </widget>
+  </widget>
   <action name="actionExit">
    <property name="text">
     <string>Exit</string>
     <string>Options</string>
    </property>
   </action>
+  <zorder>stateDock</zorder>
+  <zorder>vertexDataDock</zorder>
  </widget>
  <customwidgets>
   <customwidget>