-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathmainform.lfm
441 lines (441 loc) · 12.2 KB
/
mainform.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 FormMain: TFormMain
Left = 1121
Height = 792
Top = 332
Width = 521
AllowDropFiles = True
Caption = 'Deskew GUI'
ClientHeight = 792
ClientWidth = 521
Color = clWhite
Constraints.MinHeight = 520
Constraints.MinWidth = 520
OnCreate = FormCreate
OnDestroy = FormDestroy
OnDropFiles = FormDropFiles
Position = poWorkAreaCenter
SessionProperties = 'Position'
LCLVersion = '1.8.4.0'
object Notebook: TNotebook
Left = 8
Height = 776
Top = 8
Width = 505
PageIndex = 0
Align = alClient
BorderSpacing.Around = 8
TabOrder = 0
object PageIn: TPage
Color = clWhite
object BtnDeskew: TButton
Left = 0
Height = 57
Top = 719
Width = 505
Action = ActDeskew
Align = alBottom
Anchors = [akLeft]
Font.Height = -32
ParentFont = False
TabOrder = 2
end
object PanelFiles: TPanel
Left = 0
Height = 517
Top = 0
Width = 505
Align = alClient
BevelOuter = bvNone
ClientHeight = 517
ClientWidth = 505
TabOrder = 0
object Label1: TLabel
Left = 0
Height = 23
Top = 4
Width = 505
Align = alTop
BorderSpacing.Top = 4
BorderSpacing.Bottom = 10
Caption = 'Input Files'
Font.Color = 11428096
Font.Height = 24
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object MemoFiles: TMemo
Left = 0
Height = 426
Top = 37
Width = 505
Align = alClient
BorderSpacing.Bottom = 54
ScrollBars = ssAutoBoth
TabOrder = 0
WordWrap = False
end
object BtnAddFiles: TButton
Left = 0
Height = 37
Top = 469
Width = 103
Action = ActAddFiles
Anchors = [akLeft, akBottom]
Default = True
Font.Height = -16
ParentFont = False
TabOrder = 1
end
object BtnClear: TButton
Left = 402
Height = 37
Top = 469
Width = 103
Action = ActClearFiles
Anchors = [akRight, akBottom]
Font.Height = -16
ParentFont = False
TabOrder = 2
end
object BtnAbout: TButton
Left = 468
Height = 25
Top = 0
Width = 37
Action = ActShowAbout
Anchors = [akTop, akRight]
AutoSize = True
TabOrder = 3
TabStop = False
end
end
object PanelOptions: TPanel
Left = 0
Height = 182
Top = 523
Width = 505
Align = alBottom
AutoSize = True
BorderSpacing.Top = 6
BorderSpacing.Bottom = 14
BevelOuter = bvNone
ClientHeight = 182
ClientWidth = 505
TabOrder = 1
object Label2: TLabel
Left = 0
Height = 23
Top = 4
Width = 505
Align = alTop
BorderSpacing.Top = 4
BorderSpacing.Bottom = 4
Caption = 'Options && Parameters'
Font.Color = 11428096
Font.Height = 24
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Panel1: TPanel
Left = 0
Height = 143
Top = 31
Width = 505
Align = alClient
BorderSpacing.Bottom = 8
BevelOuter = bvNone
ClientHeight = 143
ClientWidth = 505
TabOrder = 0
object ColorBtnBackground: TColorButton
AnchorSideLeft.Control = LabBackColor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = LabBackColor
AnchorSideTop.Side = asrCenter
AnchorSideBottom.Side = asrCenter
Left = 117
Height = 28
Top = 115
Width = 64
BorderSpacing.Left = 12
BorderWidth = 2
ButtonColorSize = 16
ButtonColor = clWhite
Flat = True
end
object LabOptOutputFolder: TLabel
AnchorSideTop.Control = CheckDefaultOutputFileOptions
AnchorSideTop.Side = asrBottom
Left = 8
Height = 15
Top = 43
Width = 75
BorderSpacing.Top = 12
Caption = 'Output folder:'
ParentColor = False
end
object LabBackColor: TLabel
Left = 8
Height = 15
Top = 122
Width = 97
Caption = 'Background color:'
ParentColor = False
end
object CheckDefaultOutputFileOptions: TCheckBox
Left = 8
Height = 19
Top = 12
Width = 180
Caption = 'Use default output file options'
Checked = True
State = cbChecked
TabOrder = 0
end
object LabOptFileFormat: TLabel
AnchorSideTop.Control = LabOptOutputFolder
AnchorSideTop.Side = asrBottom
Left = 8
Height = 15
Top = 76
Width = 60
BorderSpacing.Top = 18
Caption = 'File format:'
ParentColor = False
end
object ComboFileFormat: TComboBox
AnchorSideLeft.Control = EdDirOutput
AnchorSideTop.Control = LabOptFileFormat
AnchorSideTop.Side = asrCenter
AnchorSideBottom.Side = asrCenter
Left = 95
Height = 23
Top = 72
Width = 256
ItemHeight = 15
Style = csDropDownList
TabOrder = 3
end
object EdDirOutput: TEdit
AnchorSideLeft.Control = LabOptOutputFolder
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = LabOptOutputFolder
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = BtnBrowseOutputDir
Left = 95
Height = 23
Top = 39
Width = 323
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Right = 4
TabOrder = 1
end
object BtnBrowseOutputDir: TButton
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = EdDirOutput
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Side = asrCenter
Left = 424
Height = 25
Top = 38
Width = 73
Action = ActBrowseOutputDir
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Left = 6
BorderSpacing.Right = 8
TabOrder = 2
end
object BtnAdvOptions: TButton
AnchorSideTop.Control = LabBackColor
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = BtnBrowseOutputDir
AnchorSideRight.Side = asrBottom
Left = 396
Height = 25
Top = 117
Width = 101
Action = ActShowAdvOptions
Anchors = [akTop, akRight]
TabOrder = 4
end
end
end
end
object PageOut: TPage
object PanelProgress: TPanel
Left = 0
Height = 106
Top = 0
Width = 505
Align = alTop
BevelOuter = bvNone
ClientHeight = 106
ClientWidth = 505
TabOrder = 0
object LabDeskewProgressTitle: TLabel
Left = 0
Height = 28
Top = 4
Width = 505
Align = alTop
BorderSpacing.Top = 4
BorderSpacing.Bottom = 4
Caption = 'Deskew in Progress'
Font.Color = 11428096
Font.Height = 24
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object ProgressBar: TProgressBar
Left = 8
Height = 20
Top = 76
Width = 489
Align = alBottom
BorderSpacing.Left = 8
BorderSpacing.Top = 8
BorderSpacing.Right = 8
BorderSpacing.Bottom = 10
Max = 10
ParentColor = False
Position = 4
Smooth = True
TabOrder = 0
end
object LabProgressTitle: TLabel
Left = 8
Height = 16
Top = 52
Width = 75
BorderSpacing.Left = 8
BorderSpacing.Right = 4
Caption = 'Current file:'
Layout = tlBottom
ParentColor = False
end
object LabCurrentFile: TLabel
AnchorSideLeft.Control = LabProgressTitle
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = PanelProgress
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = LabProgressTitle
AnchorSideBottom.Side = asrBottom
Left = 88
Height = 18
Top = 50
Width = 417
Anchors = [akLeft, akRight, akBottom]
AutoSize = False
BorderSpacing.Left = 5
Caption = 'FileName.ext [22/152]'
Font.Height = 16
Font.Style = [fsBold]
Layout = tlBottom
ParentColor = False
ParentFont = False
OptimalFill = True
end
end
object PanelOut: TPanel
Left = 0
Height = 595
Top = 106
Width = 505
Align = alClient
BorderSpacing.Bottom = 18
BevelOuter = bvNone
ClientHeight = 595
ClientWidth = 505
TabOrder = 1
object Label3: TLabel
Left = 0
Height = 28
Top = 4
Width = 505
Align = alTop
BorderSpacing.Top = 4
BorderSpacing.Bottom = 10
Caption = 'Output Log'
Font.Color = 11428096
Font.Height = 24
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object MemoOutput: TMemo
Left = 0
Height = 553
Top = 42
Width = 505
Align = alClient
Font.Height = -12
Font.Name = 'Courier New'
ParentFont = False
ReadOnly = True
ScrollBars = ssAutoBoth
TabOrder = 0
WantReturns = False
WordWrap = False
end
end
object BtnFinish: TButton
Left = 0
Height = 57
Top = 719
Width = 505
Action = ActFinish
Align = alBottom
Anchors = [akLeft]
Font.Height = -32
ParentFont = False
TabOrder = 2
end
end
end
object ApplicationProperties: TApplicationProperties
OnIdle = ApplicationPropertiesIdle
left = 176
top = 200
end
object ActionList: TActionList
left = 280
top = 200
object ActDeskew: TAction
Caption = 'Deskew!'
OnExecute = ActDeskewExecute
OnUpdate = ActDeskewUpdate
end
object ActFinish: TAction
Caption = 'Stop'
OnExecute = ActFinishExecute
end
object ActAddFiles: TAction
Caption = 'Add files...'
OnExecute = ActAddFilesExecute
end
object ActClearFiles: TAction
Caption = 'Clear'
OnExecute = ActClearFilesExecute
end
object ActBrowseOutputDir: TAction
Caption = 'Browse...'
OnExecute = ActBrowseOutputDirExecute
end
object ActShowAdvOptions: TAction
Caption = 'Advanced...'
OnExecute = ActShowAdvOptionsExecute
end
object ActShowAbout: TAction
Caption = ' ? '
OnExecute = ActShowAboutExecute
end
end
end