]> git.cworth.org Git - apitrace/blob - gui/ui/mainwindow.ui
Incorporate Jose's patch and make vertexdatainterpreter work.
[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>758</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="QHBoxLayout" name="horizontalLayout">
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="actionOpen"/>
56     <addaction name="separator"/>
57     <addaction name="actionQuit"/>
58    </widget>
59    <widget class="QMenu" name="menu_Trace">
60     <property name="title">
61      <string>&amp;Trace</string>
62     </property>
63     <addaction name="actionReplay"/>
64     <addaction name="actionStop"/>
65     <addaction name="actionLookupState"/>
66     <addaction name="separator"/>
67     <addaction name="actionOptions"/>
68    </widget>
69    <addaction name="menuFile"/>
70    <addaction name="menu_Trace"/>
71   </widget>
72   <widget class="QStatusBar" name="statusbar"/>
73   <widget class="QDockWidget" name="detailsDock">
74    <property name="sizePolicy">
75     <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
76      <horstretch>0</horstretch>
77      <verstretch>0</verstretch>
78     </sizepolicy>
79    </property>
80    <property name="minimumSize">
81     <size>
82      <width>77</width>
83      <height>100</height>
84     </size>
85    </property>
86    <property name="floating">
87     <bool>false</bool>
88    </property>
89    <property name="windowTitle">
90     <string>Call Details</string>
91    </property>
92    <attribute name="dockWidgetArea">
93     <number>8</number>
94    </attribute>
95    <widget class="QWidget" name="dockWidgetContents">
96     <layout class="QHBoxLayout" name="horizontalLayout_2">
97      <item>
98       <widget class="QWebView" name="detailsWebView" native="true">
99        <property name="sizePolicy">
100         <sizepolicy hsizetype="Preferred" vsizetype="Ignored">
101          <horstretch>0</horstretch>
102          <verstretch>0</verstretch>
103         </sizepolicy>
104        </property>
105        <property name="url" stdset="0">
106         <url>
107          <string>about:blank</string>
108         </url>
109        </property>
110       </widget>
111      </item>
112     </layout>
113    </widget>
114   </widget>
115   <widget class="QDockWidget" name="stateDock">
116    <property name="features">
117     <set>QDockWidget::AllDockWidgetFeatures</set>
118    </property>
119    <property name="windowTitle">
120     <string>Current State</string>
121    </property>
122    <attribute name="dockWidgetArea">
123     <number>2</number>
124    </attribute>
125    <widget class="QWidget" name="dockWidgetContents_2">
126     <layout class="QVBoxLayout" name="verticalLayout">
127      <item>
128       <widget class="QTreeWidget" name="stateTreeWidget">
129        <property name="alternatingRowColors">
130         <bool>true</bool>
131        </property>
132        <property name="selectionMode">
133         <enum>QAbstractItemView::NoSelection</enum>
134        </property>
135        <property name="uniformRowHeights">
136         <bool>true</bool>
137        </property>
138        <property name="sortingEnabled">
139         <bool>true</bool>
140        </property>
141        <property name="animated">
142         <bool>true</bool>
143        </property>
144        <property name="allColumnsShowFocus">
145         <bool>true</bool>
146        </property>
147        <attribute name="headerShowSortIndicator" stdset="0">
148         <bool>true</bool>
149        </attribute>
150        <column>
151         <property name="text">
152          <string>Variable</string>
153         </property>
154        </column>
155        <column>
156         <property name="text">
157          <string>Value</string>
158         </property>
159        </column>
160       </widget>
161      </item>
162     </layout>
163    </widget>
164   </widget>
165   <widget class="QDockWidget" name="vertexDataDock">
166    <property name="allowedAreas">
167     <set>Qt::AllDockWidgetAreas</set>
168    </property>
169    <property name="windowTitle">
170     <string>Vertex Data</string>
171    </property>
172    <attribute name="dockWidgetArea">
173     <number>2</number>
174    </attribute>
175    <widget class="QWidget" name="dockWidgetContents_3">
176     <layout class="QVBoxLayout" name="verticalLayout_2">
177      <item>
178       <layout class="QFormLayout" name="formLayout">
179        <item row="0" column="0">
180         <widget class="QLabel" name="label">
181          <property name="text">
182           <string>Type</string>
183          </property>
184         </widget>
185        </item>
186        <item row="0" column="1">
187         <widget class="QComboBox" name="vertexTypeCB">
188          <property name="currentIndex">
189           <number>6</number>
190          </property>
191          <item>
192           <property name="text">
193            <string>GL_BYTE</string>
194           </property>
195          </item>
196          <item>
197           <property name="text">
198            <string>GL_UNSIGNED_BYTE</string>
199           </property>
200          </item>
201          <item>
202           <property name="text">
203            <string>GL_SHORT</string>
204           </property>
205          </item>
206          <item>
207           <property name="text">
208            <string>GL_UNSIGNED_SHORT</string>
209           </property>
210          </item>
211          <item>
212           <property name="text">
213            <string>GL_INT</string>
214           </property>
215          </item>
216          <item>
217           <property name="text">
218            <string>GL_UNSIGNED_INT</string>
219           </property>
220          </item>
221          <item>
222           <property name="text">
223            <string>GL_FLOAT</string>
224           </property>
225          </item>
226          <item>
227           <property name="text">
228            <string>GL_DOUBLE</string>
229           </property>
230          </item>
231         </widget>
232        </item>
233        <item row="1" column="0">
234         <widget class="QLabel" name="label_2">
235          <property name="text">
236           <string>Stride</string>
237          </property>
238         </widget>
239        </item>
240        <item row="1" column="1">
241         <widget class="QSpinBox" name="vertexStrideSB">
242          <property name="maximum">
243           <number>1000</number>
244          </property>
245          <property name="value">
246           <number>8</number>
247          </property>
248         </widget>
249        </item>
250        <item row="2" column="0">
251         <widget class="QLabel" name="label_4">
252          <property name="text">
253           <string>Components</string>
254          </property>
255         </widget>
256        </item>
257        <item row="2" column="1">
258         <widget class="QSpinBox" name="vertexComponentsSB">
259          <property name="minimum">
260           <number>1</number>
261          </property>
262          <property name="maximum">
263           <number>256</number>
264          </property>
265          <property name="value">
266           <number>4</number>
267          </property>
268         </widget>
269        </item>
270        <item row="3" column="0" colspan="2">
271         <layout class="QHBoxLayout" name="horizontalLayout_3">
272          <item>
273           <spacer name="horizontalSpacer">
274            <property name="orientation">
275             <enum>Qt::Horizontal</enum>
276            </property>
277            <property name="sizeHint" stdset="0">
278             <size>
279              <width>40</width>
280              <height>20</height>
281             </size>
282            </property>
283           </spacer>
284          </item>
285          <item>
286           <widget class="QPushButton" name="vertexInterpretButton">
287            <property name="text">
288             <string>Interpret</string>
289            </property>
290           </widget>
291          </item>
292          <item>
293           <spacer name="horizontalSpacer_2">
294            <property name="orientation">
295             <enum>Qt::Horizontal</enum>
296            </property>
297            <property name="sizeHint" stdset="0">
298             <size>
299              <width>40</width>
300              <height>20</height>
301             </size>
302            </property>
303           </spacer>
304          </item>
305         </layout>
306        </item>
307       </layout>
308      </item>
309      <item>
310       <widget class="QListWidget" name="vertexDataListWidget"/>
311      </item>
312     </layout>
313    </widget>
314   </widget>
315   <action name="actionExit">
316    <property name="text">
317     <string>Exit</string>
318    </property>
319   </action>
320   <action name="actionExit_2">
321    <property name="text">
322     <string>Exit</string>
323    </property>
324   </action>
325   <action name="actionOpen">
326    <property name="icon">
327     <iconset resource="../qapitrace.qrc">
328      <normaloff>:/resources/document-open.png</normaloff>:/resources/document-open.png</iconset>
329    </property>
330    <property name="text">
331     <string>&amp;Open...</string>
332    </property>
333    <property name="shortcut">
334     <string>Ctrl+O</string>
335    </property>
336   </action>
337   <action name="actionQuit">
338    <property name="icon">
339     <iconset resource="../qapitrace.qrc">
340      <normaloff>:/resources/application-exit.png</normaloff>:/resources/application-exit.png</iconset>
341    </property>
342    <property name="text">
343     <string>&amp;Quit</string>
344    </property>
345    <property name="shortcut">
346     <string>Ctrl+Q</string>
347    </property>
348    <property name="shortcutContext">
349     <enum>Qt::ApplicationShortcut</enum>
350    </property>
351    <property name="menuRole">
352     <enum>QAction::QuitRole</enum>
353    </property>
354   </action>
355   <action name="actionReplay">
356    <property name="enabled">
357     <bool>false</bool>
358    </property>
359    <property name="icon">
360     <iconset resource="../qapitrace.qrc">
361      <normaloff>:/resources/media-playback-start.png</normaloff>:/resources/media-playback-start.png</iconset>
362    </property>
363    <property name="text">
364     <string>&amp;Replay</string>
365    </property>
366   </action>
367   <action name="actionStop">
368    <property name="enabled">
369     <bool>false</bool>
370    </property>
371    <property name="icon">
372     <iconset resource="../qapitrace.qrc">
373      <normaloff>:/resources/media-playback-stop.png</normaloff>:/resources/media-playback-stop.png</iconset>
374    </property>
375    <property name="text">
376     <string>&amp;Stop</string>
377    </property>
378   </action>
379   <action name="actionLookupState">
380    <property name="enabled">
381     <bool>false</bool>
382    </property>
383    <property name="icon">
384     <iconset resource="../qapitrace.qrc">
385      <normaloff>:/resources/media-record.png</normaloff>:/resources/media-record.png</iconset>
386    </property>
387    <property name="text">
388     <string>Lookup State</string>
389    </property>
390   </action>
391   <action name="actionOptions">
392    <property name="text">
393     <string>Options</string>
394    </property>
395   </action>
396   <zorder>stateDock</zorder>
397   <zorder>vertexDataDock</zorder>
398  </widget>
399  <customwidgets>
400   <customwidget>
401    <class>QWebView</class>
402    <extends>QWidget</extends>
403    <header>QtWebKit/QWebView</header>
404   </customwidget>
405  </customwidgets>
406  <resources>
407   <include location="../qapitrace.qrc"/>
408  </resources>
409  <connections/>
410 </ui>