]> git.cworth.org Git - apitrace/blob - gui/ui/profiledialog.ui
Combine timeline and histogram tabs.
[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>1105</width>
13     <height>804</height>
14    </rect>
15   </property>
16   <property name="windowTitle">
17    <string>Profile Results</string>
18   </property>
19   <property name="styleSheet">
20    <string notr="true"/>
21   </property>
22   <layout class="QVBoxLayout" name="verticalLayout_2">
23    <property name="margin">
24     <number>0</number>
25    </property>
26    <item>
27     <widget class="QSplitter" name="splitter">
28      <property name="orientation">
29       <enum>Qt::Vertical</enum>
30      </property>
31      <property name="opaqueResize">
32       <bool>false</bool>
33      </property>
34      <widget class="QWidget" name="timelineContainer" native="true">
35       <property name="sizePolicy">
36        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
37         <horstretch>0</horstretch>
38         <verstretch>1</verstretch>
39        </sizepolicy>
40       </property>
41       <property name="focusPolicy">
42        <enum>Qt::WheelFocus</enum>
43       </property>
44       <layout class="QVBoxLayout" name="verticalLayout">
45        <property name="spacing">
46         <number>0</number>
47        </property>
48        <property name="margin">
49         <number>0</number>
50        </property>
51        <item>
52         <layout class="QGridLayout" name="gridLayout">
53          <property name="spacing">
54           <number>2</number>
55          </property>
56          <item row="0" column="0">
57           <widget class="TimelineWidget" name="m_timeline" native="true">
58            <property name="sizePolicy">
59             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
60              <horstretch>0</horstretch>
61              <verstretch>0</verstretch>
62             </sizepolicy>
63            </property>
64            <property name="focusPolicy">
65             <enum>Qt::WheelFocus</enum>
66            </property>
67           </widget>
68          </item>
69          <item row="0" column="1">
70           <widget class="QScrollBar" name="m_verticalScrollBar">
71            <property name="sizePolicy">
72             <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
73              <horstretch>0</horstretch>
74              <verstretch>0</verstretch>
75             </sizepolicy>
76            </property>
77            <property name="orientation">
78             <enum>Qt::Vertical</enum>
79            </property>
80           </widget>
81          </item>
82          <item row="1" column="0">
83           <widget class="QScrollBar" name="m_horizontalScrollBar">
84            <property name="sizePolicy">
85             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
86              <horstretch>0</horstretch>
87              <verstretch>0</verstretch>
88             </sizepolicy>
89            </property>
90            <property name="maximum">
91             <number>10000</number>
92            </property>
93            <property name="orientation">
94             <enum>Qt::Horizontal</enum>
95            </property>
96           </widget>
97          </item>
98         </layout>
99        </item>
100       </layout>
101      </widget>
102      <widget class="QWidget" name="graphContainer" native="true">
103       <property name="sizePolicy">
104        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
105         <horstretch>0</horstretch>
106         <verstretch>0</verstretch>
107        </sizepolicy>
108       </property>
109       <property name="minimumSize">
110        <size>
111         <width>0</width>
112         <height>200</height>
113        </size>
114       </property>
115       <layout class="QVBoxLayout" name="verticalLayout_3">
116        <property name="spacing">
117         <number>0</number>
118        </property>
119        <property name="margin">
120         <number>0</number>
121        </property>
122        <item>
123         <widget class="GraphWidget" name="m_gpuGraph" native="true">
124          <property name="sizePolicy">
125           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
126            <horstretch>0</horstretch>
127            <verstretch>0</verstretch>
128           </sizepolicy>
129          </property>
130          <property name="minimumSize">
131           <size>
132            <width>0</width>
133            <height>0</height>
134           </size>
135          </property>
136          <property name="focusPolicy">
137           <enum>Qt::WheelFocus</enum>
138          </property>
139         </widget>
140        </item>
141        <item>
142         <widget class="GraphWidget" name="m_cpuGraph" native="true">
143          <property name="sizePolicy">
144           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
145            <horstretch>0</horstretch>
146            <verstretch>0</verstretch>
147           </sizepolicy>
148          </property>
149          <property name="minimumSize">
150           <size>
151            <width>0</width>
152            <height>0</height>
153           </size>
154          </property>
155         </widget>
156        </item>
157       </layout>
158      </widget>
159      <widget class="QTableView" name="m_table">
160       <property name="sizePolicy">
161        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
162         <horstretch>0</horstretch>
163         <verstretch>0</verstretch>
164        </sizepolicy>
165       </property>
166       <property name="editTriggers">
167        <set>QAbstractItemView::NoEditTriggers</set>
168       </property>
169       <property name="selectionMode">
170        <enum>QAbstractItemView::SingleSelection</enum>
171       </property>
172       <property name="selectionBehavior">
173        <enum>QAbstractItemView::SelectRows</enum>
174       </property>
175       <property name="verticalScrollMode">
176        <enum>QAbstractItemView::ScrollPerPixel</enum>
177       </property>
178       <property name="horizontalScrollMode">
179        <enum>QAbstractItemView::ScrollPerPixel</enum>
180       </property>
181       <property name="sortingEnabled">
182        <bool>true</bool>
183       </property>
184       <property name="wordWrap">
185        <bool>false</bool>
186       </property>
187       <attribute name="verticalHeaderVisible">
188        <bool>false</bool>
189       </attribute>
190      </widget>
191     </widget>
192    </item>
193   </layout>
194  </widget>
195  <customwidgets>
196   <customwidget>
197    <class>TimelineWidget</class>
198    <extends>QWidget</extends>
199    <header>timelinewidget.h</header>
200    <container>1</container>
201    <slots>
202     <signal>horizontalScrollValueChanged(int)</signal>
203     <signal>verticalScrollValueChanged(int)</signal>
204     <signal>horizontalScrollMaxChanged(int)</signal>
205     <signal>verticalScrollMaxChanged(int)</signal>
206     <signal>jumpToCall(int)</signal>
207     <signal>selectedTime(int64_t,int64_t)</signal>
208     <signal>selectedProgram(unsigned)</signal>
209     <signal>selectedNone()</signal>
210     <slot>setHorizontalScrollValue(int)</slot>
211     <slot>setVerticalScrollValue(int)</slot>
212    </slots>
213   </customwidget>
214   <customwidget>
215    <class>GraphWidget</class>
216    <extends>QWidget</extends>
217    <header>graphwidget.h</header>
218    <container>1</container>
219    <slots>
220     <signal>viewChanged(int,int)</signal>
221     <signal>selectedTime(int64_t,int64_t)</signal>
222     <signal>selectedProgram(unsigned)</signal>
223     <signal>selectedNone()</signal>
224     <slot>changeView(int,int)</slot>
225    </slots>
226   </customwidget>
227  </customwidgets>
228  <resources/>
229  <connections>
230   <connection>
231    <sender>m_horizontalScrollBar</sender>
232    <signal>sliderMoved(int)</signal>
233    <receiver>m_timeline</receiver>
234    <slot>setHorizontalScrollValue(int)</slot>
235    <hints>
236     <hint type="sourcelabel">
237      <x>373</x>
238      <y>434</y>
239     </hint>
240     <hint type="destinationlabel">
241      <x>373</x>
242      <y>213</y>
243     </hint>
244    </hints>
245   </connection>
246   <connection>
247    <sender>m_verticalScrollBar</sender>
248    <signal>sliderMoved(int)</signal>
249    <receiver>m_timeline</receiver>
250    <slot>setVerticalScrollValue(int)</slot>
251    <hints>
252     <hint type="sourcelabel">
253      <x>754</x>
254      <y>213</y>
255     </hint>
256     <hint type="destinationlabel">
257      <x>373</x>
258      <y>213</y>
259     </hint>
260    </hints>
261   </connection>
262   <connection>
263    <sender>m_timeline</sender>
264    <signal>horizontalScrollValueChanged(int)</signal>
265    <receiver>m_horizontalScrollBar</receiver>
266    <slot>setValue(int)</slot>
267    <hints>
268     <hint type="sourcelabel">
269      <x>373</x>
270      <y>213</y>
271     </hint>
272     <hint type="destinationlabel">
273      <x>373</x>
274      <y>434</y>
275     </hint>
276    </hints>
277   </connection>
278   <connection>
279    <sender>m_timeline</sender>
280    <signal>verticalScrollValueChanged(int)</signal>
281    <receiver>m_verticalScrollBar</receiver>
282    <slot>setValue(int)</slot>
283    <hints>
284     <hint type="sourcelabel">
285      <x>373</x>
286      <y>213</y>
287     </hint>
288     <hint type="destinationlabel">
289      <x>754</x>
290      <y>213</y>
291     </hint>
292    </hints>
293   </connection>
294   <connection>
295    <sender>m_timeline</sender>
296    <signal>horizontalScrollMaxChanged(int)</signal>
297    <receiver>ProfileDialog</receiver>
298    <slot>setHorizontalScrollMax(int)</slot>
299    <hints>
300     <hint type="sourcelabel">
301      <x>373</x>
302      <y>213</y>
303     </hint>
304     <hint type="destinationlabel">
305      <x>511</x>
306      <y>383</y>
307     </hint>
308    </hints>
309   </connection>
310   <connection>
311    <sender>m_timeline</sender>
312    <signal>verticalScrollMaxChanged(int)</signal>
313    <receiver>ProfileDialog</receiver>
314    <slot>setVerticalScrollMax(int)</slot>
315    <hints>
316     <hint type="sourcelabel">
317      <x>373</x>
318      <y>213</y>
319     </hint>
320     <hint type="destinationlabel">
321      <x>511</x>
322      <y>383</y>
323     </hint>
324    </hints>
325   </connection>
326   <connection>
327    <sender>m_cpuGraph</sender>
328    <signal>viewChanged(int,int)</signal>
329    <receiver>m_gpuGraph</receiver>
330    <slot>changeView(int,int)</slot>
331    <hints>
332     <hint type="sourcelabel">
333      <x>511</x>
334      <y>687</y>
335     </hint>
336     <hint type="destinationlabel">
337      <x>511</x>
338      <y>527</y>
339     </hint>
340    </hints>
341   </connection>
342   <connection>
343    <sender>m_gpuGraph</sender>
344    <signal>viewChanged(int,int)</signal>
345    <receiver>m_cpuGraph</receiver>
346    <slot>changeView(int,int)</slot>
347    <hints>
348     <hint type="sourcelabel">
349      <x>511</x>
350      <y>527</y>
351     </hint>
352     <hint type="destinationlabel">
353      <x>511</x>
354      <y>687</y>
355     </hint>
356    </hints>
357   </connection>
358   <connection>
359    <sender>m_table</sender>
360    <signal>doubleClicked(QModelIndex)</signal>
361    <receiver>ProfileDialog</receiver>
362    <slot>tableDoubleClicked(QModelIndex)</slot>
363    <hints>
364     <hint type="sourcelabel">
365      <x>895</x>
366      <y>220</y>
367     </hint>
368     <hint type="destinationlabel">
369      <x>511</x>
370      <y>383</y>
371     </hint>
372    </hints>
373   </connection>
374   <connection>
375    <sender>m_cpuGraph</sender>
376    <signal>selectedTime(int64_t,int64_t)</signal>
377    <receiver>ProfileDialog</receiver>
378    <slot>selectTime(int64_t,int64_t)</slot>
379    <hints>
380     <hint type="sourcelabel">
381      <x>552</x>
382      <y>555</y>
383     </hint>
384     <hint type="destinationlabel">
385      <x>552</x>
386      <y>401</y>
387     </hint>
388    </hints>
389   </connection>
390   <connection>
391    <sender>m_gpuGraph</sender>
392    <signal>selectedTime(int64_t,int64_t)</signal>
393    <receiver>ProfileDialog</receiver>
394    <slot>selectTime(int64_t,int64_t)</slot>
395    <hints>
396     <hint type="sourcelabel">
397      <x>552</x>
398      <y>455</y>
399     </hint>
400     <hint type="destinationlabel">
401      <x>552</x>
402      <y>401</y>
403     </hint>
404    </hints>
405   </connection>
406   <connection>
407    <sender>m_timeline</sender>
408    <signal>selectedTime(int64_t,int64_t)</signal>
409    <receiver>ProfileDialog</receiver>
410    <slot>selectTime(int64_t,int64_t)</slot>
411    <hints>
412     <hint type="sourcelabel">
413      <x>544</x>
414      <y>192</y>
415     </hint>
416     <hint type="destinationlabel">
417      <x>552</x>
418      <y>401</y>
419     </hint>
420    </hints>
421   </connection>
422   <connection>
423    <sender>m_cpuGraph</sender>
424    <signal>selectedProgram(unsigned)</signal>
425    <receiver>ProfileDialog</receiver>
426    <slot>selectProgram(unsigned)</slot>
427    <hints>
428     <hint type="sourcelabel">
429      <x>552</x>
430      <y>555</y>
431     </hint>
432     <hint type="destinationlabel">
433      <x>552</x>
434      <y>401</y>
435     </hint>
436    </hints>
437   </connection>
438   <connection>
439    <sender>m_gpuGraph</sender>
440    <signal>selectedProgram(unsigned)</signal>
441    <receiver>ProfileDialog</receiver>
442    <slot>selectProgram(unsigned)</slot>
443    <hints>
444     <hint type="sourcelabel">
445      <x>552</x>
446      <y>455</y>
447     </hint>
448     <hint type="destinationlabel">
449      <x>552</x>
450      <y>401</y>
451     </hint>
452    </hints>
453   </connection>
454   <connection>
455    <sender>m_timeline</sender>
456    <signal>selectedProgram(unsigned)</signal>
457    <receiver>ProfileDialog</receiver>
458    <slot>selectProgram(unsigned)</slot>
459    <hints>
460     <hint type="sourcelabel">
461      <x>544</x>
462      <y>192</y>
463     </hint>
464     <hint type="destinationlabel">
465      <x>552</x>
466      <y>401</y>
467     </hint>
468    </hints>
469   </connection>
470   <connection>
471    <sender>m_cpuGraph</sender>
472    <signal>selectedNone()</signal>
473    <receiver>ProfileDialog</receiver>
474    <slot>selectNone()</slot>
475    <hints>
476     <hint type="sourcelabel">
477      <x>552</x>
478      <y>555</y>
479     </hint>
480     <hint type="destinationlabel">
481      <x>552</x>
482      <y>401</y>
483     </hint>
484    </hints>
485   </connection>
486   <connection>
487    <sender>m_gpuGraph</sender>
488    <signal>selectedNone()</signal>
489    <receiver>ProfileDialog</receiver>
490    <slot>selectNone()</slot>
491    <hints>
492     <hint type="sourcelabel">
493      <x>552</x>
494      <y>455</y>
495     </hint>
496     <hint type="destinationlabel">
497      <x>552</x>
498      <y>401</y>
499     </hint>
500    </hints>
501   </connection>
502   <connection>
503    <sender>m_timeline</sender>
504    <signal>selectedNone()</signal>
505    <receiver>ProfileDialog</receiver>
506    <slot>selectNone()</slot>
507    <hints>
508     <hint type="sourcelabel">
509      <x>544</x>
510      <y>192</y>
511     </hint>
512     <hint type="destinationlabel">
513      <x>552</x>
514      <y>401</y>
515     </hint>
516    </hints>
517   </connection>
518  </connections>
519  <slots>
520   <signal>jumpToCall(int)</signal>
521   <slot>setVerticalScrollMax(int)</slot>
522   <slot>setHorizontalScrollMax(int)</slot>
523   <slot>tableDoubleClicked(QModelIndex)</slot>
524   <slot>selectTime(int64_t,int64_t)</slot>
525   <slot>selectProgram(unsigned)</slot>
526   <slot>selectNone()</slot>
527  </slots>
528 </ui>