-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPXMLForm.dfm
More file actions
454 lines (454 loc) · 11 KB
/
PXMLForm.dfm
File metadata and controls
454 lines (454 loc) · 11 KB
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
object frmPXML: TfrmPXML
Left = 248
Top = 276
Caption = 'PXML'
ClientHeight = 533
ClientWidth = 404
Color = clBtnFace
Constraints.MinHeight = 300
Constraints.MinWidth = 420
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
OldCreateOrder = False
Position = poDesigned
OnClose = FormClose
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object sptHor: TSplitter
Left = 158
Top = 0
Height = 397
AutoSnap = False
Beveled = True
ResizeStyle = rsUpdate
ExplicitLeft = 160
ExplicitTop = -4
ExplicitHeight = 377
end
object sptVert: TSplitter
Left = 0
Top = 397
Width = 404
Height = 3
Cursor = crVSplit
Align = alBottom
AutoSnap = False
Beveled = True
ResizeStyle = rsUpdate
ExplicitTop = 0
end
object pnlButtons: TPanel
Left = 0
Top = 500
Width = 404
Height = 33
Align = alBottom
BevelEdges = [beTop]
BevelKind = bkTile
BevelOuter = bvNone
TabOrder = 3
object btnCancel: TButton
AlignWithMargins = True
Left = 325
Top = 4
Width = 75
Height = 23
Margins.Left = 0
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alRight
Caption = 'Cancel'
TabOrder = 1
OnClick = btnCancelClick
end
object btnOK: TButton
AlignWithMargins = True
Left = 246
Top = 4
Width = 75
Height = 23
Margins.Left = 0
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alRight
Caption = 'OK'
TabOrder = 0
OnClick = btnOKClick
end
end
object pnlData: TPanel
Left = 161
Top = 0
Width = 243
Height = 397
Align = alClient
BevelOuter = bvNone
Constraints.MinWidth = 200
TabOrder = 1
object scbValues: TScrollBox
AlignWithMargins = True
Left = 4
Top = 4
Width = 235
Height = 391
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 2
HorzScrollBar.Visible = False
VertScrollBar.Smooth = True
VertScrollBar.Tracking = True
Align = alClient
BevelInner = bvNone
BevelOuter = bvNone
TabOrder = 0
object pnlValueParent: TPanel
Left = 0
Top = 0
Width = 231
Height = 177
Align = alTop
AutoSize = True
BevelOuter = bvNone
TabOrder = 0
object lblValue: TLabel
AlignWithMargins = True
Left = 3
Top = 3
Width = 225
Height = 19
Align = alTop
Alignment = taCenter
Caption = 'Value'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
ExplicitWidth = 39
end
object lblNoValue: TLabel
AlignWithMargins = True
Left = 3
Top = 28
Width = 225
Height = 13
Align = alTop
Alignment = taCenter
Caption = 'no value for this element'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsItalic]
ParentFont = False
ExplicitWidth = 119
end
object pnlValue: TPanel
AlignWithMargins = True
Left = 3
Top = 47
Width = 225
Height = 21
Align = alTop
BevelOuter = bvNone
TabOrder = 0
Visible = False
object edtValue: TEdit
Left = 0
Top = 0
Width = 225
Height = 21
Align = alClient
TabOrder = 0
end
end
object pnlValueText: TPanel
AlignWithMargins = True
Left = 3
Top = 74
Width = 225
Height = 100
Align = alTop
BevelOuter = bvNone
TabOrder = 1
object memValue: TMemo
Left = 0
Top = 0
Width = 225
Height = 100
Align = alClient
ScrollBars = ssVertical
TabOrder = 0
end
end
end
object pnlAttrParent: TPanel
Left = 0
Top = 177
Width = 231
Height = 44
Align = alTop
AutoSize = True
BevelOuter = bvNone
TabOrder = 1
object lblAttr: TLabel
AlignWithMargins = True
Left = 3
Top = 3
Width = 225
Height = 19
Align = alTop
Alignment = taCenter
Caption = 'Attributes'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
ExplicitWidth = 69
end
object lblNoAttr: TLabel
AlignWithMargins = True
Left = 3
Top = 28
Width = 225
Height = 13
Align = alTop
Alignment = taCenter
Caption = 'no attributes for this element'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsItalic]
ParentFont = False
ExplicitWidth = 140
end
end
object pnlDescrParent: TPanel
Left = 0
Top = 221
Width = 231
Height = 166
Align = alClient
BevelOuter = bvNone
TabOrder = 2
object lblDescription: TLabel
AlignWithMargins = True
Left = 3
Top = 3
Width = 225
Height = 19
Align = alTop
Alignment = taCenter
Caption = 'Description'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
ExplicitWidth = 79
end
object redDescription: TRichEdit
Left = 0
Top = 25
Width = 231
Height = 141
Align = alClient
BevelInner = bvNone
BevelOuter = bvNone
BorderStyle = bsNone
Color = clBtnFace
Constraints.MinHeight = 100
Lines.Strings = (
'no description available for this element')
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 0
end
end
end
end
object pnlTree: TPanel
Left = 0
Top = 0
Width = 158
Height = 397
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 2
Align = alLeft
BevelOuter = bvNone
Constraints.MaxWidth = 300
Constraints.MinWidth = 100
TabOrder = 0
object vstPXML: TVirtualStringTree
AlignWithMargins = True
Left = 4
Top = 4
Width = 150
Height = 391
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 2
Align = alClient
DragOperations = [doMove]
DragType = dtVCL
Header.AutoSizeIndex = 0
Header.Font.Charset = DEFAULT_CHARSET
Header.Font.Color = clWindowText
Header.Font.Height = -11
Header.Font.Name = 'Tahoma'
Header.Font.Style = []
Header.Options = [hoAutoResize, hoColumnResize, hoDrag]
Header.SortColumn = 0
LineStyle = lsSolid
ParentShowHint = False
ShowHint = False
TabOrder = 0
TreeOptions.AutoOptions = [toAutoDropExpand, toAutoScroll, toAutoScrollOnExpand, toAutoTristateTracking, toAutoDeleteMovedNodes]
TreeOptions.PaintOptions = [toShowButtons, toShowDropmark, toShowHorzGridLines, toShowRoot, toShowTreeLines, toShowVertGridLines, toThemeAware, toFullVertGridLines]
TreeOptions.SelectionOptions = [toFullRowSelect]
OnChange = vstPXMLChange
OnGetText = vstPXMLGetText
OnKeyDown = vstPXMLKeyDown
OnMouseUp = vstPXMLMouseUp
Columns = <
item
Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coVisible, coAllowFocus]
Position = 0
Width = 146
WideText = 'Key'
end>
end
end
object pnlElements: TPanel
Left = 0
Top = 400
Width = 404
Height = 100
Align = alBottom
BevelOuter = bvNone
Constraints.MinHeight = 48
TabOrder = 2
object bugElements: TButtonGroup
AlignWithMargins = True
Left = 4
Top = 24
Width = 396
Height = 72
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alClient
BevelInner = bvNone
BevelOuter = bvNone
BorderStyle = bsNone
ButtonWidth = 75
Items = <>
TabOrder = 1
OnButtonClicked = bugElementsButtonClicked
end
object pnlFilter: TPanel
Left = 0
Top = 0
Width = 404
Height = 20
Align = alTop
BevelOuter = bvNone
TabOrder = 0
object lblFilter: TLabel
AlignWithMargins = True
Left = 6
Top = 2
Width = 89
Height = 14
Margins.Left = 6
Margins.Top = 2
Margins.Right = 4
Margins.Bottom = 4
Align = alLeft
Caption = 'Filter elements by:'
ExplicitHeight = 13
end
object rabSelection: TRadioButton
AlignWithMargins = True
Left = 103
Top = 0
Width = 75
Height = 20
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
Align = alLeft
Caption = 'Selection'
Checked = True
TabOrder = 0
TabStop = True
OnClick = rabSelectionClick
end
object rabPackage: TRadioButton
AlignWithMargins = True
Left = 186
Top = 0
Width = 75
Height = 20
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
Align = alLeft
Caption = 'Package'
TabOrder = 1
OnClick = rabSelectionClick
end
object rabApplication: TRadioButton
AlignWithMargins = True
Left = 269
Top = 0
Width = 75
Height = 20
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
Align = alLeft
Caption = 'Application'
TabOrder = 2
OnClick = rabSelectionClick
end
end
end
object sadPXML: TSaveDialog
FileName = 'PXML.xml'
Filter = 'PXML-file|PXML.xml;pxml.xml|Any file|*'
Options = [ofOverwritePrompt, ofHideReadOnly, ofPathMustExist, ofCreatePrompt, ofEnableSizing]
Title = 'Save PXML file as'
Left = 120
Top = 24
end
object pomPXML: TPopupMenu
Left = 120
Top = 56
object pomPXMLDelete: TMenuItem
Caption = 'Delete'
OnClick = pomPXMLDeleteClick
end
end
end