]> git.cworth.org Git - apitrace/blob - gui/ui/profiledialog.ui
49b77bd1505dbb3e0ce01df019682e778a19a115
[apitrace] / gui / ui / profiledialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>ProfileDialog</class>
4  <widget class="QDialog" name="ProfileDialog">
5   <property name="windowModality">
6    <enum>Qt::NonModal</enum>
7   </property>
8   <property name="geometry">
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>1079</width>
13     <height>768</height>
14    </rect>
15   </property>
16   <property name="windowTitle">
17    <string>Profile Results</string>
18   </property>
19   <layout class="QVBoxLayout" name="verticalLayout_3">
20    <property name="spacing">
21     <number>0</number>
22    </property>
23    <property name="margin">
24     <number>0</number>
25    </property>
26    <item>
27     <widget class="QTabWidget" name="tabWidget">
28      <property name="currentIndex">
29       <number>1</number>
30      </property>
31      <widget class="QWidget" name="tabTimeline">
32       <attribute name="title">
33        <string>Timeline</string>
34       </attribute>
35       <layout class="QVBoxLayout" name="verticalLayout_2">
36        <property name="margin">
37         <number>0</number>
38        </property>
39        <item>
40         <widget class="QSplitter" name="splitter">
41          <property name="sizePolicy">
42           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
43            <horstretch>0</horstretch>
44            <verstretch>0</verstretch>
45           </sizepolicy>
46          </property>
47          <property name="orientation">
48           <enum>Qt::Vertical</enum>
49          </property>
50          <widget class="QWidget" name="timelineContainer" native="true">
51           <property name="sizePolicy">
52            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
53             <horstretch>0</horstretch>
54             <verstretch>1</verstretch>
55            </sizepolicy>
56           </property>
57           <property name="focusPolicy">
58            <enum>Qt::WheelFocus</enum>
59           </property>
60           <layout class="QVBoxLayout" name="verticalLayout">
61            <property name="spacing">
62             <number>0</number>
63            </property>
64            <property name="margin">
65             <number>0</number>
66            </property>
67            <item>
68             <layout class="QGridLayout" name="gridLayout">
69              <property name="spacing">
70               <number>2</number>
71              </property>
72              <item row="0" column="0">
73               <widget class="TimelineWidget" name="m_timeline" native="true">
74                <property name="sizePolicy">
75                 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
76                  <horstretch>0</horstretch>
77                  <verstretch>0</verstretch>
78                 </sizepolicy>
79                </property>
80                <property name="focusPolicy">
81                 <enum>Qt::WheelFocus</enum>
82                </property>
83               </widget>
84              </item>
85              <item row="0" column="1">
86               <widget class="QScrollBar" name="m_verticalScrollBar">
87                <property name="sizePolicy">
88                 <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
89                  <horstretch>0</horstretch>
90                  <verstretch>0</verstretch>
91                 </sizepolicy>
92                </property>
93                <property name="orientation">
94                 <enum>Qt::Vertical</enum>
95                </property>
96               </widget>
97              </item>
98              <item row="1" column="0">
99               <widget class="QScrollBar" name="m_horizontalScrollBar">
100                <property name="sizePolicy">
101                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
102                  <horstretch>0</horstretch>
103                  <verstretch>0</verstretch>
104                 </sizepolicy>
105                </property>
106                <property name="maximum">
107                 <number>10000</number>
108                </property>
109                <property name="orientation">
110                 <enum>Qt::Horizontal</enum>
111                </property>
112               </widget>
113              </item>
114             </layout>
115            </item>
116           </layout>
117          </widget>
118          <widget class="QTableView" name="m_table">
119           <property name="sizePolicy">
120            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
121             <horstretch>0</horstretch>
122             <verstretch>0</verstretch>
123            </sizepolicy>
124           </property>
125           <property name="editTriggers">
126            <set>QAbstractItemView::NoEditTriggers</set>
127           </property>
128           <property name="selectionMode">
129            <enum>QAbstractItemView::SingleSelection</enum>
130           </property>
131           <property name="verticalScrollMode">
132            <enum>QAbstractItemView::ScrollPerPixel</enum>
133           </property>
134           <property name="horizontalScrollMode">
135            <enum>QAbstractItemView::ScrollPerPixel</enum>
136           </property>
137           <property name="sortingEnabled">
138            <bool>true</bool>
139           </property>
140           <property name="wordWrap">
141            <bool>false</bool>
142           </property>
143           <attribute name="verticalHeaderVisible">
144            <bool>false</bool>
145           </attribute>
146          </widget>
147         </widget>
148        </item>
149       </layout>
150      </widget>
151      <widget class="QWidget" name="tabCalls">
152       <attribute name="title">
153        <string>Histogram</string>
154       </attribute>
155       <layout class="QVBoxLayout" name="verticalLayout_4">
156        <property name="margin">
157         <number>0</number>
158        </property>
159        <item>
160         <widget class="QSplitter" name="splitter_2">
161          <property name="orientation">
162           <enum>Qt::Vertical</enum>
163          </property>
164          <widget class="GraphWidget" name="m_gpuGraph" native="true">
165           <property name="sizePolicy">
166            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
167             <horstretch>0</horstretch>
168             <verstretch>0</verstretch>
169            </sizepolicy>
170           </property>
171           <property name="focusPolicy">
172            <enum>Qt::WheelFocus</enum>
173           </property>
174          </widget>
175          <widget class="GraphWidget" name="m_cpuGraph" native="true">
176           <property name="sizePolicy">
177            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
178             <horstretch>0</horstretch>
179             <verstretch>0</verstretch>
180            </sizepolicy>
181           </property>
182          </widget>
183         </widget>
184        </item>
185       </layout>
186      </widget>
187     </widget>
188    </item>
189   </layout>
190  </widget>
191  <customwidgets>
192   <customwidget>
193    <class>TimelineWidget</class>
194    <extends>QWidget</extends>
195    <header>timelinewidget.h</header>
196    <container>1</container>
197    <slots>
198     <signal>horizontalScrollValueChanged(int)</signal>
199     <signal>verticalScrollValueChanged(int)</signal>
200     <signal>horizontalScrollMaxChanged(int)</signal>
201     <signal>verticalScrollMaxChanged(int)</signal>
202     <signal>jumpToCall(int)</signal>
203     <slot>setHorizontalScrollValue(int)</slot>
204     <slot>setVerticalScrollValue(int)</slot>
205    </slots>
206   </customwidget>
207   <customwidget>
208    <class>GraphWidget</class>
209    <extends>QWidget</extends>
210    <header>graphwidget.h</header>
211    <container>1</container>
212   </customwidget>
213  </customwidgets>
214  <resources/>
215  <connections>
216   <connection>
217    <sender>m_horizontalScrollBar</sender>
218    <signal>sliderMoved(int)</signal>
219    <receiver>m_timeline</receiver>
220    <slot>setHorizontalScrollValue(int)</slot>
221    <hints>
222     <hint type="sourcelabel">
223      <x>402</x>
224      <y>195</y>
225     </hint>
226     <hint type="destinationlabel">
227      <x>402</x>
228      <y>93</y>
229     </hint>
230    </hints>
231   </connection>
232   <connection>
233    <sender>m_verticalScrollBar</sender>
234    <signal>sliderMoved(int)</signal>
235    <receiver>m_timeline</receiver>
236    <slot>setVerticalScrollValue(int)</slot>
237    <hints>
238     <hint type="sourcelabel">
239      <x>813</x>
240      <y>93</y>
241     </hint>
242     <hint type="destinationlabel">
243      <x>402</x>
244      <y>93</y>
245     </hint>
246    </hints>
247   </connection>
248   <connection>
249    <sender>m_timeline</sender>
250    <signal>horizontalScrollValueChanged(int)</signal>
251    <receiver>m_horizontalScrollBar</receiver>
252    <slot>setValue(int)</slot>
253    <hints>
254     <hint type="sourcelabel">
255      <x>402</x>
256      <y>93</y>
257     </hint>
258     <hint type="destinationlabel">
259      <x>402</x>
260      <y>195</y>
261     </hint>
262    </hints>
263   </connection>
264   <connection>
265    <sender>m_timeline</sender>
266    <signal>verticalScrollValueChanged(int)</signal>
267    <receiver>m_verticalScrollBar</receiver>
268    <slot>setValue(int)</slot>
269    <hints>
270     <hint type="sourcelabel">
271      <x>402</x>
272      <y>93</y>
273     </hint>
274     <hint type="destinationlabel">
275      <x>813</x>
276      <y>93</y>
277     </hint>
278    </hints>
279   </connection>
280   <connection>
281    <sender>m_timeline</sender>
282    <signal>horizontalScrollMaxChanged(int)</signal>
283    <receiver>ProfileDialog</receiver>
284    <slot>setHorizontalScrollMax(int)</slot>
285    <hints>
286     <hint type="sourcelabel">
287      <x>504</x>
288      <y>277</y>
289     </hint>
290     <hint type="destinationlabel">
291      <x>511</x>
292      <y>383</y>
293     </hint>
294    </hints>
295   </connection>
296   <connection>
297    <sender>m_timeline</sender>
298    <signal>verticalScrollMaxChanged(int)</signal>
299    <receiver>ProfileDialog</receiver>
300    <slot>setVerticalScrollMax(int)</slot>
301    <hints>
302     <hint type="sourcelabel">
303      <x>504</x>
304      <y>277</y>
305     </hint>
306     <hint type="destinationlabel">
307      <x>511</x>
308      <y>383</y>
309     </hint>
310    </hints>
311   </connection>
312   <connection>
313    <sender>m_table</sender>
314    <signal>doubleClicked(QModelIndex)</signal>
315    <receiver>ProfileDialog</receiver>
316    <slot>tableDoubleClicked(QModelIndex)</slot>
317    <hints>
318     <hint type="sourcelabel">
319      <x>511</x>
320      <y>671</y>
321     </hint>
322     <hint type="destinationlabel">
323      <x>511</x>
324      <y>383</y>
325     </hint>
326    </hints>
327   </connection>
328  </connections>
329  <slots>
330   <signal>jumpToCall(int)</signal>
331   <slot>setVerticalScrollMax(int)</slot>
332   <slot>setHorizontalScrollMax(int)</slot>
333   <slot>tableDoubleClicked(QModelIndex)</slot>
334  </slots>
335 </ui>