|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>EditorHighlightingStylesPage</class> |
|
4 <widget class="QWidget" name="EditorHighlightingStylesPage"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>550</width> |
|
10 <height>700</height> |
|
11 </rect> |
|
12 </property> |
|
13 <layout class="QVBoxLayout" name="verticalLayout"> |
|
14 <item> |
|
15 <widget class="QLabel" name="headerLabel"> |
|
16 <property name="text"> |
|
17 <string><b>Configure syntax highlighting</b></string> |
|
18 </property> |
|
19 </widget> |
|
20 </item> |
|
21 <item> |
|
22 <widget class="Line" name="line1"> |
|
23 <property name="frameShape"> |
|
24 <enum>QFrame::HLine</enum> |
|
25 </property> |
|
26 <property name="frameShadow"> |
|
27 <enum>QFrame::Sunken</enum> |
|
28 </property> |
|
29 <property name="orientation"> |
|
30 <enum>Qt::Horizontal</enum> |
|
31 </property> |
|
32 </widget> |
|
33 </item> |
|
34 <item> |
|
35 <layout class="QHBoxLayout"> |
|
36 <item> |
|
37 <widget class="QLabel" name="TextLabel1_3"> |
|
38 <property name="toolTip"> |
|
39 <string/> |
|
40 </property> |
|
41 <property name="text"> |
|
42 <string>Lexer Language:</string> |
|
43 </property> |
|
44 <property name="buddy"> |
|
45 <cstring></cstring> |
|
46 </property> |
|
47 </widget> |
|
48 </item> |
|
49 <item> |
|
50 <widget class="QComboBox" name="lexerLanguageComboBox"> |
|
51 <property name="sizePolicy"> |
|
52 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
53 <horstretch>0</horstretch> |
|
54 <verstretch>0</verstretch> |
|
55 </sizepolicy> |
|
56 </property> |
|
57 <property name="toolTip"> |
|
58 <string>Select the lexer language to be configured.</string> |
|
59 </property> |
|
60 </widget> |
|
61 </item> |
|
62 </layout> |
|
63 </item> |
|
64 <item> |
|
65 <widget class="QGroupBox" name="styleGroup"> |
|
66 <property name="title"> |
|
67 <string>Style Element</string> |
|
68 </property> |
|
69 <layout class="QGridLayout" name="gridLayout"> |
|
70 <item row="0" column="0"> |
|
71 <widget class="QTreeWidget" name="styleElementList"> |
|
72 <property name="sizePolicy"> |
|
73 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
|
74 <horstretch>2</horstretch> |
|
75 <verstretch>0</verstretch> |
|
76 </sizepolicy> |
|
77 </property> |
|
78 <property name="selectionMode"> |
|
79 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
80 </property> |
|
81 <property name="rootIsDecorated"> |
|
82 <bool>false</bool> |
|
83 </property> |
|
84 <property name="itemsExpandable"> |
|
85 <bool>false</bool> |
|
86 </property> |
|
87 <property name="headerHidden"> |
|
88 <bool>true</bool> |
|
89 </property> |
|
90 <column> |
|
91 <property name="text"> |
|
92 <string notr="true">1</string> |
|
93 </property> |
|
94 </column> |
|
95 </widget> |
|
96 </item> |
|
97 <item row="0" column="1"> |
|
98 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
99 <item> |
|
100 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
101 <item> |
|
102 <spacer name="horizontalSpacer"> |
|
103 <property name="orientation"> |
|
104 <enum>Qt::Horizontal</enum> |
|
105 </property> |
|
106 <property name="sizeHint" stdset="0"> |
|
107 <size> |
|
108 <width>13</width> |
|
109 <height>20</height> |
|
110 </size> |
|
111 </property> |
|
112 </spacer> |
|
113 </item> |
|
114 <item> |
|
115 <widget class="QToolButton" name="defaultSubstylesButton"> |
|
116 <property name="toolTip"> |
|
117 <string>Press to set all sub-styles to default values</string> |
|
118 </property> |
|
119 </widget> |
|
120 </item> |
|
121 <item> |
|
122 <widget class="QToolButton" name="addSubstyleButton"> |
|
123 <property name="toolTip"> |
|
124 <string>Press to add a sub-style to the selected style</string> |
|
125 </property> |
|
126 </widget> |
|
127 </item> |
|
128 <item> |
|
129 <widget class="QToolButton" name="deleteSubstyleButton"> |
|
130 <property name="toolTip"> |
|
131 <string>Press to to delete the selected sub-style</string> |
|
132 </property> |
|
133 </widget> |
|
134 </item> |
|
135 <item> |
|
136 <widget class="QToolButton" name="editSubstyleButton"> |
|
137 <property name="toolTip"> |
|
138 <string>Press to edit the selected sub-style</string> |
|
139 </property> |
|
140 </widget> |
|
141 </item> |
|
142 <item> |
|
143 <widget class="QToolButton" name="copySubstyleButton"> |
|
144 <property name="toolTip"> |
|
145 <string>Press to copy the selected sub-style</string> |
|
146 </property> |
|
147 </widget> |
|
148 </item> |
|
149 <item> |
|
150 <spacer name="horizontalSpacer_2"> |
|
151 <property name="orientation"> |
|
152 <enum>Qt::Horizontal</enum> |
|
153 </property> |
|
154 <property name="sizeHint" stdset="0"> |
|
155 <size> |
|
156 <width>13</width> |
|
157 <height>20</height> |
|
158 </size> |
|
159 </property> |
|
160 </spacer> |
|
161 </item> |
|
162 </layout> |
|
163 </item> |
|
164 <item> |
|
165 <widget class="Line" name="line_3"> |
|
166 <property name="orientation"> |
|
167 <enum>Qt::Horizontal</enum> |
|
168 </property> |
|
169 </widget> |
|
170 </item> |
|
171 <item> |
|
172 <widget class="QPushButton" name="foregroundButton"> |
|
173 <property name="toolTip"> |
|
174 <string>Select the foreground colour.</string> |
|
175 </property> |
|
176 <property name="text"> |
|
177 <string>Foreground Colour</string> |
|
178 </property> |
|
179 </widget> |
|
180 </item> |
|
181 <item> |
|
182 <widget class="QPushButton" name="backgroundButton"> |
|
183 <property name="toolTip"> |
|
184 <string>Select the background colour.</string> |
|
185 </property> |
|
186 <property name="text"> |
|
187 <string>Background Colour</string> |
|
188 </property> |
|
189 </widget> |
|
190 </item> |
|
191 <item> |
|
192 <widget class="QPushButton" name="fontButton"> |
|
193 <property name="toolTip"> |
|
194 <string>Select the font.</string> |
|
195 </property> |
|
196 <property name="text"> |
|
197 <string>Font</string> |
|
198 </property> |
|
199 </widget> |
|
200 </item> |
|
201 <item> |
|
202 <widget class="QCheckBox" name="eolfillCheckBox"> |
|
203 <property name="toolTip"> |
|
204 <string>Select end of line fill.</string> |
|
205 </property> |
|
206 <property name="text"> |
|
207 <string>Fill to end of line</string> |
|
208 </property> |
|
209 </widget> |
|
210 </item> |
|
211 <item> |
|
212 <widget class="Line" name="line"> |
|
213 <property name="orientation"> |
|
214 <enum>Qt::Horizontal</enum> |
|
215 </property> |
|
216 </widget> |
|
217 </item> |
|
218 <item> |
|
219 <widget class="QPushButton" name="defaultButton"> |
|
220 <property name="toolTip"> |
|
221 <string>Press to set the current style to its default values</string> |
|
222 </property> |
|
223 <property name="text"> |
|
224 <string>to Default</string> |
|
225 </property> |
|
226 </widget> |
|
227 </item> |
|
228 <item> |
|
229 <spacer name="spacer"> |
|
230 <property name="orientation"> |
|
231 <enum>Qt::Vertical</enum> |
|
232 </property> |
|
233 <property name="sizeHint" stdset="0"> |
|
234 <size> |
|
235 <width>20</width> |
|
236 <height>43</height> |
|
237 </size> |
|
238 </property> |
|
239 </spacer> |
|
240 </item> |
|
241 <item> |
|
242 <widget class="QPushButton" name="monospacedButton"> |
|
243 <property name="toolTip"> |
|
244 <string>Press to show only monospaced fonts</string> |
|
245 </property> |
|
246 <property name="text"> |
|
247 <string>Monospaced Fonts Only</string> |
|
248 </property> |
|
249 <property name="checkable"> |
|
250 <bool>true</bool> |
|
251 </property> |
|
252 <property name="checked"> |
|
253 <bool>true</bool> |
|
254 </property> |
|
255 </widget> |
|
256 </item> |
|
257 <item> |
|
258 <spacer> |
|
259 <property name="orientation"> |
|
260 <enum>Qt::Vertical</enum> |
|
261 </property> |
|
262 <property name="sizeHint" stdset="0"> |
|
263 <size> |
|
264 <width>20</width> |
|
265 <height>38</height> |
|
266 </size> |
|
267 </property> |
|
268 </spacer> |
|
269 </item> |
|
270 <item> |
|
271 <widget class="QPushButton" name="allBackgroundColoursButton"> |
|
272 <property name="toolTip"> |
|
273 <string>Select the background colour for all styles</string> |
|
274 </property> |
|
275 <property name="text"> |
|
276 <string>All Background Colours</string> |
|
277 </property> |
|
278 </widget> |
|
279 </item> |
|
280 <item> |
|
281 <widget class="QPushButton" name="allFontsButton"> |
|
282 <property name="toolTip"> |
|
283 <string>Select the font for all styles.</string> |
|
284 </property> |
|
285 <property name="text"> |
|
286 <string>All Fonts</string> |
|
287 </property> |
|
288 </widget> |
|
289 </item> |
|
290 <item> |
|
291 <widget class="QPushButton" name="allEolFillButton"> |
|
292 <property name="toolTip"> |
|
293 <string>Select the eol fill for all styles</string> |
|
294 </property> |
|
295 <property name="text"> |
|
296 <string>All Fill to end of line</string> |
|
297 </property> |
|
298 </widget> |
|
299 </item> |
|
300 <item> |
|
301 <widget class="Line" name="line_2"> |
|
302 <property name="orientation"> |
|
303 <enum>Qt::Horizontal</enum> |
|
304 </property> |
|
305 </widget> |
|
306 </item> |
|
307 <item> |
|
308 <widget class="QPushButton" name="allDefaultButton"> |
|
309 <property name="toolTip"> |
|
310 <string>Press to set all styles to their default values</string> |
|
311 </property> |
|
312 <property name="text"> |
|
313 <string>All to Default</string> |
|
314 </property> |
|
315 </widget> |
|
316 </item> |
|
317 </layout> |
|
318 </item> |
|
319 <item row="1" column="0" colspan="2"> |
|
320 <widget class="QLineEdit" name="sampleText"> |
|
321 <property name="focusPolicy"> |
|
322 <enum>Qt::NoFocus</enum> |
|
323 </property> |
|
324 <property name="text"> |
|
325 <string>Sample Text</string> |
|
326 </property> |
|
327 <property name="alignment"> |
|
328 <set>Qt::AlignHCenter</set> |
|
329 </property> |
|
330 <property name="readOnly"> |
|
331 <bool>true</bool> |
|
332 </property> |
|
333 </widget> |
|
334 </item> |
|
335 <item row="2" column="0" colspan="2"> |
|
336 <widget class="QLabel" name="label"> |
|
337 <property name="text"> |
|
338 <string><b>Note:</b> The tick in the list above indicates the entrie's 'fill to end of line' setting.</string> |
|
339 </property> |
|
340 <property name="wordWrap"> |
|
341 <bool>true</bool> |
|
342 </property> |
|
343 </widget> |
|
344 </item> |
|
345 </layout> |
|
346 </widget> |
|
347 </item> |
|
348 <item> |
|
349 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
350 <item> |
|
351 <widget class="QPushButton" name="importCurrentButton"> |
|
352 <property name="enabled"> |
|
353 <bool>false</bool> |
|
354 </property> |
|
355 <property name="toolTip"> |
|
356 <string>Imports all styles of the currently selected language</string> |
|
357 </property> |
|
358 <property name="text"> |
|
359 <string>Import styles</string> |
|
360 </property> |
|
361 </widget> |
|
362 </item> |
|
363 <item> |
|
364 <widget class="QPushButton" name="exportCurrentButton"> |
|
365 <property name="enabled"> |
|
366 <bool>false</bool> |
|
367 </property> |
|
368 <property name="toolTip"> |
|
369 <string>Exports all styles of the currently selected language</string> |
|
370 </property> |
|
371 <property name="text"> |
|
372 <string>Export styles</string> |
|
373 </property> |
|
374 </widget> |
|
375 </item> |
|
376 <item> |
|
377 <widget class="QPushButton" name="importAllButton"> |
|
378 <property name="toolTip"> |
|
379 <string>Imports all styles of all languages</string> |
|
380 </property> |
|
381 <property name="text"> |
|
382 <string>Import all styles</string> |
|
383 </property> |
|
384 </widget> |
|
385 </item> |
|
386 <item> |
|
387 <widget class="QPushButton" name="exportAllButton"> |
|
388 <property name="toolTip"> |
|
389 <string>Exports all styles of all languages</string> |
|
390 </property> |
|
391 <property name="text"> |
|
392 <string>Export all styles</string> |
|
393 </property> |
|
394 </widget> |
|
395 </item> |
|
396 </layout> |
|
397 </item> |
|
398 </layout> |
|
399 </widget> |
|
400 <tabstops> |
|
401 <tabstop>lexerLanguageComboBox</tabstop> |
|
402 <tabstop>styleElementList</tabstop> |
|
403 <tabstop>defaultSubstylesButton</tabstop> |
|
404 <tabstop>addSubstyleButton</tabstop> |
|
405 <tabstop>deleteSubstyleButton</tabstop> |
|
406 <tabstop>editSubstyleButton</tabstop> |
|
407 <tabstop>copySubstyleButton</tabstop> |
|
408 <tabstop>foregroundButton</tabstop> |
|
409 <tabstop>backgroundButton</tabstop> |
|
410 <tabstop>fontButton</tabstop> |
|
411 <tabstop>eolfillCheckBox</tabstop> |
|
412 <tabstop>defaultButton</tabstop> |
|
413 <tabstop>monospacedButton</tabstop> |
|
414 <tabstop>allBackgroundColoursButton</tabstop> |
|
415 <tabstop>allFontsButton</tabstop> |
|
416 <tabstop>allEolFillButton</tabstop> |
|
417 <tabstop>allDefaultButton</tabstop> |
|
418 <tabstop>importCurrentButton</tabstop> |
|
419 <tabstop>exportCurrentButton</tabstop> |
|
420 <tabstop>importAllButton</tabstop> |
|
421 <tabstop>exportAllButton</tabstop> |
|
422 </tabstops> |
|
423 <resources/> |
|
424 <connections/> |
|
425 </ui> |