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