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