-
Notifications
You must be signed in to change notification settings - Fork 0
/
unitformmain.lfm
229 lines (229 loc) · 4.43 KB
/
unitformmain.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
object FormMain: TFormMain
Left = 503
Height = 347
Top = 262
Width = 616
Caption = 'ifloppy/Naria'
ClientHeight = 347
ClientWidth = 616
LCLVersion = '3.99.0.0'
OnClose = FormClose
OnCreate = FormCreate
object btnSettings: TButton
Left = 8
Height = 25
Top = 294
Width = 99
Anchors = [akLeft, akBottom]
Caption = 'Settings'
TabOrder = 0
OnClick = btnSettingsClick
end
object btnPauseAll: TButton
Left = 535
Height = 25
Top = 8
Width = 75
Anchors = [akTop, akRight]
Caption = 'Pause all'
TabOrder = 1
OnClick = btnPauseAllClick
end
object btnUnpauseAll: TButton
Left = 455
Height = 25
Top = 8
Width = 75
Anchors = [akTop, akRight]
Caption = 'Resume all'
TabOrder = 2
OnClick = btnUnpauseAllClick
end
object btnNewTask: TButton
Left = 8
Height = 25
Top = 8
Width = 99
Caption = 'New Task'
TabOrder = 3
OnClick = btnNewTaskClick
end
object sb: TStatusBar
Left = 0
Height = 23
Top = 324
Width = 616
Panels = <
item
Text = 'Download speed'
Width = 120
end
item
Text = 'Upload speed'
Width = 120
end
item
Text = 'Waiting num'
Width = 120
end>
SimplePanel = False
end
object ListView1: TListView
Left = 112
Height = 276
Top = 40
Width = 498
Anchors = [akTop, akLeft, akRight, akBottom]
Columns = <
item
AutoSize = True
Caption = 'gid'
Width = 36
end
item
AutoSize = True
Caption = 'Name'
Width = 52
end
item
AutoSize = True
Caption = 'Downloaded size'
Width = 117
end
item
AutoSize = True
Caption = 'Total size'
Width = 72
end
item
AutoSize = True
Caption = 'Progress'
Width = 69
end
item
AutoSize = True
Caption = 'Uploaded size'
Width = 101
end
item
AutoSize = True
Caption = 'Download speed'
Width = 116
end
item
AutoSize = True
Caption = 'Status'
Width = 52
end
item
Caption = 'URL'
end>
ReadOnly = True
ScrollBars = ssAutoBoth
TabOrder = 5
ViewStyle = vsReport
OnContextPopup = ListView1ContextPopup
end
object ckbRefreshTaskList: TCheckBox
Left = 112
Height = 21
Top = 12
Width = 172
Caption = 'Refresh download task list'
Checked = True
State = cbChecked
TabOrder = 6
OnChange = ckbRefreshTaskListChange
end
object cbxListType: TComboBox
Left = 7
Height = 23
Top = 160
Width = 100
ItemHeight = 17
ReadOnly = True
Style = csOwnerDrawFixed
TabOrder = 7
end
object lblNumDownloading: TLabel
Left = 7
Height = 17
Top = 56
Width = 47
Caption = 'Loading'
end
object lblTextDownloading: TLabel
Left = 7
Height = 1
Top = 40
Width = 1
end
object lblNumWaiting: TLabel
Left = 7
Height = 17
Top = 96
Width = 47
Caption = 'Loading'
end
object lblTextWaiting: TLabel
Left = 7
Height = 1
Top = 80
Width = 1
end
object lblNumStopped: TLabel
Left = 7
Height = 17
Top = 136
Width = 47
Caption = 'Loading'
end
object lblTextStopped: TLabel
Left = 7
Height = 1
Top = 120
Width = 1
end
object client: TCeosClient
Left = 112
Top = 40
end
object TimerRealtimeStats: TTimer
Interval = 2000
OnTimer = TimerRealtimeStatsTimer
Left = 112
Top = 96
end
object TimerRefreshTaskList: TTimer
Interval = 2500
OnTimer = TimerRefreshTaskListTimer
Left = 112
Top = 152
end
object PopupMenuDownloadTask: TPopupMenu
OnPopup = PopupMenuDownloadTaskPopup
OnClose = PopupMenuDownloadTaskClose
Left = 112
Top = 216
object mniTaskResume: TMenuItem
Caption = 'Resume'
Enabled = False
OnClick = mniTaskResumeClick
end
object mniTaskPause: TMenuItem
Caption = 'Pause'
Enabled = False
OnClick = mniTaskPauseClick
end
object mniTaskDelete: TMenuItem
Caption = 'Delete'
Enabled = False
OnClick = mniTaskDeleteClick
end
object mniTaskCopyURL: TMenuItem
Caption = 'Copy URL'
Enabled = False
OnClick = mniTaskCopyURLClick
end
end
end