This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unitformsettings.lfm
240 lines (240 loc) · 5.83 KB
/
unitformsettings.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
object FormSettings: TFormSettings
Left = 399
Height = 316
Top = 205
Width = 473
BorderIcons = [biSystemMenu, biMaximize]
Caption = 'Aria2 Settings'
ClientHeight = 316
ClientWidth = 473
LCLVersion = '3.99.0.0'
OnClose = FormClose
OnCreate = FormCreate
object btnOK: TButton
Left = 385
Height = 25
Top = 283
Width = 75
Anchors = [akRight, akBottom]
Caption = 'OK'
TabOrder = 0
OnClick = btnOKClick
end
object btnCancel: TButton
Left = 308
Height = 25
Top = 283
Width = 75
Anchors = [akRight, akBottom]
Caption = 'Cancel'
TabOrder = 1
OnClick = btnCancelClick
end
object PageControl1: TPageControl
Left = 0
Height = 283
Top = 0
Width = 473
ActivePage = TabSheet2
Anchors = [akTop, akLeft, akRight, akBottom]
TabIndex = 1
TabOrder = 2
object TabSheet1: TTabSheet
Caption = 'PRC'
ClientHeight = 253
ClientWidth = 465
object Label2: TLabel
Left = 8
Height = 17
Top = 104
Width = 120
Caption = 'RPC secret(Optional)'
end
object Label1: TLabel
Left = 8
Height = 17
Top = 48
Width = 86
Caption = 'RPC listen port'
end
object speRPCPort: TSpinEdit
Left = 8
Height = 25
Top = 64
Width = 120
MaxValue = 65535
MinValue = 1024
TabOrder = 0
Value = 6800
end
object ckbListenAll: TCheckBox
Left = 8
Height = 21
Top = 8
Width = 279
Caption = 'Listen RPC requests on all network interfaces'
TabOrder = 1
end
object edtRPCPassword: TEdit
Left = 8
Height = 25
Top = 126
Width = 452
Anchors = [akTop, akLeft, akRight]
TabOrder = 2
TextHint = 'For secure your aira2, we suggest you use a secret'
end
end
object TabSheet2: TTabSheet
Caption = 'Download'
ClientHeight = 253
ClientWidth = 465
object edtDownloadPath: TLabeledEdit
Left = 8
Height = 25
Top = 32
Width = 372
Anchors = [akTop, akLeft, akRight]
EditLabel.Height = 17
EditLabel.Width = 372
EditLabel.Caption = 'Default path'
TabOrder = 0
end
object edtDownloadUA: TLabeledEdit
Left = 8
Height = 25
Top = 80
Width = 452
Anchors = [akTop, akLeft, akRight]
EditLabel.Height = 17
EditLabel.Width = 452
EditLabel.Caption = 'Default User-agemt'
TabOrder = 1
TextHint = '"aria2/$VERSION" if there is empty'
end
object btnDownloadPathBrowse: TButton
Left = 385
Height = 25
Top = 31
Width = 75
Anchors = [akTop, akRight]
Caption = 'Browse...'
TabOrder = 2
OnClick = btnDownloadPathBrowseClick
end
object Label3: TLabel
Left = 8
Height = 17
Top = 109
Width = 64
Caption = 'UA presets'
end
object cbxUAPresets: TComboBox
Left = 80
Height = 25
Top = 109
Width = 376
Anchors = [akTop, akLeft, akRight]
ItemHeight = 17
Items.Strings = (
'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0'
'Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0'
'curl/7.54.1'
'aria2/1.36.0'
'Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/114.0 Firefox/114.0'
'Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/98.0.4758.85 Mobile/15E148 Safari/604.1'
)
ReadOnly = True
TabOrder = 3
OnChange = cbxUAPresetsChange
end
object speMaxTasks: TSpinEdit
Left = 8
Height = 25
Top = 152
Width = 162
MaxValue = 64
TabOrder = 4
end
object Label5: TLabel
Left = 8
Height = 17
Top = 136
Width = 62
Caption = 'Max Tasks'
end
object Label6: TLabel
Left = 184
Height = 17
Top = 136
Width = 100
Caption = 'Max Connections'
end
object speMaxConn: TSpinEdit
Left = 184
Height = 25
Top = 152
Width = 162
MaxValue = 64
TabOrder = 5
end
object edtProxy: TLabeledEdit
Left = 8
Height = 25
Top = 200
Width = 448
EditLabel.Height = 17
EditLabel.Width = 448
EditLabel.Caption = 'Proxy'
TabOrder = 6
TextHint = '[http://][USER:PASSWORD@]HOST[:PORT]'
end
end
object TabSheet3: TTabSheet
Caption = 'Trackers'
ClientHeight = 253
ClientWidth = 465
object memoTracker: TMemo
Left = 8
Height = 178
Top = 32
Width = 447
Anchors = [akTop, akLeft, akRight, akBottom]
ScrollBars = ssAutoBoth
TabOrder = 0
end
object Label4: TLabel
Left = 8
Height = 17
Top = 8
Width = 176
Caption = 'BT Trackers(One URL per line)'
end
object btnUpdateTrackersFromURL: TButton
Left = 8
Height = 25
Top = 222
Width = 75
Anchors = [akLeft, akBottom]
Caption = 'Update'
TabOrder = 1
OnClick = btnUpdateTrackersFromURLClick
end
object btnTrackerSourceManage: TButton
AnchorSideLeft.Side = asrBottom
Left = 88
Height = 25
Top = 222
Width = 75
Anchors = [akLeft, akBottom]
Caption = 'Sources'
TabOrder = 2
OnClick = btnTrackerSourceManageClick
end
end
end
object SelectDirectoryDialog1: TSelectDirectoryDialog
Left = 32
Top = 240
end
end