]> git.cworth.org Git - apitrace/blob - gui/ui/mainwindow.ui
Large chunk of functionality to show errors.
[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   <widget class="QDockWidget" name="errorsDock">
378    <property name="features">
379     <set>QDockWidget::AllDockWidgetFeatures</set>
380    </property>
381    <property name="windowTitle">
382     <string>Errors</string>
383    </property>
384    <attribute name="dockWidgetArea">
385     <number>8</number>
386    </attribute>
387    <widget class="QWidget" name="dockWidgetContents_4">
388     <layout class="QVBoxLayout" name="verticalLayout_4">
389      <item>
390       <widget class="QTreeWidget" name="errorsTreeWidget">
391        <column>
392         <property name="text">
393          <string>Index</string>
394         </property>
395        </column>
396        <column>
397         <property name="text">
398          <string>Name</string>
399         </property>
400        </column>
401        <column>
402         <property name="text">
403          <string>Error</string>
404         </property>
405        </column>
406       </widget>
407      </item>
408     </layout>
409    </widget>
410   </widget>
411   <action name="actionExit">
412    <property name="text">
413     <string>Exit</string>
414    </property>
415   </action>
416   <action name="actionExit_2">
417    <property name="text">
418     <string>Exit</string>
419    </property>
420   </action>
421   <action name="actionOpen">
422    <property name="icon">
423     <iconset resource="../qapitrace.qrc">
424      <normaloff>:/resources/document-open.png</normaloff>:/resources/document-open.png</iconset>
425    </property>
426    <property name="text">
427     <string>&amp;Open...</string>
428    </property>
429    <property name="shortcut">
430     <string>Ctrl+O</string>
431    </property>
432   </action>
433   <action name="actionQuit">
434    <property name="icon">
435     <iconset resource="../qapitrace.qrc">
436      <normaloff>:/resources/application-exit.png</normaloff>:/resources/application-exit.png</iconset>
437    </property>
438    <property name="text">
439     <string>&amp;Quit</string>
440    </property>
441    <property name="shortcut">
442     <string>Ctrl+Q</string>
443    </property>
444    <property name="shortcutContext">
445     <enum>Qt::ApplicationShortcut</enum>
446    </property>
447    <property name="menuRole">
448     <enum>QAction::QuitRole</enum>
449    </property>
450   </action>
451   <action name="actionReplay">
452    <property name="enabled">
453     <bool>false</bool>
454    </property>
455    <property name="icon">
456     <iconset resource="../qapitrace.qrc">
457      <normaloff>:/resources/media-playback-start.png</normaloff>:/resources/media-playback-start.png</iconset>
458    </property>
459    <property name="text">
460     <string>&amp;Replay</string>
461    </property>
462   </action>
463   <action name="actionStop">
464    <property name="enabled">
465     <bool>false</bool>
466    </property>
467    <property name="icon">
468     <iconset resource="../qapitrace.qrc">
469      <normaloff>:/resources/media-playback-stop.png</normaloff>:/resources/media-playback-stop.png</iconset>
470    </property>
471    <property name="text">
472     <string>&amp;Stop</string>
473    </property>
474   </action>
475   <action name="actionLookupState">
476    <property name="enabled">
477     <bool>false</bool>
478    </property>
479    <property name="icon">
480     <iconset resource="../qapitrace.qrc">
481      <normaloff>:/resources/media-record.png</normaloff>:/resources/media-record.png</iconset>
482    </property>
483    <property name="text">
484     <string>Lookup State</string>
485    </property>
486   </action>
487   <action name="actionOptions">
488    <property name="text">
489     <string>Options</string>
490    </property>
491   </action>
492   <action name="actionNew">
493    <property name="icon">
494     <iconset resource="../qapitrace.qrc">
495      <normaloff>:/resources/document-new.png</normaloff>:/resources/document-new.png</iconset>
496    </property>
497    <property name="text">
498     <string>New</string>
499    </property>
500   </action>
501   <action name="actionFind">
502    <property name="icon">
503     <iconset resource="../qapitrace.qrc">
504      <normaloff>:/resources/edit-find.png</normaloff>:/resources/edit-find.png</iconset>
505    </property>
506    <property name="text">
507     <string>Find</string>
508    </property>
509    <property name="shortcut">
510     <string>Ctrl+F</string>
511    </property>
512   </action>
513   <action name="actionGo">
514    <property name="icon">
515     <iconset resource="../qapitrace.qrc">
516      <normaloff>:/resources/go-jump.png</normaloff>:/resources/go-jump.png</iconset>
517    </property>
518    <property name="text">
519     <string>Go to Call</string>
520    </property>
521    <property name="shortcut">
522     <string>Ctrl+G</string>
523    </property>
524   </action>
525   <action name="actionGoFrameStart">
526    <property name="icon">
527     <iconset resource="../qapitrace.qrc">
528      <normaloff>:/resources/go-top.png</normaloff>:/resources/go-top.png</iconset>
529    </property>
530    <property name="text">
531     <string>Go to Frame Start</string>
532    </property>
533    <property name="shortcut">
534     <string>Ctrl+A</string>
535    </property>
536   </action>
537   <action name="actionGoFrameEnd">
538    <property name="icon">
539     <iconset resource="../qapitrace.qrc">
540      <normaloff>:/resources/go-bottom.png</normaloff>:/resources/go-bottom.png</iconset>
541    </property>
542    <property name="text">
543     <string>Go to Frame End</string>
544    </property>
545    <property name="shortcut">
546     <string>Ctrl+E</string>
547    </property>
548   </action>
549   <zorder>stateDock</zorder>
550   <zorder>vertexDataDock</zorder>
551   <zorder>errorsDock</zorder>
552  </widget>
553  <customwidgets>
554   <customwidget>
555    <class>QWebView</class>
556    <extends>QWidget</extends>
557    <header>QtWebKit/QWebView</header>
558   </customwidget>
559  </customwidgets>
560  <resources>
561   <include location="../qapitrace.qrc"/>
562  </resources>
563  <connections/>
564 </ui>