-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformOptions.dfm
474 lines (473 loc) · 14.6 KB
/
formOptions.dfm
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
inherited frmOptions: TfrmOptions
Caption = #1053#1072#1089#1090#1088#1086#1081#1082#1080
ClientHeight = 408
ClientWidth = 891
Position = poDesktopCenter
OnCreate = FormCreate
OnShow = FormShow
ExplicitWidth = 907
ExplicitHeight = 446
PixelsPerInch = 96
TextHeight = 13
inherited img1: TImage
Left = 696
Top = 277
Visible = False
ExplicitLeft = 696
ExplicitTop = 277
end
object Label22: TLabel [1]
Left = 4
Top = 3
Width = 178
Height = 14
Caption = #1055#1072#1088#1072#1084#1077#1090#1088#1099' '#1087#1086#1076#1082#1083#1102#1095#1077#1085#1080#1103' '#1082' '#1041#1044':'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label1: TLabel [2]
Left = 7
Top = 45
Width = 215
Height = 14
Caption = #1055#1072#1088#1072#1084#1077#1090#1088#1099' '#1087#1086#1095#1090#1086#1074#1086#1075#1086' '#1089#1077#1088#1074#1077#1088#1072' SMTP:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label2: TLabel [3]
Left = 8
Top = 87
Width = 141
Height = 14
Caption = #1055#1091#1090#1100' '#1082' '#1086#1073#1097#1077#1084#1091' '#1082#1072#1090#1072#1083#1086#1075#1091':'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label3: TLabel [4]
Left = 345
Top = 3
Width = 82
Height = 14
Caption = #1055#1088#1072#1074#1072' '#1076#1086#1089#1090#1091#1087#1072
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
inherited RzPanel1: TRzPanel
Top = 364
Width = 891
ExplicitTop = 386
ExplicitWidth = 891
inherited Image2: TImage
Visible = False
end
inherited Exit_bnt: TRzButton
Left = 757
Font.Color = clWindowText
ExplicitLeft = 757
end
object btnAccept: TRzButton
Left = 541
Top = 9
Width = 124
Height = 29
Anchors = [akTop, akRight]
Caption = #1055#1088#1080#1084#1077#1085#1080#1090#1100
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
HotTrack = True
HotTrackColor = 16625984
ParentFont = False
TabOrder = 1
ThemeAware = False
Visible = False
OnClick = btnAcceptClick
end
end
object txtDBPath: TcxTextEdit
Left = 4
Top = 18
ParentFont = False
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -12
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 1
Width = 321
end
object txtSMTP: TcxTextEdit
Left = 8
Top = 60
ParentFont = False
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -12
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 2
Width = 321
end
object txtTemp: TcxTextEdit
Left = 8
Top = 102
ParentFont = False
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -12
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 3
Width = 321
end
object GridRights: TcxGrid
Left = 552
Top = 19
Width = 331
Height = 254
TabOrder = 4
object GridRightsView: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.InfoPanel.Visible = True
OnCellClick = GridRightsViewCellClick
DataController.DataSource = DS_rights_list
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsCustomize.ColumnGrouping = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Inserting = False
OptionsSelection.CellSelect = False
OptionsView.NoDataToDisplayInfoText = '<'#1057#1087#1080#1089#1086#1082' '#1087#1091#1089#1090'>'
OptionsView.CellAutoHeight = True
OptionsView.GridLines = glNone
OptionsView.GroupByBox = False
OptionsView.Header = False
object GridRightsViewColumn1: TcxGridDBColumn
Caption = #1055#1088#1072#1074#1086
DataBinding.FieldName = 'RIGHT_NAME'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Options.Filtering = False
Options.FilteringAddValueItems = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.IgnoreTimeForFiltering = False
Options.ShowEditButtons = isebNever
Options.AutoWidthSizable = False
Options.GroupFooters = False
Options.Grouping = False
Options.Moving = False
Options.ShowCaption = False
Styles.Content = cxStyle3
Styles.Header = cxStyle2
Width = 271
end
object GridRightsViewColumn2: TcxGridDBColumn
Caption = #1047#1085#1072#1095'.'
DataBinding.FieldName = 'VAL'
PropertiesClassName = 'TcxCheckBoxProperties'
Properties.Alignment = taCenter
Properties.DisplayChecked = '1'
Properties.DisplayUnchecked = '0'
Properties.NullStyle = nssUnchecked
Properties.ReadOnly = True
Properties.ValueChecked = 1
Properties.ValueUnchecked = 0
HeaderAlignmentHorz = taCenter
Options.FilteringAddValueItems = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.IgnoreTimeForFiltering = False
Options.GroupFooters = False
Options.Grouping = False
Options.Moving = False
Options.ShowCaption = False
Styles.Header = cxStyle1
Width = 30
end
end
object GridRightsLevel1: TcxGridLevel
GridView = GridRightsView
end
end
object GridUserTypes: TcxGrid
Left = 345
Top = 19
Width = 208
Height = 254
TabOrder = 5
object cxGridDBTableView1: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.InfoPanel.Visible = True
OnCellClick = cxGridDBTableView1CellClick
DataController.DataSource = DataModuleMain.DSDicUserTypes
DataController.Options = [dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoSortByDisplayText]
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsCustomize.ColumnFiltering = False
OptionsCustomize.ColumnGrouping = False
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Editing = False
OptionsData.Inserting = False
OptionsSelection.CellSelect = False
OptionsView.FocusRect = False
OptionsView.NoDataToDisplayInfoText = '<'#1057#1087#1080#1089#1086#1082' '#1087#1091#1089#1090'>'
OptionsView.GridLines = glNone
OptionsView.GroupByBox = False
OptionsView.Header = False
object cxGridDBColumn1: TcxGridDBColumn
Caption = #1055#1088#1072#1074#1086
DataBinding.FieldName = 'NAME'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Options.Filtering = False
Options.FilteringAddValueItems = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.IgnoreTimeForFiltering = False
Options.ShowEditButtons = isebNever
Options.AutoWidthSizable = False
Options.GroupFooters = False
Options.Grouping = False
Options.Moving = False
Options.ShowCaption = False
Styles.Content = cxStyle3
Styles.Header = cxStyle2
Width = 200
end
end
object cxGridLevel1: TcxGridLevel
GridView = cxGridDBTableView1
end
end
object btnTuneDictionaries: TRzButton
Left = 345
Top = 285
Width = 184
Height = 29
Caption = #1053#1072#1089#1090#1088#1086#1081#1082#1072' '#1089#1087#1088#1072#1074#1086#1095#1085#1080#1082#1086#1074
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
HotTrack = True
HotTrackColor = 16625984
ParentFont = False
TabOrder = 6
ThemeAware = False
OnClick = btnTuneDictionariesClick
end
object btnTuneOPClentList: TRzButton
Left = 345
Top = 320
Width = 184
Height = 36
Caption = #1053#1072#1089#1090#1088#1086#1081#1082#1072' '#1089#1087#1080#1089#1082#1072' '#1082#1083#1080#1077#1085#1090#1086#1074' '#1076#1083#1103' '#1086#1087#1077#1088#1072#1090#1086#1088#1086#1074
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
HotTrack = True
HotTrackColor = 16625984
ParentFont = False
TabOrder = 7
ThemeAware = False
OnClick = btnTuneOPClentListClick
end
object RzPanel2: TRzPanel
Left = 8
Top = 152
Width = 321
Height = 204
BorderInner = fsGroove
BorderOuter = fsNone
Ctl3D = False
ParentCtl3D = False
TabOrder = 8
object Label4: TLabel
Left = 4
Top = 8
Width = 165
Height = 14
Caption = #1058#1080#1087#1099' '#1087#1086#1083#1100#1079#1086#1074#1072#1090#1077#1083#1077#1081' '#1085#1072' '#1076#1072#1090#1091
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object cxGrid1: TcxGrid
Left = 0
Top = 33
Width = 320
Height = 170
TabOrder = 0
object cxGridDBTableView2: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.InfoPanel.Visible = True
DataController.DataSource = DataModuleMain.DSWorkerTypeByDate
DataController.Options = [dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoSortByDisplayText]
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsCustomize.ColumnFiltering = False
OptionsCustomize.ColumnGrouping = False
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Inserting = False
OptionsView.FocusRect = False
OptionsView.NoDataToDisplayInfoText = '<'#1057#1087#1080#1089#1086#1082' '#1087#1091#1089#1090'>'
OptionsView.ScrollBars = ssVertical
OptionsView.GridLines = glVertical
OptionsView.GroupByBox = False
OptionsView.HeaderHeight = 22
object cxGridDBTableView2Column2: TcxGridDBColumn
Caption = #1058#1080#1087
DataBinding.FieldName = 'TYPE_ID'
PropertiesClassName = 'TcxLookupComboBoxProperties'
Properties.DropDownAutoSize = True
Properties.KeyFieldNames = 'ID'
Properties.ListColumns = <
item
FieldName = 'NAME'
end>
Properties.ListOptions.GridLines = glNone
Properties.ListOptions.ShowHeader = False
Properties.ListOptions.SyncMode = True
Properties.ListSource = DataModuleMain.DSDicUserTypes
Properties.PostPopupValueOnTab = True
Properties.OnCloseUp = cxGridDBTableView2Column2PropertiesCloseUp
HeaderAlignmentHorz = taCenter
Styles.Header = cxStyle1
Width = 150
end
object cxGridDBTableView2Column1: TcxGridDBColumn
Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082
DataBinding.FieldName = 'WORKER_ID'
PropertiesClassName = 'TcxLookupComboBoxProperties'
Properties.GridMode = True
Properties.KeyFieldNames = 'ID'
Properties.ListColumns = <
item
FieldName = 'SHORT_NAME'
end>
Properties.ListOptions.GridLines = glNone
Properties.ListOptions.ShowHeader = False
Properties.ListSource = DataModuleMain.DSWorkers
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = cxStyle1
Width = 148
end
end
object cxGridLevel2: TcxGridLevel
GridView = cxGridDBTableView2
end
end
object edtWorkerDate: TcxDateEdit
Left = 195
Top = 6
Properties.OnCloseUp = edtWorkerDatePropertiesCloseUp
TabOrder = 1
Width = 121
end
end
object rights_list: TIBQuery
Database = DataModuleMain.DB
Transaction = RightsTran
BufferChunks = 1000
CachedUpdates = True
ParamCheck = True
SQL.Strings = (
'select * from get_rights_by_user_types')
UpdateObject = rights_upd
OnFilterRecord = rights_listFilterRecord
Left = 495
Top = 34
end
object DS_rights_list: TDataSource
DataSet = memRights_list
OnDataChange = DS_rights_listDataChange
Left = 495
Top = 85
end
object cxStyleRepository1: TcxStyleRepository
Left = 384
Top = 32
PixelsPerInch = 96
object cxStyle1: TcxStyle
AssignedValues = [svFont]
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
end
object cxStyle2: TcxStyle
AssignedValues = [svFont]
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
end
object cxStyle3: TcxStyle
end
end
object rights_upd: TIBUpdateSQL
ModifySQL.Strings = (
'execute procedure update_rights (:ur_id, :user_id, :right_id, :v' +
'al)')
Left = 552
Top = 32
end
object RightsTran: TIBTransaction
DefaultDatabase = DataModuleMain.DB
AutoStopAction = saCommit
Left = 560
Top = 88
end
object memRights_list: TdxMemData
Indexes = <>
SortOptions = []
OnFilterRecord = rights_listFilterRecord
Left = 624
Top = 40
end
end