-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathdialog_with_timer.lfm
509 lines (509 loc) · 12.3 KB
/
dialog_with_timer.lfm
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
object DialogBox: TDialogBox
Left = 303
Height = 329
Top = 158
Width = 570
AutoSize = True
BorderStyle = bsDialog
Caption = 'Properties'
ChildSizing.LeftRightSpacing = 10
ChildSizing.TopBottomSpacing = 10
ClientHeight = 329
ClientWidth = 570
DesignTimePPI = 100
OnShow = DialogBoxShow
Position = poOwnerFormCenter
LCLVersion = '2.2.4.0'
object lblPid: TLabel
AnchorSideLeft.Control = lblState
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edPid
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = edPid
Left = 423
Height = 17
Top = 24
Width = 29
Anchors = [akTop, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 5
Caption = 'PID:'
ParentColor = False
end
object lblName: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = edName
AnchorSideTop.Side = asrCenter
Left = 10
Height = 17
Top = 24
Width = 46
Caption = 'Name:'
ParentColor = False
end
object btnClose: TBitBtn
AnchorSideTop.Control = edPpid
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = edPid
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 433
Height = 29
Top = 276
Width = 130
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Top = 26
BorderSpacing.Bottom = 10
Cancel = True
Constraints.MinWidth = 130
DefaultCaption = True
Kind = bkClose
OnClick = ButtonClick
TabOrder = 0
end
object edPid: TEdit
AnchorSideLeft.Control = lblPid
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edName
AnchorSideRight.Control = edVmPeak
AnchorSideRight.Side = asrBottom
Left = 457
Height = 23
Top = 21
Width = 106
Anchors = [akTop, akRight]
BorderSpacing.Left = 5
ReadOnly = True
TabOrder = 2
Text = 'N/A'
end
object edName: TEdit
AnchorSideLeft.Control = lblName
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Owner
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 61
Height = 23
Top = 21
Width = 206
BorderSpacing.Left = 5
BorderSpacing.Top = 21
BorderSpacing.Right = 10
ReadOnly = True
TabOrder = 1
Text = 'N/A'
end
object edPpid: TEdit
AnchorSideLeft.Control = edPid
AnchorSideTop.Control = edParentName
AnchorSideRight.Control = edPid
AnchorSideRight.Side = asrBottom
Left = 457
Height = 23
Top = 227
Width = 106
Anchors = [akTop, akLeft, akRight]
OnChange = EditChange
ReadOnly = True
TabOrder = 11
Text = 'N/A'
end
object edParentName: TEdit
AnchorSideLeft.Control = edName
AnchorSideTop.Control = divParent
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = edName
AnchorSideRight.Side = asrBottom
Left = 61
Height = 23
Top = 227
Width = 206
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 5
ReadOnly = True
TabOrder = 10
Text = 'N/A'
end
object edVmSize: TEdit
AnchorSideLeft.Control = lblVmSize
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = mCmdline
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = lblVmPeak
Left = 72
Height = 23
Hint = 'Virtual memory size'
Top = 116
Width = 208
Alignment = taRightJustify
BorderSpacing.Left = 5
BorderSpacing.Top = 10
BorderSpacing.Right = 5
Constraints.MinWidth = 208
OnChange = EditChange
ParentShowHint = False
ReadOnly = True
ShowHint = True
TabOrder = 4
Text = 'N/A'
end
object edVmPeak: TEdit
AnchorSideLeft.Control = lblVmHWM
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edVmSize
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 355
Height = 23
Hint = 'Peak virtual memory size'
Top = 116
Width = 208
Alignment = taRightJustify
BorderSpacing.Left = 5
Constraints.MinWidth = 208
OnChange = EditChange
ParentShowHint = False
ReadOnly = True
ShowHint = True
TabOrder = 5
Text = 'N/A'
end
object lblState: TLabel
AnchorSideLeft.Control = edName
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = lblPid
AnchorSideRight.Control = lblPid
Left = 277
Height = 17
Hint = 'Current state of the process'
Top = 24
Width = 136
Alignment = taCenter
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 5
BorderSpacing.Right = 5
Caption = 'N/A'
ParentBidiMode = False
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object lblPPid: TLabel
AnchorSideLeft.Control = lblPid
AnchorSideTop.Control = edPpid
AnchorSideTop.Side = asrCenter
Left = 423
Height = 17
Top = 230
Width = 29
Caption = 'PID:'
ParentColor = False
end
object lblPName: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = edParentName
AnchorSideTop.Side = asrCenter
Left = 10
Height = 17
Top = 230
Width = 46
BorderSpacing.Left = 10
Caption = 'Name:'
ParentColor = False
end
object lblVmSize: TLabel
AnchorSideLeft.Control = lblName
AnchorSideTop.Control = edVmSize
AnchorSideTop.Side = asrCenter
Left = 10
Height = 17
Hint = 'Virtual memory size'
Top = 119
Width = 57
Caption = 'VmSize:'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object lblVmPeak: TLabel
AnchorSideLeft.Control = edVmSize
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edVmPeak
AnchorSideTop.Side = asrCenter
Left = 285
Height = 17
Hint = 'Peak virtual memory size'
Top = 119
Width = 62
Caption = 'VmPeak:'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object divParent: TDividerBevel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = edVmLck
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 10
Height = 17
Top = 205
Width = 550
Caption = 'Parent'
Anchors = [akTop, akLeft, akRight]
BevelStyle = bsRaised
BorderSpacing.Left = 5
BorderSpacing.Top = 10
BorderSpacing.Right = 5
Font.Style = [fsBold]
ParentFont = False
end
object mCmdline: TMemo
AnchorSideLeft.Control = lblName
AnchorSideTop.Control = edName
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = edVmPeak
AnchorSideRight.Side = asrBottom
Left = 10
Height = 57
Hint = 'Complete command line for the process'
Top = 49
Width = 553
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 5
Lines.Strings = (
'N/A'
)
ParentShowHint = False
ReadOnly = True
ScrollBars = ssAutoVertical
ShowHint = True
TabOrder = 3
end
object edVmRSS: TEdit
AnchorSideLeft.Control = lblVmSize
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edVmSize
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = lblVmPeak
Left = 72
Height = 23
Hint = 'Resident set size'#10'Note that the value here is the sum of RssAnon, RssFile, and RssShmem'
Top = 144
Width = 208
Alignment = taRightJustify
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Constraints.MinWidth = 208
OnChange = EditChange
ParentShowHint = False
ReadOnly = True
ShowHint = True
TabOrder = 6
Text = 'N/A'
end
object edVmLck: TEdit
AnchorSideLeft.Control = lblVmSize
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edVmRSS
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = lblVmPeak
Left = 72
Height = 23
Hint = 'Locked memory size'
Top = 172
Width = 208
Alignment = taRightJustify
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Constraints.MinWidth = 208
OnChange = EditChange
ParentShowHint = False
ReadOnly = True
ShowHint = True
TabOrder = 8
Text = 'N/A'
end
object edVmHWM: TEdit
AnchorSideLeft.Control = edVmPeak
AnchorSideTop.Control = edVmRSS
AnchorSideRight.Control = edVmPeak
AnchorSideRight.Side = asrBottom
Left = 355
Height = 23
Hint = 'Peak resident set size ("high water mark")'
Top = 144
Width = 208
Alignment = taRightJustify
Anchors = [akTop, akLeft, akRight]
Constraints.MinWidth = 208
OnChange = EditChange
ParentShowHint = False
ReadOnly = True
ShowHint = True
TabOrder = 7
Text = 'N/A'
end
object edVmSwap: TEdit
AnchorSideLeft.Control = edVmPeak
AnchorSideTop.Control = edVmLck
AnchorSideRight.Control = edVmPeak
AnchorSideRight.Side = asrBottom
Left = 355
Height = 23
Hint = 'Swapped-out virtual memory size by anonymous private pages'#10'shmem swap usage is not included'
Top = 172
Width = 208
Alignment = taRightJustify
Anchors = [akTop, akLeft, akRight]
Constraints.MinWidth = 208
OnChange = EditChange
ParentShowHint = False
ReadOnly = True
ShowHint = True
TabOrder = 9
Text = 'N/A'
end
object lblVmHWM: TLabel
AnchorSideLeft.Control = lblVmPeak
AnchorSideTop.Control = edVmHWM
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = edVmHWM
Left = 285
Height = 17
Hint = 'Peak resident set size ("high water mark")'
Top = 147
Width = 65
BorderSpacing.Right = 5
Caption = 'VmHWM:'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object lblVmSwap: TLabel
AnchorSideLeft.Control = lblVmPeak
AnchorSideTop.Control = edVmSwap
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = edVmSwap
Left = 285
Height = 17
Hint = 'Swapped-out virtual memory size by anonymous private pages'
Top = 175
Width = 66
BorderSpacing.Right = 5
Caption = 'VmSwap:'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object lblVmRSS: TLabel
AnchorSideLeft.Control = lblName
AnchorSideTop.Control = edVmRSS
AnchorSideTop.Side = asrCenter
Left = 10
Height = 17
Hint = 'Resident set size'
Top = 147
Width = 56
Caption = 'VmRSS:'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object lblVmLck: TLabel
AnchorSideLeft.Control = lblName
AnchorSideTop.Control = edVmLck
AnchorSideTop.Side = asrCenter
Left = 10
Height = 17
Hint = 'Locked memory size'
Top = 175
Width = 52
Caption = 'VmLck:'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object lblLink: TLabel
AnchorSideLeft.Control = lblName
AnchorSideTop.Control = cbLink
AnchorSideTop.Side = asrCenter
Left = 10
Height = 17
Top = 282
Width = 111
Caption = 'Open in Viewer:'
ParentColor = False
end
object cbLink: TComboBox
AnchorSideLeft.Control = lblLink
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = btnClose
AnchorSideTop.Side = asrCenter
Left = 126
Height = 23
Top = 279
Width = 104
BorderSpacing.Left = 5
ItemHeight = 17
Items.Strings = (
'status'
'environ'
'exe'
'mounts'
'mountinfo'
'mountstats'
'maps'
'smaps'
'limits'
'fd/1'
)
OnChange = ComboBoxChange
TabOrder = 12
end
object edUpdTime: TEdit
AnchorSideLeft.Control = lblUpdTime
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = cbLink
AnchorSideBottom.Control = cbLink
AnchorSideBottom.Side = asrBottom
Left = 311
Height = 23
Top = 279
Width = 54
Alignment = taRightJustify
Anchors = [akTop, akLeft, akBottom]
BorderSpacing.Left = 5
MaxLength = 6
NumbersOnly = True
OnChange = EditChange
TabOrder = 13
Text = '1000'
end
object lblUpdTime: TLabel
AnchorSideLeft.Control = cbLink
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edUpdTime
AnchorSideTop.Side = asrCenter
Left = 250
Height = 17
Top = 282
Width = 56
BorderSpacing.Left = 20
Caption = 'Update:'
ParentColor = False
end
object tmUpdate: TTimer
OnTimer = TimerTimer
Left = 336
Top = 224
end
end