]> git.cworth.org Git - apitrace/blob - gui/ui/mainwindow.ui
Allow visualizaing data with starting offsets.
[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        <property name="fieldGrowthPolicy">
180         <enum>QFormLayout::ExpandingFieldsGrow</enum>
181        </property>
182        <item row="0" column="0">
183         <widget class="QLabel" name="label">
184          <property name="text">
185           <string>Type</string>
186          </property>
187         </widget>
188        </item>
189        <item row="0" column="1">
190         <widget class="QComboBox" name="vertexTypeCB">
191          <property name="currentIndex">
192           <number>6</number>
193          </property>
194          <item>
195           <property name="text">
196            <string>GL_BYTE</string>
197           </property>
198          </item>
199          <item>
200           <property name="text">
201            <string>GL_UNSIGNED_BYTE</string>
202           </property>
203          </item>
204          <item>
205           <property name="text">
206            <string>GL_SHORT</string>
207           </property>
208          </item>
209          <item>
210           <property name="text">
211            <string>GL_UNSIGNED_SHORT</string>
212           </property>
213          </item>
214          <item>
215           <property name="text">
216            <string>GL_INT</string>
217           </property>
218          </item>
219          <item>
220           <property name="text">
221            <string>GL_UNSIGNED_INT</string>
222           </property>
223          </item>
224          <item>
225           <property name="text">
226            <string>GL_FLOAT</string>
227           </property>
228          </item>
229          <item>
230           <property name="text">
231            <string>GL_DOUBLE</string>
232           </property>
233          </item>
234         </widget>
235        </item>
236        <item row="1" column="0">
237         <widget class="QLabel" name="label_2">
238          <property name="text">
239           <string>Stride</string>
240          </property>
241         </widget>
242        </item>
243        <item row="1" column="1">
244         <widget class="QSpinBox" name="vertexStrideSB">
245          <property name="maximum">
246           <number>1000</number>
247          </property>
248          <property name="value">
249           <number>8</number>
250          </property>
251         </widget>
252        </item>
253        <item row="2" column="0">
254         <widget class="QLabel" name="label_4">
255          <property name="text">
256           <string>Components</string>
257          </property>
258         </widget>
259        </item>
260        <item row="2" column="1">
261         <widget class="QSpinBox" name="vertexComponentsSB">
262          <property name="minimum">
263           <number>1</number>
264          </property>
265          <property name="maximum">
266           <number>256</number>
267          </property>
268          <property name="value">
269           <number>4</number>
270          </property>
271         </widget>
272        </item>
273        <item row="3" column="0">
274         <widget class="QLabel" name="label_3">
275          <property name="text">
276           <string>Starting Offset</string>
277          </property>
278         </widget>
279        </item>
280        <item row="3" column="1">
281         <widget class="QSpinBox" name="startingOffsetSB"/>
282        </item>
283       </layout>
284      </item>
285      <item>
286       <layout class="QHBoxLayout" name="horizontalLayout_3">
287        <item>
288         <spacer name="horizontalSpacer">
289          <property name="orientation">
290           <enum>Qt::Horizontal</enum>
291          </property>
292          <property name="sizeHint" stdset="0">
293           <size>
294            <width>40</width>
295            <height>20</height>
296           </size>
297          </property>
298         </spacer>
299        </item>
300        <item>
301         <widget class="QPushButton" name="vertexInterpretButton">
302          <property name="text">
303           <string>Interpret</string>
304          </property>
305         </widget>
306        </item>
307        <item>
308         <spacer name="horizontalSpacer_2">
309          <property name="orientation">
310           <enum>Qt::Horizontal</enum>
311          </property>
312          <property name="sizeHint" stdset="0">
313           <size>
314            <width>40</width>
315            <height>20</height>
316           </size>
317          </property>
318         </spacer>
319        </item>
320       </layout>
321      </item>
322      <item>
323       <widget class="QListWidget" name="vertexDataListWidget"/>
324      </item>
325     </layout>
326    </widget>
327   </widget>
328   <action name="actionExit">
329    <property name="text">
330     <string>Exit</string>
331    </property>
332   </action>
333   <action name="actionExit_2">
334    <property name="text">
335     <string>Exit</string>
336    </property>
337   </action>
338   <action name="actionOpen">
339    <property name="icon">
340     <iconset resource="../qapitrace.qrc">
341      <normaloff>:/resources/document-open.png</normaloff>:/resources/document-open.png</iconset>
342    </property>
343    <property name="text">
344     <string>&amp;Open...</string>
345    </property>
346    <property name="shortcut">
347     <string>Ctrl+O</string>
348    </property>
349   </action>
350   <action name="actionQuit">
351    <property name="icon">
352     <iconset resource="../qapitrace.qrc">
353      <normaloff>:/resources/application-exit.png</normaloff>:/resources/application-exit.png</iconset>
354    </property>
355    <property name="text">
356     <string>&amp;Quit</string>
357    </property>
358    <property name="shortcut">
359     <string>Ctrl+Q</string>
360    </property>
361    <property name="shortcutContext">
362     <enum>Qt::ApplicationShortcut</enum>
363    </property>
364    <property name="menuRole">
365     <enum>QAction::QuitRole</enum>
366    </property>
367   </action>
368   <action name="actionReplay">
369    <property name="enabled">
370     <bool>false</bool>
371    </property>
372    <property name="icon">
373     <iconset resource="../qapitrace.qrc">
374      <normaloff>:/resources/media-playback-start.png</normaloff>:/resources/media-playback-start.png</iconset>
375    </property>
376    <property name="text">
377     <string>&amp;Replay</string>
378    </property>
379   </action>
380   <action name="actionStop">
381    <property name="enabled">
382     <bool>false</bool>
383    </property>
384    <property name="icon">
385     <iconset resource="../qapitrace.qrc">
386      <normaloff>:/resources/media-playback-stop.png</normaloff>:/resources/media-playback-stop.png</iconset>
387    </property>
388    <property name="text">
389     <string>&amp;Stop</string>
390    </property>
391   </action>
392   <action name="actionLookupState">
393    <property name="enabled">
394     <bool>false</bool>
395    </property>
396    <property name="icon">
397     <iconset resource="../qapitrace.qrc">
398      <normaloff>:/resources/media-record.png</normaloff>:/resources/media-record.png</iconset>
399    </property>
400    <property name="text">
401     <string>Lookup State</string>
402    </property>
403   </action>
404   <action name="actionOptions">
405    <property name="text">
406     <string>Options</string>
407    </property>
408   </action>
409   <zorder>stateDock</zorder>
410   <zorder>vertexDataDock</zorder>
411  </widget>
412  <customwidgets>
413   <customwidget>
414    <class>QWebView</class>
415    <extends>QWidget</extends>
416    <header>QtWebKit/QWebView</header>
417   </customwidget>
418  </customwidgets>
419  <resources>
420   <include location="../qapitrace.qrc"/>
421  </resources>
422  <connections/>
423 </ui>