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