]> git.cworth.org Git - apitrace/blob - gui/ui/settings.ui
Define all D2D/DWRITE GUIDs
[apitrace] / gui / ui / settings.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Settings</class>
4  <widget class="QDialog" name="Settings">
5   <property name="enabled">
6    <bool>true</bool>
7   </property>
8   <property name="geometry">
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>571</width>
13     <height>334</height>
14    </rect>
15   </property>
16   <property name="windowTitle">
17    <string>QApiTrace Settings</string>
18   </property>
19   <layout class="QVBoxLayout" name="verticalLayout">
20    <item>
21     <widget class="QGroupBox" name="apiGroupBox">
22      <property name="title">
23       <string>API</string>
24      </property>
25      <layout class="QVBoxLayout" name="verticalLayout_4">
26       <item>
27        <widget class="QComboBox" name="apiComboBox">
28         <item>
29          <property name="text">
30           <string>GL</string>
31          </property>
32         </item>
33         <item>
34          <property name="text">
35           <string>EGL</string>
36          </property>
37         </item>
38        </widget>
39       </item>
40      </layout>
41     </widget>
42    </item>
43    <item>
44     <widget class="QGroupBox" name="groupBox">
45      <property name="sizePolicy">
46       <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
47        <horstretch>0</horstretch>
48        <verstretch>0</verstretch>
49       </sizepolicy>
50      </property>
51      <property name="title">
52       <string>Hidden Events</string>
53      </property>
54      <layout class="QVBoxLayout" name="verticalLayout_3">
55       <item>
56        <layout class="QHBoxLayout" name="horizontalLayout">
57         <item>
58          <widget class="QCheckBox" name="extensionsBox">
59           <property name="text">
60            <string>Extension queries</string>
61           </property>
62          </widget>
63         </item>
64         <item>
65          <widget class="QCheckBox" name="functionsBox">
66           <property name="text">
67            <string>Function resolution</string>
68           </property>
69          </widget>
70         </item>
71        </layout>
72       </item>
73       <item>
74        <layout class="QHBoxLayout" name="horizontalLayout_2">
75         <item>
76          <widget class="QCheckBox" name="errorsBox">
77           <property name="text">
78            <string>Error queries</string>
79           </property>
80          </widget>
81         </item>
82         <item>
83          <widget class="QCheckBox" name="statesBox">
84           <property name="text">
85            <string>Extra state queries</string>
86           </property>
87          </widget>
88         </item>
89        </layout>
90       </item>
91       <item>
92        <layout class="QHBoxLayout" name="horizontalLayout_3">
93         <item>
94          <widget class="QCheckBox" name="customBox">
95           <property name="text">
96            <string>Custom</string>
97           </property>
98          </widget>
99         </item>
100         <item>
101          <widget class="QLineEdit" name="customEdit">
102           <property name="enabled">
103            <bool>false</bool>
104           </property>
105          </widget>
106         </item>
107        </layout>
108       </item>
109      </layout>
110     </widget>
111    </item>
112    <item>
113     <widget class="QGroupBox" name="showFilterBox">
114      <property name="title">
115       <string>Only show the following events</string>
116      </property>
117      <property name="checkable">
118       <bool>true</bool>
119      </property>
120      <property name="checked">
121       <bool>false</bool>
122      </property>
123      <layout class="QVBoxLayout" name="verticalLayout_2">
124       <item>
125        <widget class="QComboBox" name="showFilterCB"/>
126       </item>
127       <item>
128        <widget class="QLineEdit" name="showFilterEdit"/>
129       </item>
130       <item>
131        <widget class="QLabel" name="label">
132         <property name="text">
133          <string>You can specify one of the predefined categories or create a custom regexp to show only a specific set of events.</string>
134         </property>
135         <property name="wordWrap">
136          <bool>true</bool>
137         </property>
138        </widget>
139       </item>
140      </layout>
141     </widget>
142    </item>
143    <item>
144     <widget class="QDialogButtonBox" name="buttonBox">
145      <property name="orientation">
146       <enum>Qt::Horizontal</enum>
147      </property>
148      <property name="standardButtons">
149       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
150      </property>
151     </widget>
152    </item>
153   </layout>
154  </widget>
155  <resources/>
156  <connections>
157   <connection>
158    <sender>buttonBox</sender>
159    <signal>accepted()</signal>
160    <receiver>Settings</receiver>
161    <slot>accept()</slot>
162    <hints>
163     <hint type="sourcelabel">
164      <x>252</x>
165      <y>329</y>
166     </hint>
167     <hint type="destinationlabel">
168      <x>157</x>
169      <y>274</y>
170     </hint>
171    </hints>
172   </connection>
173   <connection>
174    <sender>buttonBox</sender>
175    <signal>rejected()</signal>
176    <receiver>Settings</receiver>
177    <slot>reject()</slot>
178    <hints>
179     <hint type="sourcelabel">
180      <x>320</x>
181      <y>329</y>
182     </hint>
183     <hint type="destinationlabel">
184      <x>286</x>
185      <y>274</y>
186     </hint>
187    </hints>
188   </connection>
189   <connection>
190    <sender>customBox</sender>
191    <signal>toggled(bool)</signal>
192    <receiver>customEdit</receiver>
193    <slot>setEnabled(bool)</slot>
194    <hints>
195     <hint type="sourcelabel">
196      <x>63</x>
197      <y>151</y>
198     </hint>
199     <hint type="destinationlabel">
200      <x>107</x>
201      <y>151</y>
202     </hint>
203    </hints>
204   </connection>
205  </connections>
206 </ui>