-
Notifications
You must be signed in to change notification settings - Fork 1
/
SettingsUnit.fmx
504 lines (504 loc) · 9.98 KB
/
SettingsUnit.fmx
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
object SettingsForm: TSettingsForm
Left = 455
Top = 497
Caption = 'Settings'
ClientHeight = 432
ClientWidth = 350
Position = poOwnerFormCenter
OnCreate = FormCreate
object pcSettings: TTabControl
TabIndex = 0
Left = 0
Top = 0
Width = 350
Height = 391
Align = alClient
TabOrder = 0
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
object tsColumns: TTabItem
Text = 'Columns'
object Panel1: TPanel
Left = 0
Top = 0
Width = 342
Height = 65
Align = alTop
TabOrder = 0
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
object Label1: TLabel
Position.X = 8.000000000000000000
Position.Y = 8.000000000000000000
Width = 329
Height = 49
Text =
'At this page you can change the set of columns that appears at l' +
'ist in Search Quest tab'
Font.Style = []
AutoSize = False
end
end
object lvColumns: TJvListView
Left = 0
Top = 65
Width = 342
Height = 239
Align = alClient
Columns = <
item
Caption = 'FieldName'
Width = 180
end
item
Caption = 'Width'
Width = 80
end>
HideSelection = False
ReadOnly = True
RowSelect = True
TabOrder = 1
ViewStyle = vsReport
OnChange = lvColumnsChange
ColumnsOrder = '0=180,1=80'
ExtendedColumns = <
item
end
item
end>
end
object Panel2: TPanel
Left = 0
Top = 304
Width = 342
Height = 59
Align = alBottom
TabOrder = 2
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
object btAdd: TSpeedButton
Position.X = 288.000000000000000000
Position.Y = 24.000000000000000000
Width = 23
Height = 22
Hint = 'Add new column'
ParentShowHint = False
ShowHint = True
OnClick = btAddClick
WordWrap = True
end
object btDel: TSpeedButton
Position.X = 8.000000000000000000
Position.Y = 24.000000000000000000
Width = 23
Height = 22
Hint = 'Delete column'
ParentShowHint = False
ShowHint = True
OnClick = btDelClick
WordWrap = True
end
object btUp: TSpeedButton
Position.X = 32.000000000000000000
Position.Y = 24.000000000000000000
Width = 23
Height = 22
Hint = 'Move column up'
ParentShowHint = False
ShowHint = True
OnClick = btUpClick
WordWrap = True
end
object btDown: TSpeedButton
Position.X = 56.000000000000000000
Position.Y = 24.000000000000000000
Width = 23
Height = 22
Hint = 'move column down'
ParentShowHint = False
ShowHint = True
OnClick = btDownClick
WordWrap = True
end
object btUpdate: TSpeedButton
Position.X = 312.000000000000000000
Position.Y = 24.000000000000000000
Width = 23
Height = 22
Hint = 'Update selected column'
ParentShowHint = False
ShowHint = True
OnClick = btUpdateClick
WordWrap = True
end
object edFieldName: TEdit
Position.X = 88.000000000000000000
Position.Y = 24.000000000000000000
Width = 121
Height = 21
Hint = 'Set field name from quest_template table'
ParentShowHint = False
ShowHint = True
TabOrder = 0
end
object edFieldName_LBL: TLabel
Position.X = 88.000000000000000000
Position.Y = 10.000000000000000000
Width = 50
Height = 13
Text = 'FieldName'
WordWrap = False
end
object edWidth: TEdit
Position.X = 216.000000000000000000
Position.Y = 24.000000000000000000
Width = 65
Height = 21
Hint = 'Width of column in pixels'
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object edWidth_LBL: TLabel
Position.X = 216.000000000000000000
Position.Y = 10.000000000000000000
Width = 28
Height = 13
Text = 'Width'
WordWrap = False
end
end
end
object tsSite: TTabItem
Text = 'Site'
ImageIndex = 1
object Panel4: TPanel
Left = 0
Top = 0
Width = 342
Height = 65
Align = alTop
TabOrder = 0
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
object Label2: TLabel
Position.X = 8.000000000000000000
Position.Y = 8.000000000000000000
Width = 329
Height = 49
Text =
'At this page you can change the site. It will be used for browse' +
' items, NPC, objects and quests.'
Font.Style = []
AutoSize = False
end
end
object Panel5: TPanel
Left = 0
Top = 65
Width = 342
Height = 298
Align = alClient
TabOrder = 1
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
object rgSite: TPanel
Position.X = 8.000000000000000000
Position.Y = 16.000000000000000000
Width = 329
Height = 161
Items.Strings = (
'wowhead (http://www.wowhead.com/)'
'ru.wowhead (http://ru.wowhead.com/)'
'thottbot (http://thottbot.com/)'
'allakhazam (http://wow.allakhazam.com/)'
'wowdb (http://www.wowdb.com/)')
TabOrder = 0
end
end
end
object tsLanguage: TTabItem
Text = 'Language'
ImageIndex = 2
object Panel6: TPanel
Left = 0
Top = 65
Width = 342
Height = 298
Align = alClient
TabOrder = 0
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
object lbLanguage: TLabel
Position.X = 16.000000000000000000
Position.Y = 16.000000000000000000
Width = 48
Height = 13
Text = 'Language'
WordWrap = False
AutoSize = True
end
object lbLocales: TLabel
Position.X = 16.000000000000000000
Position.Y = 64.000000000000000000
Width = 37
Height = 13
Text = 'Locales'
WordWrap = False
AutoSize = True
end
object cbxLanguage: TComboBox
Position.X = 16.000000000000000000
Position.Y = 35.000000000000000000
Width = 313
Height = 21
ItemHeight = 0
TabOrder = 0
end
object cbxLocales: TComboBox
Position.X = 16.000000000000000000
Position.Y = 83.000000000000000000
Width = 313
Height = 21
ItemHeight = 13
TabOrder = 1
Items.Strings = (
'enUS'
'koKR'
'frFR'
'deDE'
'zhCN'
'zhTW'
'esES'
'esMX'
'ruRU')
end
end
object Panel7: TPanel
Left = 0
Top = 0
Width = 342
Height = 65
Align = alTop
TabOrder = 1
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
object Label3: TLabel
Position.X = 8.000000000000000000
Position.Y = 8.000000000000000000
Width = 329
Height = 49
Text = 'At this page you can choose the Language File'
Font.Style = []
AutoSize = False
end
end
end
object tsInternet: TTabItem
Text = 'Internet'
ImageIndex = 3
object cbAutomaticCheckForUpdates: TCheckBox
Left = 16
Top = 24
Width = 305
Height = 17
Text = 'Automatic Check For Updates'
TabOrder = 0
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
end
object Button1: TButton
Left = 16
Top = 56
Width = 248
Height = 25
Text = 'Check For Updates Now'
TabOrder = 1
OnClick = Button1Click
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
end
object edProxyServer: TEdit
Left = 16
Top = 144
Width = 121
Height = 21
TabOrder = 2
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
end
object edProxyServer_LBL: TLabel
Position.X = 0.000000000000000000
Position.Y = -14.000000000000000000
Width = 57
Height = 13
Text = 'ProxyServer'
WordWrap = False
end
object edUsername: TEdit
Left = 16
Top = 184
Width = 121
Height = 21
TabOrder = 4
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
end
object edUsername_LBL: TLabel
Position.X = 0.000000000000000000
Position.Y = -14.000000000000000000
Width = 22
Height = 13
Text = 'User'
WordWrap = False
end
object edPassword: TEdit
Left = 143
Top = 184
Width = 121
Height = 21
TabOrder = 5
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
end
object edPassword_LBL: TLabel
Position.X = 0.000000000000000000
Position.Y = -14.000000000000000000
Width = 46
Height = 13
Text = 'Password'
WordWrap = False
end
object edProxyPort: TEdit
Left = 143
Top = 144
Width = 121
Height = 21
TabOrder = 3
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
end
object edProxyPort_LBL: TLabel
Position.X = 0.000000000000000000
Position.Y = -14.000000000000000000
Width = 19
Height = 13
Text = 'Port'
WordWrap = False
end
end
object tsPreferences: TTabItem
Text = 'Preferences'
ImageIndex = 4
object rgSQLStyle: TPanel
Left = 3
Top = 3
Width = 336
Height = 110
Items.Strings = (
'REPLACE'
'DELETE/INSERT'
'UPDATE')
TabOrder = 0
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
end
end
object tsDBC: TTabItem
Text = 'DBC'
ImageIndex = 5
object lbDBCDir: TLabel
Left = 3
Top = 13
Width = 105
Height = 13
Text = 'Path to DBC directory:'
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
WordWrap = False
AutoSize = True
end
object lbDBCLocale: TLabel
Left = 3
Top = 72
Width = 60
Height = 13
Text = 'DBC Locale:'
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
WordWrap = False
AutoSize = True
end
object edDBCDir: TJvDirectoryEdit
Left = 3
Top = 32
Width = 326
Height = 21
DialogKind = dkWin32
TabOrder = 0
Text = 'DBC'
end
object cbxDBCLocale: TComboBox
Left = 3
Top = 91
Width = 326
Height = 21
ItemHeight = 13
ItemIndex = 16
TabOrder = 1
Items.Strings = (
'0 = English'
'1 = Korean'
'2 = French'
'3 = German'
'4 = Chinese'
'5 = Taiwanese'
'6 = Spanish'
'7 = Spanish Mexico'
'8 = Russian'
'9 = Unknown'
'10 = Unknown'
'11 = Unknown'
'12 = Unknown'
'13 = Unknown'
'14 = Unknown'
'15 = Unknown'
'255 = Auto Detect (Default)')
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
end
end
end
object Panel3: TPanel
Left = 0
Top = 391
Width = 350
Height = 41
Align = alBottom
TabOrder = 1
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
object btOK: TButton
Position.X = 184.000000000000000000
Position.Y = 6.000000000000000000
Width = 75
Height = 25
Anchors = [akTop, akRight]
Text = 'OK'
ModalResult = 1
TabOrder = 0
OnClick = btOKClick
end
object btCancel: TButton
Position.X = 265.000000000000000000
Position.Y = 6.000000000000000000
Width = 75
Height = 25
Anchors = [akTop, akRight]
Cancel = True
Text = 'Cancel'
ModalResult = 2
TabOrder = 1
end
end
end