-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.lfm
379 lines (379 loc) · 10.7 KB
/
settings.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
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
object fSettings: TfSettings
Left = 353
Height = 330
Top = 130
Width = 447
Caption = 'Настройки'
ClientHeight = 330
ClientWidth = 447
OnActivate = FormActivate
LCLVersion = '2.0.2.0'
object PageControl1: TPageControl
Left = 0
Height = 280
Top = 0
Width = 447
ActivePage = SettingsAvtopoisk
Align = alClient
TabIndex = 0
TabOrder = 0
object SettingsAvtopoisk: TTabSheet
Caption = 'Автопоиск'
ClientHeight = 252
ClientWidth = 439
object cbAvtoUnkProg: TCheckBox
Left = 16
Height = 19
Top = 48
Width = 287
Caption = 'Скрыть неизвестные программы из результатов'
TabOrder = 0
end
object Label1: TLabel
Left = 16
Height = 30
Top = 8
Width = 394
Caption = 'В результатах поиска могут быть строки со всеми пустыми столбцами,'#13#10'кроме исходного значения. '
ParentColor = False
end
object Label2: TLabel
Left = 16
Height = 1
Top = 24
Width = 1
ParentColor = False
end
object cgAvtoKol: TCheckGroup
Left = 16
Height = 137
Top = 88
Width = 152
AutoFill = True
Caption = 'Колонки в таблице:'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
ClientHeight = 117
ClientWidth = 148
Items.Strings = (
'Исходное название'
'Название в БД*'
'Тип ПО*'
'Лицензия'
'Стоимость'
'Замена'
)
OnItemClick = cgAvtoKolItemClick
TabOrder = 1
Data = {
06000000020202020202
}
end
object Label3: TLabel
Left = 16
Height = 15
Top = 224
Width = 146
Caption = '* - Обязательные столбцы'
ParentColor = False
end
object LEZapParAvto: TLabeledEdit
Left = 176
Height = 23
Top = 104
Width = 256
EditLabel.Height = 15
EditLabel.Width = 256
EditLabel.Caption = 'Путь для отчета при запуске с параметрами:'
EditLabel.ParentColor = False
TabOrder = 2
end
object Label9: TLabel
Left = 176
Height = 30
Top = 136
Width = 237
Caption = 'Если строка пуста, тогда отчет сохраняется'#13#10'в каталог с программой'
ParentColor = False
end
end
object TabSheet1: TTabSheet
Caption = 'Ручной поиск'
ClientHeight = 252
ClientWidth = 439
object cgRuchKol: TCheckGroup
Left = 8
Height = 169
Top = 16
Width = 152
AutoFill = True
Caption = 'Колонки в таблице:'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1
ClientHeight = 149
ClientWidth = 148
Items.Strings = (
'Путь'
'Название '
'Исходный запрос'
'Тип ПО*'
'Лицензия'
'Стоимость'
'Замена'
)
OnItemClick = cgRuchKolItemClick
TabOrder = 0
Data = {
0700000002020202020202
}
end
object Label4: TLabel
Left = 14
Height = 15
Top = 192
Width = 146
Caption = '* - Обязательные столбцы'
ParentColor = False
end
object cbRuchFullDisk: TCheckBox
Left = 200
Height = 19
Hint = 'Проверка всего диска может вызывать зависание программы и ошибки! Длина SQL запроса ограничена, а исполняемых файлов может быть слишком много!'
Top = 40
Width = 205
Caption = 'Разрешить указывать весь раздел'
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object Label5: TLabel
Left = 168
Height = 15
Top = 8
Width = 266
Caption = 'По умолчанию запрещено указывать весь диск,'
ParentColor = False
end
object Label6: TLabel
Left = 176
Height = 15
Top = 24
Width = 243
Caption = 'иначе могут возникать зависания и ошибки'
ParentColor = False
end
end
object TabSheet2: TTabSheet
Caption = 'База данных'
ClientHeight = 252
ClientWidth = 439
object Label7: TLabel
Left = 48
Height = 15
Top = 8
Width = 334
Caption = 'В данной вкладке можно подключить свою базу программ. '
ParentColor = False
end
object leUserDBName: TLabeledEdit
Left = 8
Height = 23
Top = 48
Width = 176
EditLabel.Height = 15
EditLabel.Width = 176
EditLabel.Caption = 'Название программы'
EditLabel.ParentColor = False
TabOrder = 0
end
object leUserdbType: TLabeledEdit
Left = 200
Height = 23
Top = 48
Width = 128
EditLabel.Height = 15
EditLabel.Width = 128
EditLabel.Caption = 'Тип ПО'
EditLabel.ParentColor = False
TabOrder = 1
end
object leUserDBLicense: TLabeledEdit
Left = 344
Height = 23
Top = 48
Width = 80
EditLabel.Height = 15
EditLabel.Width = 80
EditLabel.Caption = 'Лицензия'
EditLabel.ParentColor = False
TabOrder = 2
end
object leUserdbCena: TLabeledEdit
Left = 8
Height = 23
Top = 96
Width = 88
EditLabel.Height = 15
EditLabel.Width = 88
EditLabel.Caption = 'Цена'
EditLabel.ParentColor = False
TabOrder = 3
end
object leUserDBZamena: TLabeledEdit
Left = 112
Height = 23
Top = 96
Width = 128
EditLabel.Height = 15
EditLabel.Width = 128
EditLabel.Caption = 'Замена'
EditLabel.ParentColor = False
TabOrder = 4
end
object leUserdbFile: TLabeledEdit
Left = 256
Height = 23
Top = 96
Width = 168
EditLabel.Height = 15
EditLabel.Width = 168
EditLabel.Caption = 'Имя файла (без расширения)'
EditLabel.ParentColor = False
TabOrder = 5
end
object bUserdbAddtobase: TButton
Left = 128
Height = 25
Top = 128
Width = 187
Caption = 'Добавить в базу пользователя'
OnClick = bUserdbAddtobaseClick
TabOrder = 6
end
object bUserdbSyncdb: TButton
Left = 112
Height = 25
Top = 200
Width = 216
Caption = 'Синхронизировать с основной базой'
OnClick = bUserdbSyncdbClick
TabOrder = 7
end
object Label8: TLabel
Left = 8
Height = 30
Top = 160
Width = 403
Caption = 'После обновления основной базы и изменений в пользователькой базе,'#13#10'необходимо синхронизировать с основной базой данных'
ParentColor = False
end
end
end
object Panel1: TPanel
Left = 0
Height = 50
Top = 280
Width = 447
Align = alBottom
ClientHeight = 50
ClientWidth = 447
TabOrder = 1
object bAvtoOk: TButton
Left = 120
Height = 25
Top = 8
Width = 75
Caption = 'Ок'
OnClick = bAvtoOkClick
TabOrder = 0
end
object bAvtoCancel: TButton
Left = 216
Height = 25
Top = 8
Width = 75
Caption = 'Отмена'
OnClick = bAvtoCancelClick
TabOrder = 1
end
object bAvtoApple: TButton
Left = 312
Height = 25
Top = 8
Width = 75
Caption = 'Применить'
OnClick = bAvtoAppleClick
TabOrder = 2
end
end
object SQLite3Connection1: TSQLite3Connection
Connected = False
LoginPrompt = False
DatabaseName = 'Lpro.db'
KeepConnection = False
CharSet = 'UTF8'
left = 96
top = 240
end
object SQLTransaction1: TSQLTransaction
Active = False
Database = fMian.SQLite3Connection1
left = 56
top = 240
end
object DataSource1: TDataSource
DataSet = SQLQuery1
left = 16
top = 240
end
object SQLQuery1: TSQLQuery
PacketRecords = -1
FieldDefs = <>
Database = fMian.SQLite3Connection1
Transaction = fMian.SQLTransaction1
Params = <>
left = 136
top = 240
end
object SQLite3ConnUserDB: TSQLite3Connection
Connected = False
LoginPrompt = False
DatabaseName = 'User-DB.db'
KeepConnection = False
Transaction = SQLTransUserDB
CharSet = 'UTF8'
left = 312
top = 216
end
object DataSourceUserDB: TDataSource
DataSet = SQLQuerUserDB
left = 344
top = 208
end
object SQLTransUserDB: TSQLTransaction
Active = False
Database = SQLite3ConnUserDB
left = 272
top = 208
end
object SQLQuerUserDB: TSQLQuery
FieldDefs = <>
Database = SQLite3ConnUserDB
Transaction = SQLTransUserDB
Params = <>
left = 400
top = 232
end
end