-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbeamunit.lfm
More file actions
528 lines (528 loc) · 10.2 KB
/
beamunit.lfm
File metadata and controls
528 lines (528 loc) · 10.2 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
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
object BeamForm: TBeamForm
Left = 512
Height = 518
Top = 685
Width = 1589
HorzScrollBar.Page = 603
VertScrollBar.Page = 299
ActiveControl = PageControl
Caption = 'Edit Beam Files'
ClientHeight = 518
ClientWidth = 1589
DesignTimePPI = 168
LCLVersion = '4.0.0.4'
OnCreate = BeamFormCreate
object PageControl: TPageControl
Left = 0
Height = 256
Top = 0
Width = 1589
ActivePage = tsOutFact
Align = alTop
TabIndex = 2
TabOrder = 0
OnChange = PageControlChange
object tsEnergies: TTabSheet
Caption = 'Energies'
ClientHeight = 211
ClientWidth = 1583
OnExit = tsEnergiesExit
OnHide = tsEnergiesExit
object Label1: TLabel
Left = 12
Height = 32
Top = 28
Width = 53
Caption = 'Title:'
Layout = tlCenter
ParentColor = False
end
object Label2: TLabel
Left = 10
Height = 32
Top = 91
Width = 129
Caption = 'Accelerator:'
ParentColor = False
end
object Label3: TLabel
Left = 10
Height = 32
Top = 191
Width = 308
Caption = 'Number of photon energies:'
ParentColor = False
end
object Label4: TLabel
Left = 10
Height = 32
Top = 290
Width = 227
Caption = 'Program expiry date:'
ParentColor = False
end
object Label5: TLabel
Left = 322
Height = 32
Top = 91
Width = 184
Caption = 'Photon Energies:'
ParentColor = False
end
object Label6: TLabel
Left = 620
Height = 32
Top = 89
Width = 305
Caption = 'Depth at Maximum Buildup:'
ParentColor = False
end
object ebTitle: TEdit
Left = 110
Height = 46
Top = 21
Width = 928
TabOrder = 0
end
object ebMName: TEdit
Left = 12
Height = 46
Top = 121
Width = 142
TabOrder = 1
end
object ebNoE: TEdit
Left = 12
Height = 46
Top = 220
Width = 142
TabOrder = 2
end
object ebEDate: TEdit
Left = 12
Height = 46
Top = 324
Width = 142
TabOrder = 3
end
object sgEnergy: TStringGrid
Left = 322
Height = 238
Top = 121
Width = 240
Color = clWhite
ColCount = 2
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
RowCount = 6
TabOrder = 4
RowHeights = (
33
33
33
33
33
33
)
Cells = (
7
0
0
'Number'
0
1
'1:'
0
2
'2:'
0
3
'3:'
0
4
'4:'
0
5
'5:'
1
0
'Energy'
)
end
object sgDmax: TStringGrid
Left = 620
Height = 229
Top = 121
Width = 243
Color = clWhite
ColCount = 2
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
RowCount = 6
TabOrder = 5
RowHeights = (
33
33
33
33
33
33
)
Cells = (
7
0
0
'Energy #'
0
1
'1:'
0
2
'2:'
0
3
'3:'
0
4
'4:'
0
5
'5:'
1
0
'Depth'
)
end
end
object tsFactors: TTabSheet
Caption = 'Factors'
ClientHeight = 211
ClientWidth = 1583
object Label7: TLabel
Left = 38
Height = 32
Top = 21
Width = 82
Caption = 'Energy:'
ParentColor = False
end
object Label8: TLabel
Left = 138
Height = 32
Top = 21
Width = 148
Caption = 'Table Factors:'
ParentColor = False
end
object Label9: TLabel
Left = 406
Height = 32
Top = 21
Width = 136
Caption = 'Tray Factors:'
ParentColor = False
end
object Label10: TLabel
Left = 89
Height = 32
Top = 114
Width = 20
Caption = '1:'
ParentColor = False
end
object Label11: TLabel
Left = 89
Height = 32
Top = 150
Width = 20
Caption = '2:'
ParentColor = False
end
object Label12: TLabel
Left = 89
Height = 32
Top = 178
Width = 20
Caption = '3:'
ParentColor = False
end
object Label13: TLabel
Left = 89
Height = 32
Top = 214
Width = 20
Caption = '4:'
ParentColor = False
end
object Label14: TLabel
Left = 89
Height = 32
Top = 245
Width = 20
Caption = '5:'
ParentColor = False
end
object sgTable: TStringGrid
Left = 138
Height = 259
Top = 70
Width = 229
Color = clWhite
ColCount = 2
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
RowCount = 6
TabOrder = 0
RowHeights = (
33
33
33
33
33
33
)
Cells = (
7
0
0
'No table'
0
1
'1'
0
2
'1'
0
3
'1'
0
4
'1'
0
5
'1'
1
0
'Table'
)
end
object sgTray: TStringGrid
Left = 406
Height = 259
Top = 70
Width = 569
Color = clWhite
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
RowCount = 6
TabOrder = 1
RowHeights = (
33
33
33
33
33
33
)
Cells = (
10
0
0
'No tray'
0
1
'1'
0
2
'1'
0
3
'1'
0
4
'1'
0
5
'1'
1
0
'Tray 1'
2
0
'Tray 2'
3
0
'Tray 3'
4
0
'Tray 4'
)
end
end
object tsOutFact: TTabSheet
Caption = 'Output Factors'
ClientHeight = 211
ClientWidth = 1583
object Label16: TLabel
Left = 74
Height = 32
Top = 42
Width = 288
Caption = 'Output Factor Parameters:'
ParentColor = False
end
object sgOPF: TStringGrid
Left = 74
Height = 259
Top = 102
Width = 1270
Color = clWhite
ColCount = 8
DefaultColWidth = 158
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
RowCount = 6
TabOrder = 0
RowHeights = (
33
33
33
33
33
33
)
Cells = (
13
0
0
'Energy #'
0
1
'1:'
0
2
'2:'
0
3
'3:'
0
4
'4:'
0
5
'5:'
1
0
'Param 1:'
2
0
'Param 2:'
3
0
'Param 3:'
4
0
'Param 4:'
5
0
'Param 5:'
6
0
'Param 6:'
7
0
'Param 7:'
)
end
end
end
object bbBack: TBitBtn
Left = 1172
Height = 44
Hint = 'Previous tab'
Top = 453
Width = 133
BorderSpacing.InnerBorder = 4
Caption = '<< Back'
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnClick = bbBackClick
end
object bbOpen: TBitBtn
Left = 14
Height = 44
Hint = 'Open beam data file'
Top = 453
Width = 133
BorderSpacing.InnerBorder = 4
Caption = 'Open'
ParentShowHint = False
ShowHint = True
TabOrder = 3
OnClick = bbImportClick
end
object bbPrint: TBitBtn
Left = 147
Height = 44
Hint = 'Print data'
Top = 453
Width = 131
BorderSpacing.InnerBorder = 4
Caption = 'Print PDF'
ParentShowHint = False
ShowHint = True
TabOrder = 4
OnClick = bbPrintClick
end
object bbImportTMR: TBitBtn
Left = 278
Height = 44
Hint = 'Import TMRs from csv file'
Top = 453
Width = 145
BorderSpacing.InnerBorder = 4
Caption = 'ImportTMR'
ParentShowHint = False
ShowHint = True
TabOrder = 5
OnClick = bbImportTMRClick
end
object bbNext: TBitBtn
Left = 1437
Height = 44
Hint = 'Next tab'
Top = 453
Width = 133
BorderSpacing.InnerBorder = 4
Caption = 'Next >>'
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnClick = bbNextClick
end
object bbFinish: TBitBtn
Left = 1306
Height = 44
Hint = 'Save and Close'
Top = 453
Width = 133
BorderSpacing.InnerBorder = 4
Caption = 'Finish'
ParentShowHint = False
ShowHint = True
TabOrder = 6
OnClick = bbExportClick
end
object OpenDialog: TOpenDialog
Title = 'Open Beam Data File'
DefaultExt = '.bdf'
Filter = 'Beam Data Files | *.bdf|Text Files|*.txt|All files|*.*'
FilterIndex = 0
Left = 1442
Top = 308
end
object SaveDialog: TSaveDialog
Title = 'Save PDF as'
DefaultExt = '.pdf'
Filter = 'PDF|*.pdf|All files|*'
Options = [ofOverwritePrompt, ofEnableSizing, ofViewDetail]
Left = 1442
Top = 140
end
end