]> git.cworth.org Git - apitrace/blob - gui/ui/mainwindow.ui
Add a state tab that list uniforms.
[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 class="QWidget" name="uniformsTab">
212         <attribute name="title">
213          <string>Uniforms</string>
214         </attribute>
215         <layout class="QVBoxLayout" name="verticalLayout_6">
216          <item>
217           <widget class="QTreeWidget" name="uniformsTreeWidget">
218            <property name="editTriggers">
219             <set>QAbstractItemView::NoEditTriggers</set>
220            </property>
221            <property name="alternatingRowColors">
222             <bool>true</bool>
223            </property>
224            <property name="sortingEnabled">
225             <bool>true</bool>
226            </property>
227            <property name="allColumnsShowFocus">
228             <bool>true</bool>
229            </property>
230            <column>
231             <property name="text">
232              <string>Name</string>
233             </property>
234            </column>
235            <column>
236             <property name="text">
237              <string>Value</string>
238             </property>
239            </column>
240           </widget>
241          </item>
242         </layout>
243        </widget>
244       </widget>
245      </item>
246     </layout>
247    </widget>
248   </widget>
249   <widget class="QDockWidget" name="vertexDataDock">
250    <property name="allowedAreas">
251     <set>Qt::AllDockWidgetAreas</set>
252    </property>
253    <property name="windowTitle">
254     <string>Vertex Data</string>
255    </property>
256    <attribute name="dockWidgetArea">
257     <number>2</number>
258    </attribute>
259    <widget class="QWidget" name="dockWidgetContents_3">
260     <layout class="QVBoxLayout" name="verticalLayout_2">
261      <item>
262       <layout class="QFormLayout" name="formLayout">
263        <property name="fieldGrowthPolicy">
264         <enum>QFormLayout::ExpandingFieldsGrow</enum>
265        </property>
266        <item row="0" column="0">
267         <widget class="QLabel" name="label">
268          <property name="text">
269           <string>Type</string>
270          </property>
271         </widget>
272        </item>
273        <item row="0" column="1">
274         <widget class="QComboBox" name="vertexTypeCB">
275          <property name="currentIndex">
276           <number>6</number>
277          </property>
278          <item>
279           <property name="text">
280            <string>GL_BYTE</string>
281           </property>
282          </item>
283          <item>
284           <property name="text">
285            <string>GL_UNSIGNED_BYTE</string>
286           </property>
287          </item>
288          <item>
289           <property name="text">
290            <string>GL_SHORT</string>
291           </property>
292          </item>
293          <item>
294           <property name="text">
295            <string>GL_UNSIGNED_SHORT</string>
296           </property>
297          </item>
298          <item>
299           <property name="text">
300            <string>GL_INT</string>
301           </property>
302          </item>
303          <item>
304           <property name="text">
305            <string>GL_UNSIGNED_INT</string>
306           </property>
307          </item>
308          <item>
309           <property name="text">
310            <string>GL_FLOAT</string>
311           </property>
312          </item>
313          <item>
314           <property name="text">
315            <string>GL_DOUBLE</string>
316           </property>
317          </item>
318         </widget>
319        </item>
320        <item row="1" column="0">
321         <widget class="QLabel" name="label_2">
322          <property name="text">
323           <string>Stride</string>
324          </property>
325         </widget>
326        </item>
327        <item row="1" column="1">
328         <widget class="QSpinBox" name="vertexStrideSB">
329          <property name="maximum">
330           <number>1000</number>
331          </property>
332          <property name="value">
333           <number>8</number>
334          </property>
335         </widget>
336        </item>
337        <item row="2" column="0">
338         <widget class="QLabel" name="label_4">
339          <property name="text">
340           <string>Components</string>
341          </property>
342         </widget>
343        </item>
344        <item row="2" column="1">
345         <widget class="QSpinBox" name="vertexComponentsSB">
346          <property name="minimum">
347           <number>1</number>
348          </property>
349          <property name="maximum">
350           <number>256</number>
351          </property>
352          <property name="value">
353           <number>4</number>
354          </property>
355         </widget>
356        </item>
357        <item row="3" column="0">
358         <widget class="QLabel" name="label_3">
359          <property name="text">
360           <string>Starting Offset</string>
361          </property>
362         </widget>
363        </item>
364        <item row="3" column="1">
365         <widget class="QSpinBox" name="startingOffsetSB"/>
366        </item>
367       </layout>
368      </item>
369      <item>
370       <layout class="QHBoxLayout" name="horizontalLayout_3">
371        <item>
372         <spacer name="horizontalSpacer">
373          <property name="orientation">
374           <enum>Qt::Horizontal</enum>
375          </property>
376          <property name="sizeHint" stdset="0">
377           <size>
378            <width>40</width>
379            <height>20</height>
380           </size>
381          </property>
382         </spacer>
383        </item>
384        <item>
385         <widget class="QPushButton" name="vertexInterpretButton">
386          <property name="text">
387           <string>Interpret</string>
388          </property>
389         </widget>
390        </item>
391        <item>
392         <spacer name="horizontalSpacer_2">
393          <property name="orientation">
394           <enum>Qt::Horizontal</enum>
395          </property>
396          <property name="sizeHint" stdset="0">
397           <size>
398            <width>40</width>
399            <height>20</height>
400           </size>
401          </property>
402         </spacer>
403        </item>
404       </layout>
405      </item>
406      <item>
407       <widget class="QListWidget" name="vertexDataListWidget"/>
408      </item>
409     </layout>
410    </widget>
411   </widget>
412   <widget class="QDockWidget" name="errorsDock">
413    <property name="features">
414     <set>QDockWidget::AllDockWidgetFeatures</set>
415    </property>
416    <property name="windowTitle">
417     <string>Errors</string>
418    </property>
419    <attribute name="dockWidgetArea">
420     <number>8</number>
421    </attribute>
422    <widget class="QWidget" name="dockWidgetContents_4">
423     <layout class="QVBoxLayout" name="verticalLayout_4">
424      <item>
425       <widget class="QTreeWidget" name="errorsTreeWidget">
426        <column>
427         <property name="text">
428          <string>Index</string>
429         </property>
430        </column>
431        <column>
432         <property name="text">
433          <string>Type</string>
434         </property>
435        </column>
436        <column>
437         <property name="text">
438          <string>Error</string>
439         </property>
440        </column>
441       </widget>
442      </item>
443     </layout>
444    </widget>
445   </widget>
446   <action name="actionExit">
447    <property name="text">
448     <string>Exit</string>
449    </property>
450   </action>
451   <action name="actionExit_2">
452    <property name="text">
453     <string>Exit</string>
454    </property>
455   </action>
456   <action name="actionOpen">
457    <property name="icon">
458     <iconset resource="../qapitrace.qrc">
459      <normaloff>:/resources/document-open.png</normaloff>:/resources/document-open.png</iconset>
460    </property>
461    <property name="text">
462     <string>&amp;Open...</string>
463    </property>
464    <property name="shortcut">
465     <string>Ctrl+O</string>
466    </property>
467   </action>
468   <action name="actionQuit">
469    <property name="icon">
470     <iconset resource="../qapitrace.qrc">
471      <normaloff>:/resources/application-exit.png</normaloff>:/resources/application-exit.png</iconset>
472    </property>
473    <property name="text">
474     <string>&amp;Quit</string>
475    </property>
476    <property name="shortcut">
477     <string>Ctrl+Q</string>
478    </property>
479    <property name="shortcutContext">
480     <enum>Qt::ApplicationShortcut</enum>
481    </property>
482    <property name="menuRole">
483     <enum>QAction::QuitRole</enum>
484    </property>
485   </action>
486   <action name="actionReplay">
487    <property name="enabled">
488     <bool>false</bool>
489    </property>
490    <property name="icon">
491     <iconset resource="../qapitrace.qrc">
492      <normaloff>:/resources/media-playback-start.png</normaloff>:/resources/media-playback-start.png</iconset>
493    </property>
494    <property name="text">
495     <string>&amp;Replay</string>
496    </property>
497    <property name="shortcut">
498     <string>Ctrl+R</string>
499    </property>
500   </action>
501   <action name="actionStop">
502    <property name="enabled">
503     <bool>false</bool>
504    </property>
505    <property name="icon">
506     <iconset resource="../qapitrace.qrc">
507      <normaloff>:/resources/media-playback-stop.png</normaloff>:/resources/media-playback-stop.png</iconset>
508    </property>
509    <property name="text">
510     <string>&amp;Stop</string>
511    </property>
512   </action>
513   <action name="actionLookupState">
514    <property name="enabled">
515     <bool>false</bool>
516    </property>
517    <property name="icon">
518     <iconset resource="../qapitrace.qrc">
519      <normaloff>:/resources/media-record.png</normaloff>:/resources/media-record.png</iconset>
520    </property>
521    <property name="text">
522     <string>Lookup State</string>
523    </property>
524    <property name="shortcut">
525     <string>Ctrl+L</string>
526    </property>
527   </action>
528   <action name="actionOptions">
529    <property name="text">
530     <string>Options</string>
531    </property>
532   </action>
533   <action name="actionNew">
534    <property name="icon">
535     <iconset resource="../qapitrace.qrc">
536      <normaloff>:/resources/document-new.png</normaloff>:/resources/document-new.png</iconset>
537    </property>
538    <property name="text">
539     <string>New</string>
540    </property>
541   </action>
542   <action name="actionFind">
543    <property name="icon">
544     <iconset resource="../qapitrace.qrc">
545      <normaloff>:/resources/edit-find.png</normaloff>:/resources/edit-find.png</iconset>
546    </property>
547    <property name="text">
548     <string>Find</string>
549    </property>
550    <property name="shortcut">
551     <string>Ctrl+F</string>
552    </property>
553   </action>
554   <action name="actionGo">
555    <property name="icon">
556     <iconset resource="../qapitrace.qrc">
557      <normaloff>:/resources/go-jump.png</normaloff>:/resources/go-jump.png</iconset>
558    </property>
559    <property name="text">
560     <string>Go to Call</string>
561    </property>
562    <property name="shortcut">
563     <string>Ctrl+G</string>
564    </property>
565   </action>
566   <action name="actionGoFrameStart">
567    <property name="icon">
568     <iconset resource="../qapitrace.qrc">
569      <normaloff>:/resources/go-top.png</normaloff>:/resources/go-top.png</iconset>
570    </property>
571    <property name="text">
572     <string>Go to Frame Start</string>
573    </property>
574    <property name="shortcut">
575     <string>Ctrl+A</string>
576    </property>
577   </action>
578   <action name="actionGoFrameEnd">
579    <property name="icon">
580     <iconset resource="../qapitrace.qrc">
581      <normaloff>:/resources/go-bottom.png</normaloff>:/resources/go-bottom.png</iconset>
582    </property>
583    <property name="text">
584     <string>Go to Frame End</string>
585    </property>
586    <property name="shortcut">
587     <string>Ctrl+E</string>
588    </property>
589   </action>
590   <action name="actionShowErrorsDock">
591    <property name="checkable">
592     <bool>true</bool>
593    </property>
594    <property name="enabled">
595     <bool>false</bool>
596    </property>
597    <property name="text">
598     <string>Show Errors Dock</string>
599    </property>
600   </action>
601   <zorder>stateDock</zorder>
602   <zorder>vertexDataDock</zorder>
603   <zorder>errorsDock</zorder>
604  </widget>
605  <customwidgets>
606   <customwidget>
607    <class>QWebView</class>
608    <extends>QWidget</extends>
609    <header>QtWebKit/QWebView</header>
610   </customwidget>
611  </customwidgets>
612  <resources>
613   <include location="../qapitrace.qrc"/>
614  </resources>
615  <connections/>
616 </ui>