forked from gligli/SuperCopier2
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathSCCopyForm.dfm
823 lines (823 loc) · 20.3 KB
/
SCCopyForm.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
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
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
object CopyForm: TCopyForm
Left = 268
Top = 104
HorzScrollBar.Visible = False
VertScrollBar.Visible = False
BorderStyle = bsSingle
Caption = 'CopyForm'
ClientHeight = 409
ClientWidth = 400
Color = clBtnFace
Constraints.MinHeight = 169
Constraints.MinWidth = 408
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Microsoft Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
OnDestroy = FormDestroy
DesignSize = (
400
409)
PixelsPerInch = 96
TextHeight = 13
object ggAll: TSCProgessBar
Left = 8
Top = 48
Width = 385
Height = 17
Anchors = [akLeft, akTop, akRight]
BorderColor = clBlack
FrontColor1 = clRed
FrontColor2 = clBlue
BackColor1 = clGray
BackColor2 = clWhite
FontProgress.Charset = DEFAULT_CHARSET
FontProgress.Color = clWhite
FontProgress.Height = -11
FontProgress.Name = 'MS Sans Serif'
FontProgress.Style = [fsBold]
FontProgressColor = clBlack
FontTxt.Charset = DEFAULT_CHARSET
FontTxt.Color = clWhite
FontTxt.Height = -11
FontTxt.Name = 'MS Sans Serif'
FontTxt.Style = []
FontTxtColor = clBlack
Max = 100
end
object llAll: TTntLabel
Left = 8
Top = 32
Width = 385
Height = 13
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Caption = 'llAll'
ShowAccelChar = False
end
object llSpeed: TTntLabel
Left = 8
Top = 120
Width = 97
Height = 13
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Caption = 'llSpeed'
end
object llFromTitle: TTntLabel
Left = 8
Top = 0
Width = 26
Height = 13
Caption = 'From:'
end
object llToTitle: TTntLabel
Left = 8
Top = 16
Width = 16
Height = 13
Caption = 'To:'
end
object ggFile: TSCProgessBar
Left = 8
Top = 88
Width = 385
Height = 17
Anchors = [akLeft, akTop, akRight]
BorderColor = clBlack
FrontColor1 = clRed
FrontColor2 = clBlue
BackColor1 = clGray
BackColor2 = clWhite
FontProgress.Charset = DEFAULT_CHARSET
FontProgress.Color = clWhite
FontProgress.Height = -11
FontProgress.Name = 'MS Sans Serif'
FontProgress.Style = [fsBold]
FontProgressColor = clBlack
FontTxt.Charset = DEFAULT_CHARSET
FontTxt.Color = clWhite
FontTxt.Height = -11
FontTxt.Name = 'MS Sans Serif'
FontTxt.Style = []
FontTxtColor = clBlack
Max = 100
end
object llTo: TSCFileNameLabel
Left = 40
Top = 16
Width = 353
Height = 13
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Caption = 'llTo'
ShowAccelChar = False
end
object llFrom: TSCFileNameLabel
Left = 40
Top = 0
Width = 353
Height = 13
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Caption = 'llFrom'
ShowAccelChar = False
end
object llFile: TSCFileNameLabel
Left = 8
Top = 72
Width = 385
Height = 13
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Caption = 'llFile'
ShowAccelChar = False
end
object pcPages: TTntPageControl
Left = -1
Top = 150
Width = 404
Height = 268
ActivePage = tsCopyList
Anchors = [akLeft, akTop, akRight, akBottom]
Images = MainForm.ilGlobal
MultiLine = True
TabOrder = 6
OnChange = pcPagesChange
object tsCopyList: TTntTabSheet
Caption = 'Copy list'
ImageIndex = 8
DesignSize = (
396
239)
object btFileTop: TTntSpeedButton
Left = 0
Top = 0
Width = 25
Height = 25
Hint = 'Move files to top'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btFileTopClick
end
object btFileUp: TTntSpeedButton
Left = 0
Top = 28
Width = 25
Height = 25
Hint = 'Move files up'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btFileUpClick
end
object btFileDown: TTntSpeedButton
Left = 0
Top = 56
Width = 25
Height = 25
Hint = 'Move files down'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btFileDownClick
end
object btFileBottom: TTntSpeedButton
Left = 0
Top = 84
Width = 25
Height = 25
Hint = 'Move files to bottom'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btFileBottomClick
end
object btFileAdd: TTntSpeedButton
Left = 0
Top = 117
Width = 25
Height = 25
Hint = 'Add files'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btFileAddClick
end
object btFileRemove: TTntSpeedButton
Left = 0
Top = 145
Width = 25
Height = 25
Hint = 'Remove files'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btFileRemoveClick
end
object btFileSave: TTntSpeedButton
Left = 0
Top = 178
Width = 25
Height = 25
Hint = 'Save copy list'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btFileSaveClick
end
object btFileLoad: TTntSpeedButton
Left = 0
Top = 206
Width = 25
Height = 25
Hint = 'Load copy list'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btFileLoadClick
end
object lvFileList: TTntListView
Left = 25
Top = 0
Width = 371
Height = 233
Anchors = [akLeft, akTop, akRight, akBottom]
BevelInner = bvLowered
BevelOuter = bvNone
Columns = <
item
Caption = 'Source'
Width = 250
end
item
Alignment = taRightJustify
Caption = 'Size'
Width = 75
end
item
Caption = 'Destination'
Width = 300
end>
HideSelection = False
MultiSelect = True
OwnerData = True
ReadOnly = True
RowSelect = True
PopupMenu = pmFileContext
TabOrder = 0
ViewStyle = vsReport
OnColumnClick = lvFileListColumnClick
OnData = lvFileListData
end
end
object tsErrors: TTntTabSheet
Caption = 'Error log'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ImageIndex = 9
ParentFont = False
DesignSize = (
396
239)
object btErrorClear: TTntSpeedButton
Left = 0
Top = 0
Width = 25
Height = 25
Hint = 'Clear log'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btErrorClearClick
end
object btErrorSaveLog: TTntSpeedButton
Left = 0
Top = 28
Width = 25
Height = 25
Hint = 'Save log'
Flat = True
ParentShowHint = False
ShowHint = True
OnClick = btErrorSaveLogClick
end
object lvErrorList: TTntListView
Left = 25
Top = 0
Width = 371
Height = 233
Anchors = [akLeft, akTop, akRight, akBottom]
BevelInner = bvLowered
BevelOuter = bvNone
Columns = <
item
Caption = 'Time'
Width = 65
end
item
Caption = 'Action'
Width = 75
end
item
Caption = 'Target'
Width = 200
end
item
Caption = 'Error text'
Width = 300
end>
ColumnClick = False
HideSelection = False
MultiSelect = True
ReadOnly = True
RowSelect = True
TabOrder = 0
ViewStyle = vsReport
OnData = lvFileListData
end
end
object tsOptions: TTntTabSheet
Caption = 'Options'
ImageIndex = 4
DesignSize = (
396
239)
object gbSpeedLimit: TTntGroupBox
Left = 8
Top = 51
Width = 381
Height = 44
Anchors = [akLeft, akTop, akRight]
Caption = 'Speed limit'
TabOrder = 1
DesignSize = (
381
44)
object llCustomSpeedLimit: TTntLabel
Left = 357
Top = 17
Width = 14
Height = 13
Anchors = [akTop, akRight]
Caption = 'KB'
Enabled = False
end
object llSpeedLimit: TTntLabel
Left = 298
Top = 17
Width = 73
Height = 13
Alignment = taRightJustify
Anchors = [akTop, akRight]
AutoSize = False
Caption = 'llSpeedLimit'
Enabled = False
Visible = False
end
object chSpeedLimit: TTntCheckBox
Left = 8
Top = 16
Width = 73
Height = 17
Caption = 'Enabled'
TabOrder = 0
OnClick = chSpeedLimitClick
end
object tbSpeedLimit: TScTrackBar
Left = 80
Top = 13
Width = 209
Height = 23
Anchors = [akLeft, akTop, akRight]
Enabled = False
Max = 52
TabOrder = 1
TickMarks = tmBoth
TickStyle = tsNone
OnChange = tbSpeedLimitChange
end
object edCustomSpeedLimit: TTntEdit
Left = 296
Top = 14
Width = 57
Height = 21
Anchors = [akTop, akRight]
Enabled = False
TabOrder = 2
Text = 'edCustomSpeedLimit'
OnChange = edCustomSpeedLimitChange
OnKeyPress = edCustomSpeedLimitKeyPress
end
end
object gbCollisions: TTntGroupBox
Left = 8
Top = 99
Width = 381
Height = 44
Anchors = [akLeft, akTop, akRight]
Caption = 'File collisions'
TabOrder = 2
DesignSize = (
381
44)
object llCollisions: TTntLabel
Left = 8
Top = 18
Width = 161
Height = 13
Caption = 'When a file already exists, always:'
end
object cbCollisions: TTntComboBox
Left = 184
Top = 14
Width = 189
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
ItemHeight = 13
ItemIndex = 0
TabOrder = 0
Text = 'Ask what to do'
OnChange = cbCollisionsChange
Items.Strings = (
'Ask what to do'
'Cancel the whole copy'
'Skip'
'Resume transfer'
'Overwrite'
'Overwrite if different'
'Rename new file'
'Rename old file')
end
end
object gbCopyErrors: TTntGroupBox
Left = 8
Top = 147
Width = 381
Height = 44
Anchors = [akLeft, akTop, akRight]
Caption = 'Copy errors'
TabOrder = 3
DesignSize = (
381
44)
object llCopyErrors: TTntLabel
Left = 8
Top = 18
Width = 166
Height = 13
Caption = 'When there is a copy error, always:'
end
object cbCopyError: TTntComboBox
Left = 184
Top = 14
Width = 189
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
ItemHeight = 13
ItemIndex = 0
TabOrder = 0
Text = 'Ask what to do'
OnChange = cbCopyErrorChange
Items.Strings = (
'Ask what to do'
'Cancel then whole copy'
'Skip'
'Retry'
'Put the file at the copy list bottom')
end
end
object gbCopyEnd: TTntGroupBox
Left = 8
Top = 3
Width = 381
Height = 44
Anchors = [akLeft, akTop, akRight]
Caption = 'Copy end'
TabOrder = 0
DesignSize = (
381
44)
object llCopyEnd: TTntLabel
Left = 8
Top = 18
Width = 108
Height = 13
Caption = 'At the end of the copy:'
end
object cbCopyEnd: TTntComboBox
Left = 184
Top = 13
Width = 189
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
ItemHeight = 13
ItemIndex = 0
TabOrder = 0
Text = 'Close the window'
OnChange = cbCopyEndChange
Items.Strings = (
'Close the window'
'Don'#39't close the window'
'Don'#39't close if there was errors')
end
end
object btSaveDefaultCfg: TTntButton
Left = 192
Top = 199
Width = 196
Height = 25
Anchors = [akTop, akRight]
Caption = 'Set as default options'
TabOrder = 4
OnClick = btSaveDefaultCfgClick
end
end
end
object btCancel: TScPopupButton
Left = 329
Top = 116
Width = 65
Height = 25
TabOrder = 5
TabStop = True
Anchors = [akTop, akRight]
ItemIndex = 0
Caption = 'Cancel'
ImageIndex = 6
ImageList = MainForm.ilGlobal
OnClick = btCancelClick
end
object btSkip: TScPopupButton
Left = 257
Top = 116
Width = 65
Height = 25
TabOrder = 4
TabStop = True
Anchors = [akTop, akRight]
ItemIndex = 0
Caption = 'Skip'
ImageIndex = 19
ImageList = MainForm.ilGlobal
OnClick = btSkipClick
end
object btPause: TScPopupButton
Left = 185
Top = 116
Width = 65
Height = 25
TabOrder = 2
TabStop = True
Anchors = [akTop, akRight]
ItemIndex = 0
Caption = 'Pause'
ImageIndex = 25
ImageList = MainForm.ilGlobal
OnClick = btPauseClick
end
object btResume: TScPopupButton
Left = 185
Top = 116
Width = 65
Height = 25
Visible = False
TabOrder = 3
TabStop = True
Anchors = [akTop, akRight]
ItemIndex = 0
Caption = 'Resume'
ImageIndex = 26
ImageList = MainForm.ilGlobal
OnClick = btPauseClick
end
object btUnfold: TScPopupButton
Left = 113
Top = 116
Width = 65
Height = 25
TabOrder = 1
TabStop = True
Anchors = [akTop, akRight]
ItemIndex = 0
Caption = 'Unfold'
ImageIndex = 24
ImageList = MainForm.ilGlobal
OnClick = btUnfoldClick
end
object btFold: TScPopupButton
Left = 113
Top = 116
Width = 65
Height = 25
TabOrder = 0
TabStop = True
Anchors = [akTop, akRight]
ItemIndex = 0
Caption = 'Fold up'
ImageIndex = 23
ImageList = MainForm.ilGlobal
OnClick = btUnfoldClick
end
object pmFileContext: TTntPopupMenu
AutoHotkeys = maManual
Images = MainForm.ilGlobal
TrackButton = tbLeftButton
Left = 204
Top = 366
object miTop: TTntMenuItem
Caption = 'Top'
ImageIndex = 12
ShortCut = 16468
OnClick = btFileTopClick
end
object miUp: TTntMenuItem
Caption = 'Up'
ImageIndex = 10
ShortCut = 16469
OnClick = btFileUpClick
end
object miDown: TTntMenuItem
Caption = 'Down'
ImageIndex = 11
ShortCut = 16452
OnClick = btFileDownClick
end
object miBottom: TTntMenuItem
Caption = 'Bottom'
ImageIndex = 13
ShortCut = 16450
OnClick = btFileBottomClick
end
object N1: TTntMenuItem
Caption = '-'
end
object miRemove: TTntMenuItem
Caption = 'Remove'
ImageIndex = 15
ShortCut = 46
OnClick = btFileRemoveClick
end
object N2: TTntMenuItem
Caption = '-'
end
object miSelectAll: TTntMenuItem
Caption = 'Select all'
ShortCut = 16449
OnClick = miSelectAllClick
end
object miInvert: TTntMenuItem
Caption = 'Invert selection'
ShortCut = 16457
OnClick = miInvertClick
end
object N4: TTntMenuItem
Caption = '-'
end
object miSort: TTntMenuItem
Caption = 'Sort by'
object miBySrcFullPath: TTntMenuItem
Tag = 1
Caption = 'Source full path'
OnClick = miBySrcFullPathClick
end
object miBySrcName: TTntMenuItem
Tag = 2
Caption = 'Source name'
OnClick = miBySrcNameClick
end
object miBySrcExt: TTntMenuItem
Tag = 3
Caption = 'Source extension'
OnClick = miBySrcExtClick
end
object miByDestFullPath: TTntMenuItem
Tag = 4
Caption = 'Destination full path'
OnClick = miByDestFullPathClick
end
object miBySize: TTntMenuItem
Tag = 5
Caption = 'Size'
OnClick = miBySizeClick
end
end
end
object pmNewFiles: TTntPopupMenu
AutoHotkeys = maManual
TrackButton = tbLeftButton
Left = 236
Top = 366
object miDefaultDest: TTntMenuItem
Caption = 'Use default destination folder ()'
Default = True
OnClick = miDefaultDestClick
end
object miChooseDest: TTntMenuItem
Caption = 'Choose destination folder...'
OnClick = miChooseDestClick
end
object miChooseSetDefault: TTntMenuItem
Caption = 'Choose destination folder and set it as default...'
OnClick = miChooseSetDefaultClick
end
object N3: TTntMenuItem
Caption = '-'
end
object miCancel: TTntMenuItem
Caption = 'Cancel'
OnClick = miCancelClick
end
end
object odCopyList: TTntOpenDialog
DefaultExt = 'scl'
Filter = 'SuperCopier2 Copy List (*.scl)|*.scl'
Options = [ofHideReadOnly, ofFileMustExist, ofEnableSizing]
Left = 300
Top = 366
end
object sdCopyList: TTntSaveDialog
DefaultExt = 'scl'
Filter = 'SuperCopier2 Copy List (*.scl)|*.scl'
Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
Left = 332
Top = 366
end
object sdErrorLog: TTntSaveDialog
DefaultExt = 'txt'
FileName = 'errorlog.txt'
Filter = 'Text files (*.txt)|*.txt'
Left = 364
Top = 366
end
object odFileAdd: TTntOpenDialog
Filter = 'Any file (*.*)'
Options = [ofHideReadOnly, ofAllowMultiSelect, ofPathMustExist, ofFileMustExist, ofShareAware, ofEnableSizing]
Left = 268
Top = 366
end
object pmFileAdd: TTntPopupMenu
AutoHotkeys = maManual
TrackButton = tbLeftButton
Left = 172
Top = 366
object miAddFiles: TTntMenuItem
Caption = 'Add files...'
OnClick = miAddFilesClick
end
object miAddFolder: TTntMenuItem
Caption = 'Add folder...'
OnClick = miAddFolderClick
end
end
object Systray: TScSystray
Popup = pmSystray
Visible = False
OnMouseDown = SystrayMouseDown
OnBallonClick = SystrayMouseDown
Left = 107
Top = 366
end
object tiSystray: TTimer
Enabled = False
Interval = 500
OnTimer = tiSystrayTimer
Left = 75
Top = 366
end
object pmSystray: TTntPopupMenu
AutoHotkeys = maManual
Images = MainForm.ilGlobal
TrackButton = tbLeftButton
Left = 140
Top = 366
object miStResume: TTntMenuItem
Caption = 'Resume'
ImageIndex = 26
Visible = False
OnClick = miStPauseClick
end
object miStPause: TTntMenuItem
Caption = 'Pause'
ImageIndex = 25
OnClick = miStPauseClick
end
object miStCancel: TTntMenuItem
Caption = 'Cancel'
ImageIndex = 6
OnClick = miStCancelClick
end
end
end