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