]> git.cworth.org Git - apitrace/blob - gui/ui/mainwindow.ui
Add a simple viewer for surfaces.
[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="QTabWidget" name="stateTabWidget">
129        <property name="currentIndex">
130         <number>2</number>
131        </property>
132        <widget class="QWidget" name="parametersTab">
133         <attribute name="title">
134          <string>Parameters</string>
135         </attribute>
136         <layout class="QVBoxLayout" name="verticalLayout_3">
137          <item>
138           <widget class="QTreeWidget" name="stateTreeWidget">
139            <property name="editTriggers">
140             <set>QAbstractItemView::NoEditTriggers</set>
141            </property>
142            <property name="alternatingRowColors">
143             <bool>true</bool>
144            </property>
145            <property name="sortingEnabled">
146             <bool>true</bool>
147            </property>
148            <property name="allColumnsShowFocus">
149             <bool>true</bool>
150            </property>
151            <column>
152             <property name="text">
153              <string>Variable</string>
154             </property>
155            </column>
156            <column>
157             <property name="text">
158              <string>Value</string>
159             </property>
160            </column>
161           </widget>
162          </item>
163         </layout>
164        </widget>
165        <widget class="QWidget" name="shadersTab">
166         <attribute name="title">
167          <string>Shaders</string>
168         </attribute>
169        </widget>
170        <widget class="QWidget" name="surfacesTab">
171         <attribute name="title">
172          <string>Surfaces</string>
173         </attribute>
174         <layout class="QVBoxLayout" name="verticalLayout_5">
175          <item>
176           <widget class="QTreeWidget" name="surfacesTreeWidget">
177            <column>
178             <property name="text">
179              <string>Thumbnail</string>
180             </property>
181            </column>
182            <column>
183             <property name="text">
184              <string>Description</string>
185             </property>
186            </column>
187           </widget>
188          </item>
189         </layout>
190        </widget>
191       </widget>
192      </item>
193     </layout>
194    </widget>
195   </widget>
196   <widget class="QDockWidget" name="vertexDataDock">
197    <property name="allowedAreas">
198     <set>Qt::AllDockWidgetAreas</set>
199    </property>
200    <property name="windowTitle">
201     <string>Vertex Data</string>
202    </property>
203    <attribute name="dockWidgetArea">
204     <number>2</number>
205    </attribute>
206    <widget class="QWidget" name="dockWidgetContents_3">
207     <layout class="QVBoxLayout" name="verticalLayout_2">
208      <item>
209       <layout class="QFormLayout" name="formLayout">
210        <property name="fieldGrowthPolicy">
211         <enum>QFormLayout::ExpandingFieldsGrow</enum>
212        </property>
213        <item row="0" column="0">
214         <widget class="QLabel" name="label">
215          <property name="text">
216           <string>Type</string>
217          </property>
218         </widget>
219        </item>
220        <item row="0" column="1">
221         <widget class="QComboBox" name="vertexTypeCB">
222          <property name="currentIndex">
223           <number>6</number>
224          </property>
225          <item>
226           <property name="text">
227            <string>GL_BYTE</string>
228           </property>
229          </item>
230          <item>
231           <property name="text">
232            <string>GL_UNSIGNED_BYTE</string>
233           </property>
234          </item>
235          <item>
236           <property name="text">
237            <string>GL_SHORT</string>
238           </property>
239          </item>
240          <item>
241           <property name="text">
242            <string>GL_UNSIGNED_SHORT</string>
243           </property>
244          </item>
245          <item>
246           <property name="text">
247            <string>GL_INT</string>
248           </property>
249          </item>
250          <item>
251           <property name="text">
252            <string>GL_UNSIGNED_INT</string>
253           </property>
254          </item>
255          <item>
256           <property name="text">
257            <string>GL_FLOAT</string>
258           </property>
259          </item>
260          <item>
261           <property name="text">
262            <string>GL_DOUBLE</string>
263           </property>
264          </item>
265         </widget>
266        </item>
267        <item row="1" column="0">
268         <widget class="QLabel" name="label_2">
269          <property name="text">
270           <string>Stride</string>
271          </property>
272         </widget>
273        </item>
274        <item row="1" column="1">
275         <widget class="QSpinBox" name="vertexStrideSB">
276          <property name="maximum">
277           <number>1000</number>
278          </property>
279          <property name="value">
280           <number>8</number>
281          </property>
282         </widget>
283        </item>
284        <item row="2" column="0">
285         <widget class="QLabel" name="label_4">
286          <property name="text">
287           <string>Components</string>
288          </property>
289         </widget>
290        </item>
291        <item row="2" column="1">
292         <widget class="QSpinBox" name="vertexComponentsSB">
293          <property name="minimum">
294           <number>1</number>
295          </property>
296          <property name="maximum">
297           <number>256</number>
298          </property>
299          <property name="value">
300           <number>4</number>
301          </property>
302         </widget>
303        </item>
304        <item row="3" column="0">
305         <widget class="QLabel" name="label_3">
306          <property name="text">
307           <string>Starting Offset</string>
308          </property>
309         </widget>
310        </item>
311        <item row="3" column="1">
312         <widget class="QSpinBox" name="startingOffsetSB"/>
313        </item>
314       </layout>
315      </item>
316      <item>
317       <layout class="QHBoxLayout" name="horizontalLayout_3">
318        <item>
319         <spacer name="horizontalSpacer">
320          <property name="orientation">
321           <enum>Qt::Horizontal</enum>
322          </property>
323          <property name="sizeHint" stdset="0">
324           <size>
325            <width>40</width>
326            <height>20</height>
327           </size>
328          </property>
329         </spacer>
330        </item>
331        <item>
332         <widget class="QPushButton" name="vertexInterpretButton">
333          <property name="text">
334           <string>Interpret</string>
335          </property>
336         </widget>
337        </item>
338        <item>
339         <spacer name="horizontalSpacer_2">
340          <property name="orientation">
341           <enum>Qt::Horizontal</enum>
342          </property>
343          <property name="sizeHint" stdset="0">
344           <size>
345            <width>40</width>
346            <height>20</height>
347           </size>
348          </property>
349         </spacer>
350        </item>
351       </layout>
352      </item>
353      <item>
354       <widget class="QListWidget" name="vertexDataListWidget"/>
355      </item>
356     </layout>
357    </widget>
358   </widget>
359   <action name="actionExit">
360    <property name="text">
361     <string>Exit</string>
362    </property>
363   </action>
364   <action name="actionExit_2">
365    <property name="text">
366     <string>Exit</string>
367    </property>
368   </action>
369   <action name="actionOpen">
370    <property name="icon">
371     <iconset resource="../qapitrace.qrc">
372      <normaloff>:/resources/document-open.png</normaloff>:/resources/document-open.png</iconset>
373    </property>
374    <property name="text">
375     <string>&amp;Open...</string>
376    </property>
377    <property name="shortcut">
378     <string>Ctrl+O</string>
379    </property>
380   </action>
381   <action name="actionQuit">
382    <property name="icon">
383     <iconset resource="../qapitrace.qrc">
384      <normaloff>:/resources/application-exit.png</normaloff>:/resources/application-exit.png</iconset>
385    </property>
386    <property name="text">
387     <string>&amp;Quit</string>
388    </property>
389    <property name="shortcut">
390     <string>Ctrl+Q</string>
391    </property>
392    <property name="shortcutContext">
393     <enum>Qt::ApplicationShortcut</enum>
394    </property>
395    <property name="menuRole">
396     <enum>QAction::QuitRole</enum>
397    </property>
398   </action>
399   <action name="actionReplay">
400    <property name="enabled">
401     <bool>false</bool>
402    </property>
403    <property name="icon">
404     <iconset resource="../qapitrace.qrc">
405      <normaloff>:/resources/media-playback-start.png</normaloff>:/resources/media-playback-start.png</iconset>
406    </property>
407    <property name="text">
408     <string>&amp;Replay</string>
409    </property>
410   </action>
411   <action name="actionStop">
412    <property name="enabled">
413     <bool>false</bool>
414    </property>
415    <property name="icon">
416     <iconset resource="../qapitrace.qrc">
417      <normaloff>:/resources/media-playback-stop.png</normaloff>:/resources/media-playback-stop.png</iconset>
418    </property>
419    <property name="text">
420     <string>&amp;Stop</string>
421    </property>
422   </action>
423   <action name="actionLookupState">
424    <property name="enabled">
425     <bool>false</bool>
426    </property>
427    <property name="icon">
428     <iconset resource="../qapitrace.qrc">
429      <normaloff>:/resources/media-record.png</normaloff>:/resources/media-record.png</iconset>
430    </property>
431    <property name="text">
432     <string>Lookup State</string>
433    </property>
434   </action>
435   <action name="actionOptions">
436    <property name="text">
437     <string>Options</string>
438    </property>
439   </action>
440   <zorder>stateDock</zorder>
441   <zorder>vertexDataDock</zorder>
442  </widget>
443  <customwidgets>
444   <customwidget>
445    <class>QWebView</class>
446    <extends>QWidget</extends>
447    <header>QtWebKit/QWebView</header>
448   </customwidget>
449  </customwidgets>
450  <resources>
451   <include location="../qapitrace.qrc"/>
452  </resources>
453  <connections/>
454 </ui>