]> git.cworth.org Git - apitrace/blob - gui/ui/settings.ui
Implement an edit menu.
[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="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>438</width>
10     <height>333</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>QApiTrace Settings</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <widget class="QGroupBox" name="groupBox">
19      <property name="sizePolicy">
20       <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
21        <horstretch>0</horstretch>
22        <verstretch>0</verstretch>
23       </sizepolicy>
24      </property>
25      <property name="title">
26       <string>Hidden Events</string>
27      </property>
28      <layout class="QGridLayout" name="gridLayout">
29       <item row="0" column="0">
30        <widget class="QCheckBox" name="extensionsBox">
31         <property name="text">
32          <string>Extension queries</string>
33         </property>
34        </widget>
35       </item>
36       <item row="0" column="1">
37        <widget class="QCheckBox" name="functionsBox">
38         <property name="text">
39          <string>Function resolution</string>
40         </property>
41        </widget>
42       </item>
43       <item row="1" column="0">
44        <widget class="QCheckBox" name="errorsBox">
45         <property name="text">
46          <string>Error queries</string>
47         </property>
48        </widget>
49       </item>
50       <item row="1" column="1">
51        <widget class="QCheckBox" name="statesBox">
52         <property name="text">
53          <string>Extra state queries</string>
54         </property>
55        </widget>
56       </item>
57      </layout>
58     </widget>
59    </item>
60    <item>
61     <widget class="QGroupBox" name="showFilterBox">
62      <property name="title">
63       <string>Only show the following events</string>
64      </property>
65      <property name="checkable">
66       <bool>true</bool>
67      </property>
68      <property name="checked">
69       <bool>false</bool>
70      </property>
71      <layout class="QVBoxLayout" name="verticalLayout_2">
72       <item>
73        <widget class="QComboBox" name="showFilterCB"/>
74       </item>
75       <item>
76        <widget class="QLineEdit" name="showFilterEdit"/>
77       </item>
78       <item>
79        <widget class="QLabel" name="label">
80         <property name="text">
81          <string>You can specify one of the predefined categories or create a custom regexp to show only a specific set of events.</string>
82         </property>
83         <property name="wordWrap">
84          <bool>true</bool>
85         </property>
86        </widget>
87       </item>
88      </layout>
89     </widget>
90    </item>
91    <item>
92     <widget class="QDialogButtonBox" name="buttonBox">
93      <property name="orientation">
94       <enum>Qt::Horizontal</enum>
95      </property>
96      <property name="standardButtons">
97       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
98      </property>
99     </widget>
100    </item>
101   </layout>
102  </widget>
103  <resources/>
104  <connections>
105   <connection>
106    <sender>buttonBox</sender>
107    <signal>accepted()</signal>
108    <receiver>Settings</receiver>
109    <slot>accept()</slot>
110    <hints>
111     <hint type="sourcelabel">
112      <x>248</x>
113      <y>254</y>
114     </hint>
115     <hint type="destinationlabel">
116      <x>157</x>
117      <y>274</y>
118     </hint>
119    </hints>
120   </connection>
121   <connection>
122    <sender>buttonBox</sender>
123    <signal>rejected()</signal>
124    <receiver>Settings</receiver>
125    <slot>reject()</slot>
126    <hints>
127     <hint type="sourcelabel">
128      <x>316</x>
129      <y>260</y>
130     </hint>
131     <hint type="destinationlabel">
132      <x>286</x>
133      <y>274</y>
134     </hint>
135    </hints>
136   </connection>
137  </connections>
138 </ui>