1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
|
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>DTEPStructureEditDlgS</class>
<comment>/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; version 2 of the License. *
* *
***************************************************************************/
</comment>
<author>(C) 2005 Andras Mantia <amantia@kde.org></author>
<widget class="TQWidget">
<property name="name">
<cstring>DTEPStructureEditDlgS</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>628</width>
<height>666</height>
</rect>
</property>
<property name="caption">
<string>Structure Group Editor</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel30</cstring>
</property>
<property name="text">
<string>&Name:</string>
</property>
<property name="buddy" stdset="0">
<cstring>nameEdit</cstring>
</property>
</widget>
<widget class="KLineEdit" row="0" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>nameEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>The name of the group</string>
</property>
<property name="whatsThis" stdset="0">
<string>The user visible name of the group. It will be shown in the structure tree as a top node when there are elements belonging to this group in the document.</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="4">
<property name="name">
<cstring>textLabel32</cstring>
</property>
<property name="text">
<string>&Icon:</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
<cstring>iconButton</cstring>
</property>
</widget>
<widget class="TDEIconButton" row="0" column="5" rowspan="2" colspan="1">
<property name="name">
<cstring>iconButton</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLabel" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel34</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Filen&ame definition:</string>
</property>
<property name="buddy" stdset="0">
<cstring>fileNameRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to get the filename</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression to get the filename. The expression is used to <b>remove</b> the unnecessary strings from the element's text.</string>
</property>
</widget>
<widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>hasFilename</cstring>
</property>
<property name="text">
<string>Contains a &filename</string>
</property>
<property name="toolTip" stdset="0">
<string>True if the element's text contains a filename</string>
</property>
</widget>
<widget class="KLineEdit" row="5" column="2" rowspan="1" colspan="4">
<property name="name">
<cstring>fileNameRxEdit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to get the filename</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression to get the filename. The expression is used to <b>remove</b> the unnecessary strings from the element's text.</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel33</cstring>
</property>
<property name="text">
<string>&Tag:</string>
</property>
<property name="buddy" stdset="0">
<cstring>tagEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Elements identified by this entry will belong to this group</string>
</property>
<property name="whatsThis" stdset="0">
<string>Defines which tags belong to this group. The format is <i>tagname(attribute1, attribute2, ...)</i>. Tags with name <i>tagname</i> will appear under this group. The item text of the corresponding node in the tree will be <i>attribute1_value | attribute2_value | ...</i>Currently only one tag may be listed here.</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel31</cstring>
</property>
<property name="text">
<string>"No" na&me:</string>
</property>
<property name="buddy" stdset="0">
<cstring>noNameEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>The name that appears when no element were found</string>
</property>
<property name="whatsThis" stdset="0">
<string>The user visible name of the group. It will be shown in the structure tree as a top node when there are <b>no</b> elements belonging to this group in the document.</string>
</property>
</widget>
<widget class="KLineEdit" row="2" column="1" rowspan="1" colspan="5">
<property name="name">
<cstring>noNameEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>The name that appears when no element were found</string>
</property>
<property name="whatsThis" stdset="0">
<string>The user visible name of the group. It will be shown in the structure tree as a top node when there are <b>no</b> elements belonging to this group in the document.</string>
</property>
</widget>
<widget class="KLineEdit" row="3" column="1" rowspan="1" colspan="5">
<property name="name">
<cstring>tagEdit</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Elements ideintified by this entry will belong to this group</string>
</property>
<property name="whatsThis" stdset="0">
<string>Defines which tags belong to this group. The format is <i>tagname(attribute1, attribute2, ...)</i>. Tags with name <i>tagname</i> will appear under this group. The item text of the corresponding node in the tree will be <i>attribute1_value | attribute2_value | ...</i>Currently only one tag may be listed here.</string>
</property>
</widget>
<spacer row="1" column="3">
<property name="name">
<cstring>spacer6</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox" row="6" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>appendToTags</cstring>
</property>
<property name="text">
<string>Use elements as tags</string>
</property>
<property name="toolTip" stdset="0">
<string>Treat elements as new tags</string>
</property>
<property name="whatsThis" stdset="0">
<string>Treat elements as new tags, so they will show up during tag autocompletion.</string>
</property>
</widget>
<widget class="TQGroupBox" row="7" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>pseudoGroupBox</cstring>
</property>
<property name="title">
<string>&Pseudo DTEP Specific Settings</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KLineEdit" row="4" column="1" rowspan="1" colspan="4">
<property name="name">
<cstring>typeRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to find the type of the element</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression to find the type of the element. The pattern is searched on the result of the <i>DefinitionRx</i> match and the first captured area will hold the element type.<br>
Example (simplified):<br>
<b>DefinitionRx=\$+([a-zA-Z]+)=new\\s[a-zA-Z]+;<br>
TypeRx=new\\s([a-zA-Z]+);</b><br><br>
This will match strings like <b>$fooObj=new foo;</b>. Now this string is searched and it will find <b>new foo;</b>, where <b>foo</b> is the first captured text (the regular expression matching <b>foo</b> is between brackets).<br>
So the type of <b>$fooObj</b> is <b>foo</b>.</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel36</cstring>
</property>
<property name="text">
<string>&Usage expression:</string>
</property>
<property name="buddy" stdset="0">
<cstring>usageRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to find the usage of a group element</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression to find the usage of a group element in the document.<br>
Example 1:<br>
- classes are defined as <b>class foo {...}</b><br>
- classes are used as <b>$objFoo</b><br><br>
Example 2:<br>
- variables are defined as <b>int i</b><br>
- variables are used as <b>@i</b><br><br>
Example 3:<br>
- variables are defined as <b>$i</b><br>
- variables are used as <b>$i</b>. In this case <i>UsageRx </i>is the same as <i>DefinitionRx</i>.</string>
</property>
</widget>
<widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel37</cstring>
</property>
<property name="text">
<string>Element t&ype expression:</string>
</property>
<property name="buddy" stdset="0">
<cstring>typeRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to find the type of the element</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression to find the type of the element. The pattern is searched on the result of the <i>DefinitionRx</i> match and the first captured area will hold the element type.<br>
Example (simplified):<br>
<b>DefinitionRx=\$+([a-zA-Z]+)=new\\s[a-zA-Z]+;<br>
TypeRx=new\\s([a-zA-Z]+);</b><br><br>
This will match strings like <b>$fooObj=new foo;</b>. Now this string is searched and it will find <b>new foo;</b>, where <b>foo</b> is the first captured text (the regular expression matching <b>foo</b> is between brackets).<br>
So the type of <b>$fooObj</b> is <b>foo</b>.</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel35</cstring>
</property>
<property name="text">
<string>Definition e&xpression:</string>
</property>
<property name="buddy" stdset="0">
<cstring>definitionRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to find what belong to this group</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression used to find text areas in the document, which will belong to this group. The first captured area shouldbe the actual name of the group entry.<br>
Example for a <i>class</i> group:<br>
<b>\bclass[\\s]+([0-9a-zA-Z_\x7f-\xff]*)[\\s]*</b><br>
The first captured area (between "<b>(</b>" and "<b>)</b>") holds the class name.</string>
</property>
</widget>
<widget class="KLineEdit" row="3" column="1" rowspan="1" colspan="4">
<property name="name">
<cstring>usageRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to find the usage of a group element</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression to find the usage of a group element in the document.<br>
Example 1:<br>
- classes are defined as <b>class foo {...}</b><br>
- classes are used as <b>$objFoo</b><br><br>
Example 2:<br>
- variables are defined as <b>int i</b><br>
- variables are used as <b>@i</b><br><br>
Example 3:<br>
- variables are defined as <b>$i</b><br>
- variables are used as <b>$i</b>. In this case <i>UsageRx </i>is the same as <i>DefinitionRx</i>.</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel41</cstring>
</property>
<property name="text">
<string>Parent group:</string>
</property>
<property name="toolTip" stdset="0">
<string>The name of the group that may be the parent of this</string>
</property>
<property name="whatsThis" stdset="0">
<string>The name of the group that may be the parent of this. For example <b>classes</b> might be a parent of <b>functions</b> in case of member functions. This entry indicates this possible relationship and is used to provide functionality like member autocompletion.</string>
</property>
</widget>
<widget class="KLineEdit" row="0" column="1" rowspan="1" colspan="4">
<property name="name">
<cstring>parentGroupEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>The name of the group that may be the parent of this</string>
</property>
<property name="whatsThis" stdset="0">
<string>The name of the group that may be the parent of this. For example <b>classes</b> might be a parent of <b>functions</b> in case of member functions. This entry indicates this possible relationship and is used to provide functionality like member autocompletion.</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel42</cstring>
</property>
<property name="text">
<string>Searched tags:</string>
</property>
<property name="toolTip" stdset="0">
<string>Only tags of this type can be part of the group</string>
</property>
</widget>
<widget class="TQLabel" row="6" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel44</cstring>
</property>
<property name="text">
<string>Remove when autocompleting:</string>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression used to remove unwanted strings from the completion text</string>
</property>
</widget>
<widget class="TQLabel" row="5" column="0">
<property name="name">
<cstring>textLabel43</cstring>
</property>
<property name="text">
<string>Autocomplete after:</string>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to tell when to bring up the completion box with the elements of this group</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression to tell when to bring up the completion box with the elements of this group.<br>
Example:<b>\bnew[\\s]+$</b> tells that after typing <b>new&nbsp;</b>, the completion box with the elements should be shown.</string>
</property>
</widget>
<widget class="KLineEdit" row="5" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>autoCompleteRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to tell when to bring up the completion box with the elements of this group</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression to tell when to bring up the completion box with the elements of this group.<br>
Example:<b>\bnew[\\s]+$</b> tells that after typing <b>new&nbsp;</b>, the completion box with the elements should be shown.</string>
</property>
</widget>
<widget class="KLineEdit" row="6" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>removeRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression used to remove unwanted strings from the completion text</string>
</property>
</widget>
<widget class="KComboBox" row="1" column="1" rowspan="1" colspan="2">
<item>
<property name="text">
<string>Text</string>
</property>
</item>
<item>
<property name="text">
<string>XmlTag</string>
</property>
</item>
<item>
<property name="text">
<string>XmlTagEnd</string>
</property>
</item>
<item>
<property name="text">
<string>Comment</string>
</property>
</item>
<item>
<property name="text">
<string>CSS</string>
</property>
</item>
<item>
<property name="text">
<string>ScriptTag</string>
</property>
</item>
<item>
<property name="text">
<string>ScriptStructureBegin</string>
</property>
</item>
<item>
<property name="text">
<string>ScriptStructureEnd</string>
</property>
</item>
<property name="name">
<cstring>tagTypeCombo</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Only tags of this type can be part of the group</string>
</property>
</widget>
<spacer row="1" column="3" rowspan="1" colspan="2">
<property name="name">
<cstring>spacer13</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>340</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox" row="7" column="0">
<property name="name">
<cstring>parseFile</cstring>
</property>
<property name="text">
<string>Parse file</string>
</property>
<property name="toolTip" stdset="0">
<string>Check if the filename that is in the elements text should be parsed</string>
</property>
<property name="whatsThis" stdset="0">
<string>Check if the filename that is in the elements text should be parsed. This makes sense only if the element may contain a filename and the <i>FileNameRx</i> is specified.</string>
</property>
</widget>
<widget class="TQButtonGroup" row="8" column="0" rowspan="1" colspan="5">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
<property name="title">
<string>Type</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>simpleGroup</cstring>
</property>
<property name="text">
<string>Simple</string>
</property>
<property name="toolTip" stdset="0">
<string>This is a simple group, nothing special</string>
</property>
</widget>
<widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>variableGroup</cstring>
</property>
<property name="text">
<string>Variable group</string>
</property>
<property name="toolTip" stdset="0">
<string>The group's elements are variables</string>
</property>
</widget>
<widget class="TQRadioButton" row="0" column="1">
<property name="name">
<cstring>functionGroup</cstring>
</property>
<property name="text">
<string>Function group</string>
</property>
<property name="toolTip" stdset="0">
<string>The group's elements are functions</string>
</property>
</widget>
<widget class="TQRadioButton" row="1" column="1">
<property name="name">
<cstring>classGroup</cstring>
</property>
<property name="text">
<string>Class group</string>
</property>
<property name="toolTip" stdset="0">
<string>The group's elements are classes</string>
</property>
</widget>
<widget class="TQRadioButton" row="0" column="2">
<property name="name">
<cstring>objectGroup</cstring>
</property>
<property name="text">
<string>Ob&ject group</string>
</property>
<property name="toolTip" stdset="0">
<string>The group's elements are objects</string>
</property>
</widget>
</grid>
</widget>
<widget class="KLineEdit" row="2" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>definitionRxEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Regular expression to find what belong to this group</string>
</property>
<property name="whatsThis" stdset="0">
<string>Regular expression used to find text areas in the document, which will belong to this group. The first captured area shouldbe the actual name of the group entry.<br>
Example for a <i>class</i> group:<br>
<b>\bclass[\\s]+([0-9a-zA-Z_\x7f-\xff]*)[\\s]*</b><br>
The first captured area (between "<b>(</b>" and "<b>)</b>") holds the class name.</string>
</property>
</widget>
<widget class="TQCheckBox" row="2" column="4">
<property name="name">
<cstring>definitionRxMinimal</cstring>
</property>
<property name="text">
<string>Minimal search mode</string>
</property>
<property name="toolTip" stdset="0">
<string>Enable to use the minimal style search for definition instead of the standard (greedy) matching</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<customwidgets>
</customwidgets>
<connections>
<connection>
<sender>hasFilename</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel34</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>hasFilename</sender>
<signal>toggled(bool)</signal>
<receiver>fileNameRxEdit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<tabstops>
<tabstop>nameEdit</tabstop>
<tabstop>iconButton</tabstop>
<tabstop>noNameEdit</tabstop>
<tabstop>tagEdit</tabstop>
<tabstop>hasFilename</tabstop>
<tabstop>fileNameRxEdit</tabstop>
<tabstop>appendToTags</tabstop>
<tabstop>parentGroupEdit</tabstop>
<tabstop>tagTypeCombo</tabstop>
<tabstop>definitionRxEdit</tabstop>
<tabstop>definitionRxMinimal</tabstop>
<tabstop>usageRxEdit</tabstop>
<tabstop>typeRxEdit</tabstop>
<tabstop>autoCompleteRxEdit</tabstop>
<tabstop>removeRxEdit</tabstop>
<tabstop>parseFile</tabstop>
<tabstop>simpleGroup</tabstop>
<tabstop>functionGroup</tabstop>
<tabstop>objectGroup</tabstop>
<tabstop>variableGroup</tabstop>
<tabstop>classGroup</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kicondialog.h</include>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">kcombobox.h</include>
</includes>
</UI>
|