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