-
Notifications
You must be signed in to change notification settings - Fork 3
/
ufMain.dfm
399 lines (399 loc) · 9.6 KB
/
ufMain.dfm
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
object MainForm: TMainForm
Width = 865
Height = 680
OnCreate = WebFormCreate
OnDestroy = WebFormDestroy
OnExit = WebFormExit
OnResize = WebFormResize
object pnlSimInfo: TWebPanel
Left = 806
Top = 50
Width = 59
Height = 406
Align = alRight
object pnlModelInfo: TWebPanel
Left = 0
Top = 0
Width = 59
Height = 45
Align = alTop
BorderColor = clBtnFace
ChildOrder = 3
DesignSize = (
59
45)
object btnModelInfo: TWebButton
Left = 4
Top = 10
Width = 50
Height = 30
Hint = 'Model information, if available.'
Anchors = [akRight]
Caption = 'Info'
ChildOrder = 2
HeightPercent = 100.000000000000000000
ShowHint = True
WidthPercent = 100.000000000000000000
OnClick = btnModelInfoClick
end
end
object pnlEditGraph: TWebPanel
Left = 0
Top = 45
Width = 59
Height = 45
Align = alTop
BorderColor = clBtnFace
ChildOrder = 3
object btnEditGraph: TWebButton
Left = 2
Top = 10
Width = 50
Height = 30
Hint = 'Change species, update Y axis'
Caption = 'Plot'
ChildOrder = 2
HeightPercent = 100.000000000000000000
ShowHint = True
WidthPercent = 100.000000000000000000
OnClick = btnEditGraphClick
end
end
object pnlExample: TWebPanel
Left = 0
Top = 135
Width = 59
Height = 45
Align = alTop
BorderColor = clBtnFace
ChildOrder = 3
DesignSize = (
59
45)
object btnExample: TWebButton
Left = 10
Top = 10
Width = 45
Height = 30
Hint = 'Load example model.'
Anchors = [akRight]
Caption = 'Ex.'
ChildOrder = 3
HeightPercent = 100.000000000000000000
ShowHint = True
WidthPercent = 100.000000000000000000
OnClick = btnExampleClick
end
end
object pnlEditSliders: TWebPanel
Left = 0
Top = 90
Width = 59
Height = 45
Align = alTop
BorderColor = clBtnFace
ChildOrder = 3
object btnEditSliders: TWebButton
Left = 2
Top = 10
Width = 50
Height = 30
Hint = 'Chose different parameter sliders'
Caption = 'Slider'
HeightPercent = 100.000000000000000000
ShowHint = True
WidthPercent = 100.000000000000000000
OnClick = btnEditSlidersClick
end
end
object pnlAbout: TWebPanel
Left = 0
Top = 361
Width = 59
Height = 45
Align = alBottom
BorderColor = clBtnFace
ChildOrder = 4
object btnAbout: TWebButton
Left = 1
Top = 8
Width = 54
Height = 30
Caption = 'About'
ElementClassName = 'btn btn-dark btn-sm'
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnAboutClick
end
end
end
object pnlPlot: TWebPanel
Left = 0
Top = 50
Width = 806
Height = 406
Align = alClient
ChildOrder = 1
end
object pnlTop: TWebPanel
Left = 0
Top = 0
Width = 865
Height = 50
Align = alTop
ChildOrder = 3
object pnlSimSpeedMult: TWebPanel
Left = 189
Top = 0
Width = 139
Height = 50
Hint = 'Speed up simulation, limited by browser resources.'
Align = alLeft
ChildOrder = 5
ShowHint = True
object lblSpeedMult: TWebLabel
Left = 10
Top = 5
Width = 98
Height = 13
Hint = 'Speed up/down simulation'
Caption = 'Sim Speed Multiplier:'
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
end
object lblSpeedMultVal: TWebLabel
Left = 112
Top = 5
Width = 12
Height = 13
Caption = '1x'
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
end
object lblSpeedMultMin: TWebLabel
Left = 10
Top = 23
Width = 22
Height = 13
Caption = '0.1x'
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
end
object lblSpeedMultMax: TWebLabel
Left = 115
Top = 23
Width = 12
Height = 13
Caption = '3x'
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
end
object trackBarSimSpeed: TWebTrackBar
Left = 38
Top = 30
Width = 70
Height = 0
ElementClassName = 'slider'
HeightStyle = ssPercent
HeightPercent = 10.000000000000000000
Max = 30
Min = 1
Position = 10
Role = ''
OnChange = trackBarSimSpeedChange
end
end
object pnlRunTime: TWebPanel
Left = 393
Top = 0
Width = 65
Height = 50
Hint = 'Set simulation run time. Static run only.'
Align = alLeft
BorderColor = clBtnFace
ChildOrder = 7
ShowHint = True
object lblRunTime: TWebLabel
Left = 5
Top = 5
Width = 48
Height = 13
Caption = 'Run Time:'
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
end
object editRunTime: TWebEdit
Left = 5
Top = 20
Width = 55
Height = 20
ChildOrder = 1
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnExit = editRunTimeExit
end
end
object pnlLoadModel: TWebPanel
Left = 0
Top = 0
Width = 65
Height = 50
Align = alLeft
BorderColor = clBtnFace
ChildOrder = 8
object btnLoadModel: TWebButton
Left = 7
Top = 10
Width = 55
Height = 30
Hint = 'Load SBML model'
Caption = 'SBML'
ElementClassName = 'btn btn-primary btn-sm'
HeightPercent = 100.000000000000000000
ShowHint = True
WidthPercent = 100.000000000000000000
OnClick = btnLoadModelClick
end
end
object pnlSimReset: TWebPanel
Left = 129
Top = 0
Width = 60
Height = 50
Align = alLeft
BorderColor = clBtnFace
ChildOrder = 8
object btnSimReset: TWebButton
Left = 1
Top = 10
Width = 55
Height = 30
Hint = 'Reset simulation'
Caption = 'Reset '
ChildOrder = 1
ElementClassName = 'btn btn-dark btn-sm'
HeightPercent = 100.000000000000000000
ShowHint = True
WidthPercent = 100.000000000000000000
OnClick = btnSimResetClick
end
end
object pnlRunPause: TWebPanel
Left = 65
Top = 0
Width = 64
Height = 50
Align = alLeft
BorderColor = clBtnFace
ChildOrder = 8
object btnRunPause: TWebButton
Left = 3
Top = 10
Width = 55
Height = 30
Hint = 'Run model'
Caption = 'Run'
ElementClassName = 'btn btn-dark btn-sm'
HeightPercent = 100.000000000000000000
ShowHint = True
WidthPercent = 100.000000000000000000
OnClick = btnRunPauseClick
end
end
object pnlStepSize: TWebPanel
Left = 328
Top = 0
Width = 65
Height = 50
Hint = 'Integrator step size. 1000 = 1 time unit (usually sec)'
Align = alLeft
BorderColor = clBtnFace
ChildOrder = 8
ShowHint = True
DesignSize = (
65
50)
object lblStepSize: TWebLabel
Left = 8
Top = 5
Width = 50
Height = 14
Caption = 'Step (ms):'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Arial'
Font.Style = []
HeightPercent = 100.000000000000000000
ParentFont = False
WidthPercent = 100.000000000000000000
end
object edtStepSize: TWebEdit
Left = 10
Top = 20
Width = 50
Height = 20
Hint = 'Change step size for integrator.'
Anchors = [akLeft]
ChildOrder = 3
HeightPercent = 100.000000000000000000
ShowHint = False
Text = '100'
WidthPercent = 100.000000000000000000
OnExit = edtStepSizeExit
end
end
object pnlStaticSim: TWebPanel
Left = 458
Top = 0
Width = 80
Height = 50
Align = alLeft
BorderColor = clBtnFace
ChildOrder = 7
DesignSize = (
80
50)
object chkbxStaticSimRun: TWebCheckBox
Left = 5
Top = 13
Width = 100
Height = 22
Hint = 'Plot results after simulation is complete.'
Anchors = [akLeft]
Caption = 'Static Run'
ChildOrder = 7
Color = clNone
HeightPercent = 100.000000000000000000
ShowHint = True
State = cbUnchecked
WidthPercent = 100.000000000000000000
OnClick = chkbxStaticSimRunClick
end
end
end
object pnlParamSliders: TWebPanel
Left = 0
Top = 456
Width = 865
Height = 224
Align = alBottom
ChildOrder = 2
end
object SBMLOpenDialog: TWebOpenDialog
OnChange = SBMLOpenDialogChange
OnGetFileAsText = SBMLOpenDialogGetFileAsText
Left = 273
Top = 608
end
object graphEditPopup: TWebPopupMenu
Appearance.HamburgerMenu.Caption = 'Menu'
Appearance.SubmenuIndicator = '►'
Left = 752
Top = 494
object editPlot1: TMenuItem
Caption = 'Edit plot'
OnClick = editPlot1Click
end
end
end