-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCleanupPreviewForm.dfm
More file actions
301 lines (301 loc) · 6.93 KB
/
CleanupPreviewForm.dfm
File metadata and controls
301 lines (301 loc) · 6.93 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
object frmCleanupPreview: TfrmCleanupPreview
Left = 0
Top = 0
Caption = '清理预览'
ClientHeight = 600
ClientWidth = 800
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
Position = poScreenCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object pnlMain: TPanel
Left = 0
Top = 0
Width = 800
Height = 600
Align = alClient
BevelOuter = bvNone
TabOrder = 0
object pnlTop: TPanel
Left = 0
Top = 0
Width = 800
Height = 80
Align = alTop
BevelOuter = bvNone
BorderWidth = 8
TabOrder = 0
object lblTitle: TLabel
Left = 8
Top = 8
Width = 120
Height = 19
Caption = '智能清理预览'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
end
object lblSubtitle: TLabel
Left = 8
Top = 35
Width = 250
Height = 13
Caption = '预览将要清理的项目,选择安全级别并确认操作'
end
object pnlSafety: TPanel
Left = 8
Top = 54
Width = 300
Height = 26
BevelOuter = bvNone
TabOrder = 0
object lblSafety: TLabel
Left = 0
Top = 4
Width = 60
Height = 13
Caption = '安全级别:'
end
object cbSafetyLevel: TComboBox
Left = 66
Top = 0
Width = 120
Height = 21
Style = csDropDownList
TabOrder = 0
OnChange = cbSafetyLevelChange
end
object btnPreview: TButton
Left = 192
Top = 0
Width = 75
Height = 23
Caption = '刷新预览'
TabOrder = 1
OnClick = btnPreviewClick
end
end
end
object pnlProgress: TPanel
Left = 0
Top = 80
Width = 800
Height = 60
Align = alTop
BevelOuter = bvNone
BorderWidth = 8
TabOrder = 1
Visible = False
object ProgressBar: TProgressBar
Left = 8
Top = 8
Width = 784
Height = 16
Align = alTop
TabOrder = 0
end
object lblProgress: TLabel
Left = 8
Top = 32
Width = 784
Height = 13
Align = alTop
Caption = '正在预览...'
end
end
object pnlResults: TPanel
Left = 0
Top = 140
Width = 800
Height = 460
Align = alClient
BevelOuter = bvNone
TabOrder = 2
object pnlSummary: TPanel
Left = 0
Top = 0
Width = 800
Height = 80
Align = alTop
BevelOuter = bvLowered
BorderWidth = 8
TabOrder = 0
object lblTotalItems: TLabel
Left = 8
Top = 8
Width = 60
Height = 13
Caption = '清理项目: 0'
end
object lblTotalSize: TLabel
Left = 8
Top = 27
Width = 60
Height = 13
Caption = '总大小: 0'
end
object lblSafeItems: TLabel
Left = 200
Top = 8
Width = 60
Height = 13
Caption = '安全项目: 0'
end
object lblRiskyItems: TLabel
Left = 200
Top = 27
Width = 60
Height = 13
Caption = '风险项目: 0'
end
object lblEstimatedTime: TLabel
Left = 400
Top = 8
Width = 60
Height = 13
Caption = '预计时间: 0'
end
object chkShowRisky: TCheckBox
Left = 400
Top = 26
Width = 120
Height = 17
Caption = '显示风险项目'
TabOrder = 0
OnClick = chkShowRiskyClick
end
end
object pnlItems: TPanel
Left = 0
Top = 80
Width = 800
Height = 300
Align = alClient
BevelOuter = bvNone
BorderWidth = 8
TabOrder = 1
object lvItems: TListView
Left = 8
Top = 8
Width = 784
Height = 284
Align = alClient
Checkboxes = True
Columns = <
item
Caption = '项目名称'
Width = 200
end
item
Caption = '类型'
Width = 100
end
item
Alignment = taRightJustify
Caption = '大小'
Width = 120
end
item
Alignment = taRightJustify
Caption = '文件数量'
Width = 80
end
item
Caption = '风险等级'
Width = 80
end
item
Caption = '描述'
Width = 200
end>
GridLines = True
RowSelect = True
TabOrder = 0
ViewStyle = vsReport
OnCustomDrawItem = lvItemsCustomDrawItem
OnColumnClick = lvItemsColumnClick
end
end
object pnlButtons: TPanel
Left = 0
Top = 380
Width = 800
Height = 80
Align = alBottom
BevelOuter = bvNone
BorderWidth = 8
TabOrder = 2
object btnSelectAll: TButton
Left = 8
Top = 8
Width = 75
Height = 25
Caption = '全选'
TabOrder = 0
OnClick = btnSelectAllClick
end
object btnSelectSafe: TButton
Left = 89
Top = 8
Width = 75
Height = 25
Caption = '选择安全'
TabOrder = 1
OnClick = btnSelectSafeClick
end
object btnDeselectAll: TButton
Left = 170
Top = 8
Width = 75
Height = 25
Caption = '全不选'
TabOrder = 2
OnClick = btnDeselectAllClick
end
object btnCleanSelected: TButton
Left = 251
Top = 8
Width = 100
Height = 25
Caption = '清理选中'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
OnClick = btnCleanSelectedClick
end
object btnCancel: TButton
Left = 640
Top = 8
Width = 75
Height = 25
Caption = '取消'
TabOrder = 4
OnClick = btnCancelClick
end
object btnClose: TButton
Left = 721
Top = 8
Width = 75
Height = 25
Caption = '关闭'
TabOrder = 5
OnClick = btnCloseClick
end
end
end
end
end