]> git.cworth.org Git - apitrace/blob - gui/ui/mainwindow.ui
Add code to interpret and display binary vertex data.
[apitrace] / gui / ui / 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>787</width>
10     <height>758</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>ApiTrace</string>
15   </property>
16   <property name="documentMode">
17    <bool>false</bool>
18   </property>
19   <property name="dockNestingEnabled">
20    <bool>false</bool>
21   </property>
22   <property name="dockOptions">
23    <set>QMainWindow::AnimatedDocks|QMainWindow::ForceTabbedDocks</set>
24   </property>
25   <widget class="QWidget" name="centralwidget">
26    <layout class="QHBoxLayout" name="horizontalLayout">
27     <item>
28      <widget class="QTreeView" name="callView">
29       <property name="alternatingRowColors">
30        <bool>true</bool>
31       </property>
32       <property name="textElideMode">
33        <enum>Qt::ElideMiddle</enum>
34       </property>
35       <property name="uniformRowHeights">
36        <bool>true</bool>
37       </property>
38      </widget>
39     </item>
40    </layout>
41   </widget>
42   <widget class="QMenuBar" name="menubar">
43    <property name="geometry">
44     <rect>
45      <x>0</x>
46      <y>0</y>
47      <width>787</width>
48      <height>21</height>
49     </rect>
50    </property>
51    <widget class="QMenu" name="menuFile">
52     <property name="title">
53      <string>&amp;File</string>
54     </property>
55     <addaction name="actionOpen"/>
56     <addaction name="separator"/>
57     <addaction name="actionQuit"/>
58    </widget>
59    <widget class="QMenu" name="menu_Trace">
60     <property name="title">
61      <string>&amp;Trace</string>
62     </property>
63     <addaction name="actionReplay"/>
64     <addaction name="actionStop"/>
65     <addaction name="actionLookupState"/>
66     <addaction name="separator"/>
67     <addaction name="actionOptions"/>
68    </widget>
69    <addaction name="menuFile"/>
70    <addaction name="menu_Trace"/>
71   </widget>
72   <widget class="QStatusBar" name="statusbar"/>
73   <widget class="QDockWidget" name="detailsDock">
74    <property name="sizePolicy">
75     <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
76      <horstretch>0</horstretch>
77      <verstretch>0</verstretch>
78     </sizepolicy>
79    </property>
80    <property name="minimumSize">
81     <size>
82      <width>77</width>
83      <height>100</height>
84     </size>
85    </property>
86    <property name="floating">
87     <bool>false</bool>
88    </property>
89    <property name="windowTitle">
90     <string>Call Details</string>
91    </property>
92    <attribute name="dockWidgetArea">
93     <number>8</number>
94    </attribute>
95    <widget class="QWidget" name="dockWidgetContents">
96     <layout class="QHBoxLayout" name="horizontalLayout_2">
97      <item>
98       <widget class="QWebView" name="detailsWebView" native="true">
99        <property name="sizePolicy">
100         <sizepolicy hsizetype="Preferred" vsizetype="Ignored">
101          <horstretch>0</horstretch>
102          <verstretch>0</verstretch>
103         </sizepolicy>
104        </property>
105        <property name="url" stdset="0">
106         <url>
107          <string>about:blank</string>
108         </url>
109        </property>
110       </widget>
111      </item>
112     </layout>
113    </widget>
114   </widget>
115   <widget class="QDockWidget" name="stateDock">
116    <property name="features">
117     <set>QDockWidget::AllDockWidgetFeatures</set>
118    </property>
119    <property name="windowTitle">
120     <string>Current State</string>
121    </property>
122    <attribute name="dockWidgetArea">
123     <number>2</number>
124    </attribute>
125    <widget class="QWidget" name="dockWidgetContents_2">
126     <layout class="QVBoxLayout" name="verticalLayout">
127      <item>
128       <widget class="QTreeWidget" name="stateTreeWidget">
129        <property name="alternatingRowColors">
130         <bool>true</bool>
131        </property>
132        <property name="selectionMode">
133         <enum>QAbstractItemView::NoSelection</enum>
134        </property>
135        <property name="uniformRowHeights">
136         <bool>true</bool>
137        </property>
138        <property name="sortingEnabled">
139         <bool>true</bool>
140        </property>
141        <property name="animated">
142         <bool>true</bool>
143        </property>
144        <property name="allColumnsShowFocus">
145         <bool>true</bool>
146        </property>
147        <attribute name="headerShowSortIndicator" stdset="0">
148         <bool>true</bool>
149        </attribute>
150        <column>
151         <property name="text">
152          <string>Variable</string>
153         </property>
154        </column>
155        <column>
156         <property name="text">
157          <string>Value</string>
158         </property>
159        </column>
160       </widget>
161      </item>
162     </layout>
163    </widget>
164   </widget>
165   <widget class="QDockWidget" name="vertexDataDock">
166    <property name="allowedAreas">
167     <set>Qt::AllDockWidgetAreas</set>
168    </property>
169    <property name="windowTitle">
170     <string>Vertex Data</string>
171    </property>
172    <attribute name="dockWidgetArea">
173     <number>2</number>
174    </attribute>
175    <widget class="QWidget" name="dockWidgetContents_3">
176     <layout class="QVBoxLayout" name="verticalLayout_2">
177      <item>
178       <layout class="QFormLayout" name="formLayout">
179        <item row="0" column="0">
180         <widget class="QLabel" name="label">
181          <property name="text">
182           <string>Type</string>
183          </property>
184         </widget>
185        </item>
186        <item row="0" column="1">
187         <widget class="QComboBox" name="vertexTypeCB">
188          <property name="currentIndex">
189           <number>6</number>
190          </property>
191          <item>
192           <property name="text">
193            <string>GL_BYTE</string>
194           </property>
195          </item>
196          <item>
197           <property name="text">
198            <string>GL_UNSIGNED_BYTE</string>
199           </property>
200          </item>
201          <item>
202           <property name="text">
203            <string>GL_SHORT</string>
204           </property>
205          </item>
206          <item>
207           <property name="text">
208            <string>GL_UNSIGNED_SHORT</string>
209           </property>
210          </item>
211          <item>
212           <property name="text">
213            <string>GL_INT</string>
214           </property>
215          </item>
216          <item>
217           <property name="text">
218            <string>GL_UNSIGNED_INT</string>
219           </property>
220          </item>
221          <item>
222           <property name="text">
223            <string>GL_FLOAT</string>
224           </property>
225          </item>
226         </widget>
227        </item>
228        <item row="1" column="0">
229         <widget class="QLabel" name="label_2">
230          <property name="text">
231           <string>Stride</string>
232          </property>
233         </widget>
234        </item>
235        <item row="1" column="1">
236         <widget class="QSpinBox" name="vertexStrideSB">
237          <property name="maximum">
238           <number>1000</number>
239          </property>
240          <property name="value">
241           <number>8</number>
242          </property>
243         </widget>
244        </item>
245        <item row="2" column="0">
246         <widget class="QLabel" name="label_4">
247          <property name="text">
248           <string>Components</string>
249          </property>
250         </widget>
251        </item>
252        <item row="2" column="1">
253         <widget class="QSpinBox" name="vertexComponentsSB">
254          <property name="maximum">
255           <number>256</number>
256          </property>
257          <property name="value">
258           <number>4</number>
259          </property>
260         </widget>
261        </item>
262        <item row="3" column="0" colspan="2">
263         <layout class="QHBoxLayout" name="horizontalLayout_3">
264          <item>
265           <spacer name="horizontalSpacer">
266            <property name="orientation">
267             <enum>Qt::Horizontal</enum>
268            </property>
269            <property name="sizeHint" stdset="0">
270             <size>
271              <width>40</width>
272              <height>20</height>
273             </size>
274            </property>
275           </spacer>
276          </item>
277          <item>
278           <widget class="QPushButton" name="vertexInterpretButton">
279            <property name="text">
280             <string>Interpret</string>
281            </property>
282           </widget>
283          </item>
284          <item>
285           <spacer name="horizontalSpacer_2">
286            <property name="orientation">
287             <enum>Qt::Horizontal</enum>
288            </property>
289            <property name="sizeHint" stdset="0">
290             <size>
291              <width>40</width>
292              <height>20</height>
293             </size>
294            </property>
295           </spacer>
296          </item>
297         </layout>
298        </item>
299       </layout>
300      </item>
301      <item>
302       <widget class="QListWidget" name="vertexDataListWidget"/>
303      </item>
304     </layout>
305    </widget>
306   </widget>
307   <action name="actionExit">
308    <property name="text">
309     <string>Exit</string>
310    </property>
311   </action>
312   <action name="actionExit_2">
313    <property name="text">
314     <string>Exit</string>
315    </property>
316   </action>
317   <action name="actionOpen">
318    <property name="icon">
319     <iconset resource="../qapitrace.qrc">
320      <normaloff>:/resources/document-open.png</normaloff>:/resources/document-open.png</iconset>
321    </property>
322    <property name="text">
323     <string>&amp;Open...</string>
324    </property>
325    <property name="shortcut">
326     <string>Ctrl+O</string>
327    </property>
328   </action>
329   <action name="actionQuit">
330    <property name="icon">
331     <iconset resource="../qapitrace.qrc">
332      <normaloff>:/resources/application-exit.png</normaloff>:/resources/application-exit.png</iconset>
333    </property>
334    <property name="text">
335     <string>&amp;Quit</string>
336    </property>
337    <property name="shortcut">
338     <string>Ctrl+Q</string>
339    </property>
340    <property name="shortcutContext">
341     <enum>Qt::ApplicationShortcut</enum>
342    </property>
343    <property name="menuRole">
344     <enum>QAction::QuitRole</enum>
345    </property>
346   </action>
347   <action name="actionReplay">
348    <property name="enabled">
349     <bool>false</bool>
350    </property>
351    <property name="icon">
352     <iconset resource="../qapitrace.qrc">
353      <normaloff>:/resources/media-playback-start.png</normaloff>:/resources/media-playback-start.png</iconset>
354    </property>
355    <property name="text">
356     <string>&amp;Replay</string>
357    </property>
358   </action>
359   <action name="actionStop">
360    <property name="enabled">
361     <bool>false</bool>
362    </property>
363    <property name="icon">
364     <iconset resource="../qapitrace.qrc">
365      <normaloff>:/resources/media-playback-stop.png</normaloff>:/resources/media-playback-stop.png</iconset>
366    </property>
367    <property name="text">
368     <string>&amp;Stop</string>
369    </property>
370   </action>
371   <action name="actionLookupState">
372    <property name="enabled">
373     <bool>false</bool>
374    </property>
375    <property name="icon">
376     <iconset resource="../qapitrace.qrc">
377      <normaloff>:/resources/media-record.png</normaloff>:/resources/media-record.png</iconset>
378    </property>
379    <property name="text">
380     <string>Lookup State</string>
381    </property>
382   </action>
383   <action name="actionOptions">
384    <property name="text">
385     <string>Options</string>
386    </property>
387   </action>
388   <zorder>stateDock</zorder>
389   <zorder>vertexDataDock</zorder>
390  </widget>
391  <customwidgets>
392   <customwidget>
393    <class>QWebView</class>
394    <extends>QWidget</extends>
395    <header>QtWebKit/QWebView</header>
396   </customwidget>
397  </customwidgets>
398  <resources>
399   <include location="../qapitrace.qrc"/>
400  </resources>
401  <connections/>
402 </ui>