Theme Editor: Made auto-expand/highlight of parse tree optional (through preferences...
[kugel-rb.git] / utils / themeeditor / gui / preferencesdialog.ui
blobc455ed078649f0e3b8d06acbf6b008cccfe1b273
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>PreferencesDialog</class>
4 <widget class="QDialog" name="PreferencesDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>370</width>
10 <height>370</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Preferences</string>
15 </property>
16 <property name="windowIcon">
17 <iconset resource="../resources.qrc">
18 <normaloff>:/resources/windowicon.png</normaloff>:/resources/windowicon.png</iconset>
19 </property>
20 <layout class="QVBoxLayout" name="verticalLayout">
21 <item>
22 <widget class="QTabWidget" name="prefsGroups">
23 <property name="tabPosition">
24 <enum>QTabWidget::North</enum>
25 </property>
26 <property name="currentIndex">
27 <number>0</number>
28 </property>
29 <widget class="QWidget" name="tab_2">
30 <attribute name="title">
31 <string>Editor</string>
32 </attribute>
33 <layout class="QVBoxLayout" name="verticalLayout_2">
34 <item>
35 <layout class="QHBoxLayout" name="horizontalLayout_7">
36 <item>
37 <widget class="QLabel" name="label_7">
38 <property name="text">
39 <string>Font</string>
40 </property>
41 </widget>
42 </item>
43 <item>
44 <widget class="QFontComboBox" name="fontSelect"/>
45 </item>
46 </layout>
47 </item>
48 <item>
49 <layout class="QHBoxLayout" name="horizontalLayout_8">
50 <item>
51 <widget class="QLabel" name="label_8">
52 <property name="text">
53 <string>Size</string>
54 </property>
55 </widget>
56 </item>
57 <item>
58 <widget class="QSpinBox" name="fontSize">
59 <property name="value">
60 <number>12</number>
61 </property>
62 </widget>
63 </item>
64 </layout>
65 </item>
66 <item>
67 <layout class="QHBoxLayout" name="horizontalLayout">
68 <item>
69 <widget class="QLabel" name="label_2">
70 <property name="text">
71 <string>Foreground Colour</string>
72 </property>
73 <property name="alignment">
74 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
75 </property>
76 <property name="buddy">
77 <cstring>fgButton</cstring>
78 </property>
79 </widget>
80 </item>
81 <item>
82 <widget class="QPushButton" name="fgButton">
83 <property name="autoFillBackground">
84 <bool>false</bool>
85 </property>
86 <property name="text">
87 <string>Click To Change</string>
88 </property>
89 </widget>
90 </item>
91 </layout>
92 </item>
93 <item>
94 <layout class="QHBoxLayout" name="horizontalLayout_2">
95 <item>
96 <widget class="QLabel" name="label_3">
97 <property name="text">
98 <string>Background Colour</string>
99 </property>
100 <property name="alignment">
101 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
102 </property>
103 <property name="buddy">
104 <cstring>bgButton</cstring>
105 </property>
106 </widget>
107 </item>
108 <item>
109 <widget class="QPushButton" name="bgButton">
110 <property name="autoFillBackground">
111 <bool>false</bool>
112 </property>
113 <property name="text">
114 <string>Click To Change</string>
115 </property>
116 </widget>
117 </item>
118 </layout>
119 </item>
120 <item>
121 <layout class="QHBoxLayout" name="horizontalLayout_9">
122 <item>
123 <widget class="QLabel" name="label_9">
124 <property name="text">
125 <string>Error Colour</string>
126 </property>
127 <property name="buddy">
128 <cstring>errorButton</cstring>
129 </property>
130 </widget>
131 </item>
132 <item>
133 <widget class="QPushButton" name="errorButton">
134 <property name="text">
135 <string>Click To Change</string>
136 </property>
137 </widget>
138 </item>
139 </layout>
140 </item>
141 </layout>
142 </widget>
143 <widget class="QWidget" name="prefsGroupsPage1">
144 <attribute name="title">
145 <string>Highlighting</string>
146 </attribute>
147 <layout class="QVBoxLayout" name="verticalLayout_3">
148 <item>
149 <layout class="QHBoxLayout" name="horizontalLayout_3">
150 <item>
151 <widget class="QLabel" name="label_4">
152 <property name="text">
153 <string>Comment</string>
154 </property>
155 <property name="alignment">
156 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
157 </property>
158 <property name="buddy">
159 <cstring>commentButton</cstring>
160 </property>
161 </widget>
162 </item>
163 <item>
164 <widget class="QPushButton" name="commentButton">
165 <property name="autoFillBackground">
166 <bool>false</bool>
167 </property>
168 <property name="text">
169 <string>Click To Change</string>
170 </property>
171 <property name="flat">
172 <bool>false</bool>
173 </property>
174 </widget>
175 </item>
176 </layout>
177 </item>
178 <item>
179 <layout class="QHBoxLayout" name="horizontalLayout_4">
180 <item>
181 <widget class="QLabel" name="label_5">
182 <property name="text">
183 <string>Escaped Character</string>
184 </property>
185 <property name="alignment">
186 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
187 </property>
188 <property name="buddy">
189 <cstring>escapedButton</cstring>
190 </property>
191 </widget>
192 </item>
193 <item>
194 <widget class="QPushButton" name="escapedButton">
195 <property name="autoFillBackground">
196 <bool>false</bool>
197 </property>
198 <property name="text">
199 <string>Click To Change</string>
200 </property>
201 </widget>
202 </item>
203 </layout>
204 </item>
205 <item>
206 <layout class="QHBoxLayout" name="horizontalLayout_5">
207 <item>
208 <widget class="QLabel" name="label_6">
209 <property name="text">
210 <string>Conditional</string>
211 </property>
212 <property name="alignment">
213 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
214 </property>
215 <property name="buddy">
216 <cstring>conditionalButton</cstring>
217 </property>
218 </widget>
219 </item>
220 <item>
221 <widget class="QPushButton" name="conditionalButton">
222 <property name="autoFillBackground">
223 <bool>false</bool>
224 </property>
225 <property name="text">
226 <string>Click To Change</string>
227 </property>
228 </widget>
229 </item>
230 </layout>
231 </item>
232 <item>
233 <layout class="QHBoxLayout" name="horizontalLayout_6">
234 <item>
235 <widget class="QLabel" name="label">
236 <property name="text">
237 <string>Tag</string>
238 </property>
239 <property name="alignment">
240 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
241 </property>
242 <property name="buddy">
243 <cstring>tagButton</cstring>
244 </property>
245 </widget>
246 </item>
247 <item>
248 <widget class="QPushButton" name="tagButton">
249 <property name="autoFillBackground">
250 <bool>false</bool>
251 </property>
252 <property name="text">
253 <string>Click To Change</string>
254 </property>
255 </widget>
256 </item>
257 </layout>
258 </item>
259 </layout>
260 </widget>
261 <widget class="QWidget" name="tab">
262 <attribute name="title">
263 <string>Rendering</string>
264 </attribute>
265 <layout class="QVBoxLayout" name="verticalLayout_4">
266 <item>
267 <widget class="QCheckBox" name="autoExpandBox">
268 <property name="text">
269 <string>Auto-Expand Parse Tree</string>
270 </property>
271 </widget>
272 </item>
273 <item>
274 <widget class="QCheckBox" name="autoHighlightBox">
275 <property name="text">
276 <string>Auto-Highlight Parse Tree</string>
277 </property>
278 </widget>
279 </item>
280 <item>
281 <layout class="QHBoxLayout" name="horizontalLayout_10">
282 <item>
283 <widget class="QLabel" name="label_10">
284 <property name="text">
285 <string>Font Path</string>
286 </property>
287 <property name="buddy">
288 <cstring>fontBox</cstring>
289 </property>
290 </widget>
291 </item>
292 <item>
293 <widget class="QLineEdit" name="fontBox"/>
294 </item>
295 <item>
296 <widget class="QPushButton" name="fontBrowseButton">
297 <property name="text">
298 <string>Browse...</string>
299 </property>
300 </widget>
301 </item>
302 </layout>
303 </item>
304 </layout>
305 </widget>
306 </widget>
307 </item>
308 <item>
309 <widget class="QDialogButtonBox" name="buttonBox">
310 <property name="orientation">
311 <enum>Qt::Horizontal</enum>
312 </property>
313 <property name="standardButtons">
314 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
315 </property>
316 </widget>
317 </item>
318 </layout>
319 </widget>
320 <resources>
321 <include location="../resources.qrc"/>
322 </resources>
323 <connections>
324 <connection>
325 <sender>buttonBox</sender>
326 <signal>accepted()</signal>
327 <receiver>PreferencesDialog</receiver>
328 <slot>accept()</slot>
329 <hints>
330 <hint type="sourcelabel">
331 <x>257</x>
332 <y>360</y>
333 </hint>
334 <hint type="destinationlabel">
335 <x>157</x>
336 <y>274</y>
337 </hint>
338 </hints>
339 </connection>
340 <connection>
341 <sender>buttonBox</sender>
342 <signal>rejected()</signal>
343 <receiver>PreferencesDialog</receiver>
344 <slot>reject()</slot>
345 <hints>
346 <hint type="sourcelabel">
347 <x>325</x>
348 <y>360</y>
349 </hint>
350 <hint type="destinationlabel">
351 <x>286</x>
352 <y>274</y>
353 </hint>
354 </hints>
355 </connection>
356 </connections>
357 </ui>