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