-
Notifications
You must be signed in to change notification settings - Fork 0
/
createchallengeui.lfm
441 lines (441 loc) · 11.3 KB
/
createchallengeui.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
object CreateChallengeDialog: TCreateChallengeDialog
Left = 609
Height = 553
Top = 129
Width = 767
Caption = 'Aufgabe erstellen'
ClientHeight = 553
ClientWidth = 767
Color = 8405056
OnCreate = FormCreate
OnShow = FormShow
Position = poOwnerFormCenter
LCLVersion = '2.2.2.0'
object Label1: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = TitleEdit
Left = 4
Height = 15
Top = 4
Width = 22
BorderSpacing.Left = 4
Caption = 'Titel'
Font.Color = clWhite
ParentColor = False
ParentFont = False
end
object Label2: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = DescriptionMemo
Left = 4
Height = 15
Top = 31
Width = 72
BorderSpacing.Left = 4
Caption = 'Beschreibung'
Font.Color = clWhite
ParentColor = False
ParentFont = False
end
object Label3: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = DifficultyTrackBar
Left = 4
Height = 15
Top = 88
Width = 99
BorderSpacing.Left = 4
Caption = 'Schwierigkeitsgrad'
Font.Color = clWhite
ParentColor = False
ParentFont = False
end
object DifficultyTrackBar: TTrackBar
AnchorSideLeft.Control = Label3
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = DescriptionMemo
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 107
Height = 25
Top = 88
Width = 656
Frequency = 17
Max = 255
Position = 0
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 4
BorderSpacing.Top = 4
BorderSpacing.Right = 4
TabOrder = 0
end
object TitleEdit: TEdit
AnchorSideLeft.Control = Label3
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Owner
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 107
Height = 23
Top = 4
Width = 656
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 4
BorderSpacing.Top = 4
BorderSpacing.Right = 4
Color = 7354424
Font.Color = clWhite
ParentFont = False
TabOrder = 1
end
object DescriptionMemo: TMemo
AnchorSideLeft.Control = Label3
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TitleEdit
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 107
Height = 53
Top = 31
Width = 656
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 4
BorderSpacing.Top = 4
BorderSpacing.Right = 4
Color = 7354424
Font.Color = clWhite
ParentFont = False
TabOrder = 2
end
object Label5: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = TestCreationFrame1
Left = 4
Height = 15
Top = 210
Width = 74
BorderSpacing.Left = 4
Caption = 'Test-Eingaben'
Font.Color = clWhite
ParentColor = False
ParentFont = False
end
object RadioPanel1: TPanel
AnchorSideLeft.Control = Label3
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = DifficultyTrackBar
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 107
Height = 88
Top = 117
Width = 656
Anchors = [akTop, akLeft, akRight]
AutoSize = True
BorderSpacing.Left = 4
BorderSpacing.Top = 4
BorderSpacing.Right = 4
BevelColor = clBlack
BorderWidth = 5
ClientHeight = 88
ClientWidth = 656
Color = 16744576
ParentColor = False
TabOrder = 3
object rbPreconfiguredPaletteWithCounts: TRadioButton
Left = 6
Height = 19
Top = 6
Width = 644
Align = alTop
Caption = 'Vorkonfigurierte Elemente; Anzahl vorgegeben'
Checked = True
Font.Color = clWhite
OnChange = rbIncludeAllGatesChange
ParentFont = False
TabOrder = 0
TabStop = True
end
object rbUnconfiguredPaletteWithCounts: TRadioButton
Left = 6
Height = 19
Top = 44
Width = 644
Align = alTop
Caption = 'Unkonfigurierte Elemente; Anzahl vorgegeben'
Font.Color = clWhite
OnChange = rbIncludeAllGatesChange
ParentFont = False
TabOrder = 1
end
object rbPreconfiguredPalette: TRadioButton
Left = 6
Height = 19
Top = 25
Width = 644
Align = alTop
Caption = 'Vorkonfigurierte Elemente; Anzahl frei'
Font.Color = clWhite
OnChange = rbIncludeAllGatesChange
ParentFont = False
TabOrder = 2
end
object rbFreePalette: TRadioButton
Left = 6
Height = 19
Top = 63
Width = 644
Align = alTop
Caption = 'freie Palette'
Color = 8405056
Font.Color = clWhite
OnChange = rbIncludeAllGatesChange
ParentColor = False
ParentFont = False
TabOrder = 3
end
end
object Label7: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = RadioPanel1
Left = 4
Height = 15
Top = 117
Width = 36
BorderSpacing.Left = 4
Caption = 'Palette'
Font.Color = clWhite
ParentColor = False
ParentFont = False
end
object addTaskShape: TShape
AnchorSideLeft.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 603
Height = 28
Top = 521
Width = 160
Anchors = [akRight, akBottom]
BorderSpacing.Left = 5
BorderSpacing.Top = 4
BorderSpacing.Right = 4
BorderSpacing.Bottom = 4
Brush.Color = 6303792
OnMouseDown = addTaskShapeMouseDown
Shape = stRoundRect
end
object addTaskLabel: TLabel
AnchorSideLeft.Control = addTaskShape
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Control = addTaskShape
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 619
Height = 21
Top = 525
Width = 129
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Caption = 'Aufgabe speichern'
Font.CharSet = ANSI_CHARSET
Font.Color = clWhite
Font.Height = -16
Font.Pitch = fpVariable
Font.Quality = fqDraft
ParentColor = False
ParentFont = False
OnMouseDown = addTaskShapeMouseDown
end
inline TestCreationFrame1: TTestCreationFrame
AnchorSideLeft.Control = RadioPanel1
AnchorSideTop.Control = RadioPanel1
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = addTaskShape
Left = 107
Height = 306
Top = 210
Width = 655
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Top = 5
BorderSpacing.Right = 5
BorderSpacing.Bottom = 5
ClientHeight = 306
ClientWidth = 655
TabOrder = 4
DesignLeft = 1182
DesignTop = 409
inherited TestInputsPanel: TPanel
Height = 298
Width = 647
Anchors = [akTop, akRight, akBottom]
ClientHeight = 298
ClientWidth = 647
inherited TestCasesStringGrid: TStringGrid
Height = 246
end
inherited generateTestCasesShape: TShape
Left = 537
BorderSpacing.Left = 4
end
inherited generateTestCasesLabel: TLabel
Left = 555
end
inherited generateTestCasesShape1: TShape
Left = 433
BorderSpacing.Left = 15
end
inherited generateTestCasesLabel1: TLabel
Left = 445
end
inherited Splitter1: TSplitter
Height = 246
end
inherited TimingGrid: TStringGrid
Height = 222
Width = 71
end
inherited ProgressShape: TShape
Top = 264
end
inherited ProgressLabel: TLabel
Left = 598
Top = 269
end
end
end
object editTemplateShape: TShape
AnchorSideLeft.Control = editExpectedShape
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = DifficultyTrackBar
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = resetTemplateShape
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 234
Height = 28
Top = 521
Width = 180
Anchors = [akRight, akBottom]
BorderSpacing.Left = 5
BorderSpacing.Top = 4
BorderSpacing.Right = 4
BorderSpacing.Bottom = 4
Brush.Color = 6303792
OnMouseDown = editTemplateShapeMouseDown
Shape = stRoundRect
end
object editTemplateLabel: TLabel
AnchorSideLeft.Control = editTemplateShape
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Control = editTemplateShape
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 256
Height = 21
Top = 525
Width = 136
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Caption = 'Vorgabe bearbeiten'
Font.CharSet = ANSI_CHARSET
Font.Color = clWhite
Font.Height = -16
Font.Pitch = fpVariable
Font.Quality = fqDraft
ParentColor = False
ParentFont = False
OnMouseDown = editTemplateShapeMouseDown
end
object editExpectedShape: TShape
AnchorSideLeft.Control = DifficultyTrackBar
AnchorSideTop.Control = DifficultyTrackBar
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = editTemplateShape
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 49
Height = 28
Top = 521
Width = 180
Anchors = [akRight, akBottom]
BorderSpacing.Top = 4
BorderSpacing.Right = 4
BorderSpacing.Bottom = 4
Brush.Color = 6303792
OnMouseDown = editExpectedShapeMouseDown
Shape = stRoundRect
end
object editExpectedLabel: TLabel
AnchorSideLeft.Control = editExpectedShape
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Control = editExpectedShape
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 75
Height = 21
Top = 525
Width = 129
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Caption = 'Lösung bearbeiten'
Font.CharSet = ANSI_CHARSET
Font.Color = clWhite
Font.Height = -16
Font.Pitch = fpVariable
Font.Quality = fqDraft
ParentColor = False
ParentFont = False
OnMouseDown = editExpectedShapeMouseDown
end
object resetTemplateShape: TShape
AnchorSideLeft.Control = editTemplateShape
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = DifficultyTrackBar
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = addTaskShape
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 418
Height = 28
Top = 521
Width = 180
Anchors = [akRight, akBottom]
BorderSpacing.Left = 4
BorderSpacing.Top = 4
BorderSpacing.Right = 4
BorderSpacing.Bottom = 4
Brush.Color = 6303792
OnMouseDown = resetTemplateShapeMouseDown
Shape = stRoundRect
end
object resetTemplateLabel: TLabel
AnchorSideLeft.Control = resetTemplateShape
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Control = resetTemplateShape
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 432
Height = 21
Top = 525
Width = 152
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Caption = 'Vorgabe zurücksetzen'
Font.CharSet = ANSI_CHARSET
Font.Color = clWhite
Font.Height = -16
Font.Pitch = fpVariable
Font.Quality = fqDraft
ParentColor = False
ParentFont = False
OnMouseDown = resetTemplateShapeMouseDown
end
end