-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuAdvancedFileManagerForm.dfm
More file actions
748 lines (675 loc) · 17.4 KB
/
uAdvancedFileManagerForm.dfm
File metadata and controls
748 lines (675 loc) · 17.4 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
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
object frmAdvancedFileManager: TfrmAdvancedFileManager
Left = 0
Top = 0
Caption = '高级文件管理器'
ClientHeight = 600
ClientWidth = 900
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
WindowState = wsMaximized
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object pnlMain: TPanel
Left = 0
Top = 0
Width = 900
Height = 555
Align = alClient
BevelOuter = bvNone
TabOrder = 0
object pgcMain: TPageControl
Left = 0
Top = 0
Width = 900
Height = 555
ActivePage = tsFileSearch
Align = alClient
TabOrder = 0
object tsFileSearch: TTabSheet
Caption = '文件搜索'
object pnlSearchCriteria: TPanel
Left = 0
Top = 0
Width = 892
Height = 140
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 0
object lblSearchPath: TLabel
Left = 16
Top = 16
Width = 60
Height = 13
Caption = '搜索路径:'
end
object lblNamePattern: TLabel
Left = 16
Top = 48
Width = 60
Height = 13
Caption = '文件名称:'
end
object lblSizeRange: TLabel
Left = 350
Top = 48
Width = 60
Height = 13
Caption = '文件大小:'
end
object lblSizeTo: TLabel
Left = 520
Top = 48
Width = 12
Height = 13
Caption = '到'
end
object lblDateRange: TLabel
Left = 16
Top = 80
Width = 60
Height = 13
Caption = '修改时间:'
end
object lblDateTo: TLabel
Left = 220
Top = 80
Width = 12
Height = 13
Caption = '到'
end
object edtSearchPath: TEdit
Left = 82
Top = 13
Width = 200
Height = 21
TabOrder = 0
end
object btnBrowseSearchPath: TBitBtn
Left = 288
Top = 12
Width = 30
Height = 23
Caption = '...'
TabOrder = 1
OnClick = btnBrowseSearchPathClick
end
object edtNamePattern: TEdit
Left = 82
Top = 45
Width = 200
Height = 21
TabOrder = 2
end
object chkUseRegex: TCheckBox
Left = 288
Top = 47
Width = 50
Height = 17
Caption = '正则'
TabOrder = 3
end
object edtMinSize: TEdit
Left = 416
Top = 45
Width = 80
Height = 21
TabOrder = 4
end
object edtMaxSize: TEdit
Left = 540
Top = 45
Width = 80
Height = 21
TabOrder = 5
end
object cmbSizeUnit: TComboBox
Left = 626
Top = 45
Width = 50
Height = 21
Style = csDropDownList
ItemIndex = 2
TabOrder = 6
Text = 'MB'
Items.Strings = (
'B'
'KB'
'MB'
'GB')
end
object dtpDateFrom: TDateTimePicker
Left = 82
Top = 77
Width = 130
Height = 21
Date = 44927.000000000000000000
Time = 44927.000000000000000000
TabOrder = 7
end
object dtpDateTo: TDateTimePicker
Left = 240
Top = 77
Width = 130
Height = 21
Date = 44927.000000000000000000
Time = 44927.000000000000000000
TabOrder = 8
end
object chkIncludeSubdirs: TCheckBox
Left = 400
Top = 15
Width = 97
Height = 17
Caption = '包含子目录'
Checked = True
State = cbChecked
TabOrder = 9
end
object chkIncludeHidden: TCheckBox
Left = 520
Top = 15
Width = 97
Height = 17
Caption = '包含隐藏文件'
TabOrder = 10
end
object chkIncludeSystem: TCheckBox
Left = 640
Top = 15
Width = 97
Height = 17
Caption = '包含系统文件'
TabOrder = 11
end
object btnStartSearch: TBitBtn
Left = 400
Top = 105
Width = 80
Height = 25
Caption = '开始搜索'
TabOrder = 12
OnClick = btnStartSearchClick
end
object btnCancelSearch: TBitBtn
Left = 490
Top = 105
Width = 80
Height = 25
Caption = '取消'
Enabled = False
TabOrder = 13
OnClick = btnCancelSearchClick
end
end
object lvSearchResults: TListView
Left = 0
Top = 140
Width = 892
Height = 387
Align = alClient
Columns = <
item
Caption = '文件名'
Width = 200
end
item
Caption = '路径'
Width = 300
end
item
Caption = '大小'
Width = 100
end
item
Caption = '修改时间'
Width = 150
end
item
Caption = '类型'
Width = 100
end>
FullExpand = True
GridLines = True
PopupMenu = pmFileList
ReadOnly = True
RowSelect = True
TabOrder = 1
ViewStyle = vsReport
OnDblClick = lvSearchResultsDblClick
end
end
object tsDuplicateFiles: TTabSheet
Caption = '重复文件'
ImageIndex = 1
object pnlDuplicateControls: TPanel
Left = 0
Top = 0
Width = 892
Height = 50
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 0
object lblDuplicatePath: TLabel
Left = 16
Top = 18
Width = 60
Height = 13
Caption = '扫描路径:'
end
object edtDuplicatePath: TEdit
Left = 82
Top = 15
Width = 200
Height = 21
TabOrder = 0
end
object btnBrowseDuplicatePath: TBitBtn
Left = 288
Top = 14
Width = 30
Height = 23
Caption = '...'
TabOrder = 1
OnClick = btnBrowseDuplicatePathClick
end
object btnFindDuplicates: TBitBtn
Left = 340
Top = 13
Width = 80
Height = 25
Caption = '开始扫描'
TabOrder = 2
OnClick = btnFindDuplicatesClick
end
object btnCancelDuplicate: TBitBtn
Left = 430
Top = 13
Width = 80
Height = 25
Caption = '取消'
Enabled = False
TabOrder = 3
OnClick = btnCancelDuplicateClick
end
end
object tvDuplicateGroups: TTreeView
Left = 0
Top = 50
Width = 450
Height = 477
Align = alLeft
Indent = 19
PopupMenu = pmFileList
ReadOnly = True
ShowButtons = True
ShowLines = True
TabOrder = 1
OnChange = tvDuplicateGroupsChange
end
object pnlDuplicateInfo: TPanel
Left = 450
Top = 50
Width = 442
Height = 477
Align = alClient
BevelOuter = bvNone
TabOrder = 2
object lblDuplicateInfo: TLabel
Left = 16
Top = 16
Width = 100
Height = 13
Caption = '重复文件信息:'
end
object btnDeleteSelected: TBitBtn
Left = 16
Top = 450
Width = 80
Height = 25
Caption = '删除选中'
TabOrder = 0
OnClick = btnDeleteSelectedClick
end
object btnKeepNewest: TBitBtn
Left = 106
Top = 450
Width = 80
Height = 25
Caption = '保留最新'
TabOrder = 1
OnClick = btnKeepNewestClick
end
object btnKeepLargest: TBitBtn
Left = 196
Top = 450
Width = 80
Height = 25
Caption = '保留最大'
TabOrder = 2
OnClick = btnKeepLargestClick
end
end
end
object tsLargeFiles: TTabSheet
Caption = '大文件'
ImageIndex = 2
object pnlLargeFileControls: TPanel
Left = 0
Top = 0
Width = 892
Height = 50
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 0
object lblLargePath: TLabel
Left = 16
Top = 18
Width = 60
Height = 13
Caption = '扫描路径:'
end
object lblMinFileSize: TLabel
Left = 340
Top = 18
Width = 84
Height = 13
Caption = '最小文件大小:'
end
object edtLargePath: TEdit
Left = 82
Top = 15
Width = 200
Height = 21
TabOrder = 0
end
object btnBrowseLargePath: TBitBtn
Left = 288
Top = 14
Width = 30
Height = 23
Caption = '...'
TabOrder = 1
OnClick = btnBrowseLargePathClick
end
object edtMinFileSize: TEdit
Left = 430
Top = 15
Width = 80
Height = 21
Text = '100'
TabOrder = 2
end
object cmbFileSizeUnit: TComboBox
Left = 516
Top = 15
Width = 50
Height = 21
Style = csDropDownList
ItemIndex = 2
TabOrder = 3
Text = 'MB'
Items.Strings = (
'B'
'KB'
'MB'
'GB')
end
object btnFindLargeFiles: TBitBtn
Left = 580
Top = 13
Width = 80
Height = 25
Caption = '开始扫描'
TabOrder = 4
OnClick = btnFindLargeFilesClick
end
object btnCancelLarge: TBitBtn
Left = 670
Top = 13
Width = 80
Height = 25
Caption = '取消'
Enabled = False
TabOrder = 5
OnClick = btnCancelLargeClick
end
end
object lvLargeFiles: TListView
Left = 0
Top = 50
Width = 892
Height = 477
Align = alClient
Columns = <
item
Caption = '文件名'
Width = 200
end
item
Caption = '路径'
Width = 300
end
item
Caption = '大小'
Width = 100
end
item
Caption = '修改时间'
Width = 150
end>
FullExpand = True
GridLines = True
PopupMenu = pmFileList
ReadOnly = True
RowSelect = True
TabOrder = 1
ViewStyle = vsReport
OnDblClick = lvLargeFilesDblClick
end
end
object tsBatchOp: TTabSheet
Caption = '批量操作'
ImageIndex = 3
object pnlBatchControls: TPanel
Left = 0
Top = 0
Width = 892
Height = 80
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 0
object lblBatchOperation: TLabel
Left = 16
Top = 18
Width = 60
Height = 13
Caption = '操作类型:'
end
object lblTargetPath: TLabel
Left = 200
Top = 18
Width = 60
Height = 13
Caption = '目标路径:'
end
object cmbBatchOperation: TComboBox
Left = 82
Top = 15
Width = 100
Height = 21
Style = csDropDownList
ItemIndex = 0
TabOrder = 0
Text = '复制文件'
OnChange = cmbBatchOperationChange
Items.Strings = (
'复制文件'
'移动文件'
'删除文件'
'重命名文件')
end
object edtTargetPath: TEdit
Left = 266
Top = 15
Width = 200
Height = 21
TabOrder = 1
end
object btnBrowseTargetPath: TBitBtn
Left = 472
Top = 14
Width = 30
Height = 23
Caption = '...'
TabOrder = 2
OnClick = btnBrowseTargetPathClick
end
object chkOverwrite: TCheckBox
Left = 520
Top = 17
Width = 97
Height = 17
Caption = '覆盖现有文件'
TabOrder = 3
end
object btnAddFiles: TBitBtn
Left = 16
Top = 47
Width = 80
Height = 25
Caption = '添加文件'
TabOrder = 4
OnClick = btnAddFilesClick
end
object btnRemoveFiles: TBitBtn
Left = 106
Top = 47
Width = 80
Height = 25
Caption = '移除文件'
TabOrder = 5
OnClick = btnRemoveFilesClick
end
object btnClearFiles: TBitBtn
Left = 196
Top = 47
Width = 80
Height = 25
Caption = '清空列表'
TabOrder = 6
OnClick = btnClearFilesClick
end
object btnExecuteBatch: TBitBtn
Left = 320
Top = 47
Width = 80
Height = 25
Caption = '执行操作'
TabOrder = 7
OnClick = btnExecuteBatchClick
end
end
object lvBatchFiles: TListView
Left = 0
Top = 80
Width = 892
Height = 447
Align = alClient
CheckBoxes = True
Columns = <
item
Caption = '文件名'
Width = 200
end
item
Caption = '路径'
Width = 400
end
item
Caption = '大小'
Width = 100
end>
GridLines = True
PopupMenu = pmFileList
RowSelect = True
TabOrder = 1
ViewStyle = vsReport
end
end
end
end
object pnlBottom: TPanel
Left = 0
Top = 555
Width = 900
Height = 45
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 1
object lblStatus: TLabel
Left = 16
Top = 16
Width = 24
Height = 13
Caption = '就绪'
end
object ProgressBar: TProgressBar
Left = 200
Top = 13
Width = 400
Height = 17
TabOrder = 0
Visible = False
end
object btnCancel: TBitBtn
Left = 810
Top = 10
Width = 75
Height = 25
Caption = '取消'
TabOrder = 1
OnClick = btnCancelClick
end
end
object pmFileList: TPopupMenu
Left = 100
Top = 200
object miOpenFile: TMenuItem
Caption = '打开文件'
OnClick = miOpenFileClick
end
object miOpenFolder: TMenuItem
Caption = '打开文件夹'
OnClick = miOpenFolderClick
end
object miCopyPath: TMenuItem
Caption = '复制路径'
OnClick = miCopyPathClick
end
object miSeparator1: TMenuItem
Caption = '-'
end
object miProperties: TMenuItem
Caption = '属性'
OnClick = miPropertiesClick
end
object miDelete: TMenuItem
Caption = '删除'
OnClick = miDeleteClick
end
end
end