]> git.cworth.org Git - apitrace/blob - gui/ui/mainwindow.ui
Add a trace dialog.
[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>756</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="menu_Trace">
52     <property name="title">
53      <string>&amp;Trace</string>
54     </property>
55     <addaction name="actionReplay"/>
56     <addaction name="actionStop"/>
57     <addaction name="actionLookupState"/>
58     <addaction name="separator"/>
59     <addaction name="actionOptions"/>
60    </widget>
61    <widget class="QMenu" name="menuFile">
62     <property name="title">
63      <string>&amp;File</string>
64     </property>
65     <addaction name="actionNew"/>
66     <addaction name="actionOpen"/>
67     <addaction name="separator"/>
68     <addaction name="actionQuit"/>
69    </widget>
70    <addaction name="menuFile"/>
71    <addaction name="menu_Trace"/>
72   </widget>
73   <widget class="QStatusBar" name="statusbar"/>
74   <widget class="QDockWidget" name="detailsDock">
75    <property name="sizePolicy">
76     <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
77      <horstretch>0</horstretch>
78      <verstretch>0</verstretch>
79     </sizepolicy>
80    </property>
81    <property name="minimumSize">
82     <size>
83      <width>77</width>
84      <height>100</height>
85     </size>
86    </property>
87    <property name="floating">
88     <bool>false</bool>
89    </property>
90    <property name="windowTitle">
91     <string>Call Details</string>
92    </property>
93    <attribute name="dockWidgetArea">
94     <number>8</number>
95    </attribute>
96    <widget class="QWidget" name="dockWidgetContents">
97     <layout class="QHBoxLayout" name="horizontalLayout_2">
98      <item>
99       <widget class="QWebView" name="detailsWebView" native="true">
100        <property name="sizePolicy">
101         <sizepolicy hsizetype="Preferred" vsizetype="Ignored">
102          <horstretch>0</horstretch>
103          <verstretch>0</verstretch>
104         </sizepolicy>
105        </property>
106        <property name="url" stdset="0">
107         <url>
108          <string>about:blank</string>
109         </url>
110        </property>
111       </widget>
112      </item>
113     </layout>
114    </widget>
115   </widget>
116   <widget class="QDockWidget" name="stateDock">
117    <property name="features">
118     <set>QDockWidget::AllDockWidgetFeatures</set>
119    </property>
120    <property name="windowTitle">
121     <string>Current State</string>
122    </property>
123    <attribute name="dockWidgetArea">
124     <number>2</number>
125    </attribute>
126    <widget class="QWidget" name="dockWidgetContents_2">
127     <layout class="QVBoxLayout" name="verticalLayout">
128      <item>
129       <widget class="QTabWidget" name="stateTabWidget">
130        <property name="currentIndex">
131         <number>2</number>
132        </property>
133        <widget class="QWidget" name="parametersTab">
134         <attribute name="title">
135          <string>Parameters</string>
136         </attribute>
137         <layout class="QVBoxLayout" name="verticalLayout_3">
138          <item>
139           <widget class="QTreeWidget" name="stateTreeWidget">
140            <property name="editTriggers">
141             <set>QAbstractItemView::NoEditTriggers</set>
142            </property>
143            <property name="alternatingRowColors">
144             <bool>true</bool>
145            </property>
146            <property name="sortingEnabled">
147             <bool>true</bool>
148            </property>
149            <property name="allColumnsShowFocus">
150             <bool>true</bool>
151            </property>
152            <column>
153             <property name="text">
154              <string>Variable</string>
155             </property>
156            </column>
157            <column>
158             <property name="text">
159              <string>Value</string>
160             </property>
161            </column>
162           </widget>
163          </item>
164         </layout>
165        </widget>
166        <widget class="QWidget" name="shadersTab">
167         <attribute name="title">
168          <string>Shaders</string>
169         </attribute>
170        </widget>
171        <widget class="QWidget" name="surfacesTab">
172         <attribute name="title">
173          <string>Surfaces</string>
174         </attribute>
175         <layout class="QVBoxLayout" name="verticalLayout_5">
176          <item>
177           <widget class="QTreeWidget" name="surfacesTreeWidget">
178            <column>
179             <property name="text">
180              <string>Thumbnail</string>
181             </property>
182            </column>
183            <column>
184             <property name="text">
185              <string>Description</string>
186             </property>
187            </column>
188           </widget>
189          </item>
190         </layout>
191        </widget>
192       </widget>
193      </item>
194     </layout>
195    </widget>
196   </widget>
197   <widget class="QDockWidget" name="vertexDataDock">
198    <property name="allowedAreas">
199     <set>Qt::AllDockWidgetAreas</set>
200    </property>
201    <property name="windowTitle">
202     <string>Vertex Data</string>
203    </property>
204    <attribute name="dockWidgetArea">
205     <number>2</number>
206    </attribute>
207    <widget class="QWidget" name="dockWidgetContents_3">
208     <layout class="QVBoxLayout" name="verticalLayout_2">
209      <item>
210       <layout class="QFormLayout" name="formLayout">
211        <property name="fieldGrowthPolicy">
212         <enum>QFormLayout::ExpandingFieldsGrow</enum>
213        </property>
214        <item row="0" column="0">
215         <widget class="QLabel" name="label">
216          <property name="text">
217           <string>Type</string>
218          </property>
219         </widget>
220        </item>
221        <item row="0" column="1">
222         <widget class="QComboBox" name="vertexTypeCB">
223          <property name="currentIndex">
224           <number>6</number>
225          </property>
226          <item>
227           <property name="text">
228            <string>GL_BYTE</string>
229           </property>
230          </item>
231          <item>
232           <property name="text">
233            <string>GL_UNSIGNED_BYTE</string>
234           </property>
235          </item>
236          <item>
237           <property name="text">
238            <string>GL_SHORT</string>
239           </property>
240          </item>
241          <item>
242           <property name="text">
243            <string>GL_UNSIGNED_SHORT</string>
244           </property>
245          </item>
246          <item>
247           <property name="text">
248            <string>GL_INT</string>
249           </property>
250          </item>
251          <item>
252           <property name="text">
253            <string>GL_UNSIGNED_INT</string>
254           </property>
255          </item>
256          <item>
257           <property name="text">
258            <string>GL_FLOAT</string>
259           </property>
260          </item>
261          <item>
262           <property name="text">
263            <string>GL_DOUBLE</string>
264           </property>
265          </item>
266         </widget>
267        </item>
268        <item row="1" column="0">
269         <widget class="QLabel" name="label_2">
270          <property name="text">
271           <string>Stride</string>
272          </property>
273         </widget>
274        </item>
275        <item row="1" column="1">
276         <widget class="QSpinBox" name="vertexStrideSB">
277          <property name="maximum">
278           <number>1000</number>
279          </property>
280          <property name="value">
281           <number>8</number>
282          </property>
283         </widget>
284        </item>
285        <item row="2" column="0">
286         <widget class="QLabel" name="label_4">
287          <property name="text">
288           <string>Components</string>
289          </property>
290         </widget>
291        </item>
292        <item row="2" column="1">
293         <widget class="QSpinBox" name="vertexComponentsSB">
294          <property name="minimum">
295           <number>1</number>
296          </property>
297          <property name="maximum">
298           <number>256</number>
299          </property>
300          <property name="value">
301           <number>4</number>
302          </property>
303         </widget>
304        </item>
305        <item row="3" column="0">
306         <widget class="QLabel" name="label_3">
307          <property name="text">
308           <string>Starting Offset</string>
309          </property>
310         </widget>
311        </item>
312        <item row="3" column="1">
313         <widget class="QSpinBox" name="startingOffsetSB"/>
314        </item>
315       </layout>
316      </item>
317      <item>
318       <layout class="QHBoxLayout" name="horizontalLayout_3">
319        <item>
320         <spacer name="horizontalSpacer">
321          <property name="orientation">
322           <enum>Qt::Horizontal</enum>
323          </property>
324          <property name="sizeHint" stdset="0">
325           <size>
326            <width>40</width>
327            <height>20</height>
328           </size>
329          </property>
330         </spacer>
331        </item>
332        <item>
333         <widget class="QPushButton" name="vertexInterpretButton">
334          <property name="text">
335           <string>Interpret</string>
336          </property>
337         </widget>
338        </item>
339        <item>
340         <spacer name="horizontalSpacer_2">
341          <property name="orientation">
342           <enum>Qt::Horizontal</enum>
343          </property>
344          <property name="sizeHint" stdset="0">
345           <size>
346            <width>40</width>
347            <height>20</height>
348           </size>
349          </property>
350         </spacer>
351        </item>
352       </layout>
353      </item>
354      <item>
355       <widget class="QListWidget" name="vertexDataListWidget"/>
356      </item>
357     </layout>
358    </widget>
359   </widget>
360   <action name="actionExit">
361    <property name="text">
362     <string>Exit</string>
363    </property>
364   </action>
365   <action name="actionExit_2">
366    <property name="text">
367     <string>Exit</string>
368    </property>
369   </action>
370   <action name="actionOpen">
371    <property name="icon">
372     <iconset resource="../qapitrace.qrc">
373      <normaloff>:/resources/document-open.png</normaloff>:/resources/document-open.png</iconset>
374    </property>
375    <property name="text">
376     <string>&amp;Open...</string>
377    </property>
378    <property name="shortcut">
379     <string>Ctrl+O</string>
380    </property>
381   </action>
382   <action name="actionQuit">
383    <property name="icon">
384     <iconset resource="../qapitrace.qrc">
385      <normaloff>:/resources/application-exit.png</normaloff>:/resources/application-exit.png</iconset>
386    </property>
387    <property name="text">
388     <string>&amp;Quit</string>
389    </property>
390    <property name="shortcut">
391     <string>Ctrl+Q</string>
392    </property>
393    <property name="shortcutContext">
394     <enum>Qt::ApplicationShortcut</enum>
395    </property>
396    <property name="menuRole">
397     <enum>QAction::QuitRole</enum>
398    </property>
399   </action>
400   <action name="actionReplay">
401    <property name="enabled">
402     <bool>false</bool>
403    </property>
404    <property name="icon">
405     <iconset resource="../qapitrace.qrc">
406      <normaloff>:/resources/media-playback-start.png</normaloff>:/resources/media-playback-start.png</iconset>
407    </property>
408    <property name="text">
409     <string>&amp;Replay</string>
410    </property>
411   </action>
412   <action name="actionStop">
413    <property name="enabled">
414     <bool>false</bool>
415    </property>
416    <property name="icon">
417     <iconset resource="../qapitrace.qrc">
418      <normaloff>:/resources/media-playback-stop.png</normaloff>:/resources/media-playback-stop.png</iconset>
419    </property>
420    <property name="text">
421     <string>&amp;Stop</string>
422    </property>
423   </action>
424   <action name="actionLookupState">
425    <property name="enabled">
426     <bool>false</bool>
427    </property>
428    <property name="icon">
429     <iconset resource="../qapitrace.qrc">
430      <normaloff>:/resources/media-record.png</normaloff>:/resources/media-record.png</iconset>
431    </property>
432    <property name="text">
433     <string>Lookup State</string>
434    </property>
435   </action>
436   <action name="actionOptions">
437    <property name="text">
438     <string>Options</string>
439    </property>
440   </action>
441   <action name="actionNew">
442    <property name="icon">
443     <iconset resource="../qapitrace.qrc">
444      <normaloff>:/resources/document-new.png</normaloff>:/resources/document-new.png</iconset>
445    </property>
446    <property name="text">
447     <string>New</string>
448    </property>
449   </action>
450   <zorder>stateDock</zorder>
451   <zorder>vertexDataDock</zorder>
452  </widget>
453  <customwidgets>
454   <customwidget>
455    <class>QWebView</class>
456    <extends>QWidget</extends>
457    <header>QtWebKit/QWebView</header>
458   </customwidget>
459  </customwidgets>
460  <resources>
461   <include location="../qapitrace.qrc"/>
462  </resources>
463  <connections/>
464 </ui>