-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuPrincipal.dfm
436 lines (436 loc) · 12.3 KB
/
uPrincipal.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
object frmPrincipal: TfrmPrincipal
Left = 0
Top = 0
Caption = 'Vendas'
ClientHeight = 653
ClientWidth = 1128
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
Menu = mainPrincipal
OldCreateOrder = False
WindowState = wsMaximized
OnClose = FormClose
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object StbPrincipal: TStatusBar
Left = 0
Top = 634
Width = 1128
Height = 19
Panels = <
item
Width = 150
end>
end
object pnlDashboard: TPanel
Left = 0
Top = 0
Width = 1128
Height = 41
Align = alTop
TabOrder = 1
OnClick = pnlDashboardClick
object Label1: TLabel
Left = 6
Top = 9
Width = 102
Height = 23
Caption = 'Dashboard'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -19
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
end
end
object GridPanel1: TGridPanel
Left = 0
Top = 41
Width = 1128
Height = 593
Align = alClient
ColumnCollection = <
item
Value = 50.000000000000000000
end
item
Value = 50.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = pnlProdutoEmEstoque
Row = 0
end
item
Column = 1
Control = pnlValorVendaPorClienteUltimaSemana
Row = 0
end
item
Column = 0
Control = pnlVendasUltimaSemana
Row = 1
end
item
Column = 1
Control = pnl10ProdutosMaisVendidos
Row = 1
end>
RowCollection = <
item
Value = 50.000000000000000000
end
item
Value = 50.000000000000000000
end>
TabOrder = 2
object pnlProdutoEmEstoque: TPanel
Left = 1
Top = 1
Width = 563
Height = 296
Align = alClient
TabOrder = 0
object DBChart4: TDBChart
Left = 1
Top = 1
Width = 561
Height = 294
Title.Text.Strings = (
'Produto em Estoque')
Align = alClient
TabOrder = 0
DefaultCanvas = 'TGDIPlusCanvas'
ColorPaletteIndex = 13
object Series1: TBarSeries
Marks.Brush.Gradient.Colors = <
item
Color = clRed
end
item
Color = 819443
Offset = 0.067915690866510540
end
item
Color = clYellow
Offset = 1.000000000000000000
end>
Marks.Brush.Gradient.Direction = gdTopBottom
Marks.Brush.Gradient.EndColor = clYellow
Marks.Brush.Gradient.MidColor = 819443
Marks.Brush.Gradient.StartColor = clRed
Marks.Brush.Gradient.Visible = True
Marks.Font.Color = 159
Marks.Font.Name = 'Tahoma'
Marks.Font.Style = [fsBold, fsItalic]
Marks.Frame.Color = 33023
Marks.RoundSize = 14
Marks.Visible = False
DataSource = DTMGrafico.QryProdutoEstoque
Title = 'ProdutoEstoque'
XLabelsSource = 'Label'
XValues.Name = 'X'
XValues.Order = loAscending
YValues.Name = 'Bar'
YValues.Order = loNone
YValues.ValueSource = 'Value'
end
end
end
object pnlValorVendaPorClienteUltimaSemana: TPanel
Left = 564
Top = 1
Width = 563
Height = 296
Align = alClient
Caption = 'pnlValorVendaPorClienteUltimaSemana'
TabOrder = 1
object DBChart2: TDBChart
Left = 1
Top = 1
Width = 561
Height = 294
Title.Text.Strings = (
'Valor de Venda por Cliente na Ultima Semana')
Legend.TextStyle = ltsLeftPercent
View3DOptions.Elevation = 315
View3DOptions.Orthogonal = False
View3DOptions.Perspective = 0
View3DOptions.Rotation = 360
Align = alClient
TabOrder = 0
DefaultCanvas = 'TGDIPlusCanvas'
ColorPaletteIndex = 13
object Series2: TPieSeries
Marks.Brush.Gradient.Colors = <
item
Color = clRed
end
item
Color = 819443
Offset = 0.067915690866510540
end
item
Color = clYellow
Offset = 1.000000000000000000
end>
Marks.Brush.Gradient.Direction = gdTopBottom
Marks.Brush.Gradient.EndColor = clYellow
Marks.Brush.Gradient.MidColor = 819443
Marks.Brush.Gradient.StartColor = clRed
Marks.Brush.Gradient.Visible = True
Marks.Font.Color = 159
Marks.Font.Name = 'Tahoma'
Marks.Font.Style = [fsBold, fsItalic]
Marks.Frame.Color = 33023
Marks.RoundSize = 14
Marks.Visible = False
Marks.Style = smsPercentTotal
Marks.Callout.Length = 20
DataSource = DTMGrafico.QryValorVendaPorCliente
Title = 'ValorDeVendaPorClienteNaUltimaSemana'
XLabelsSource = 'Label'
XValues.Order = loAscending
YValues.Name = 'Pie'
YValues.Order = loNone
YValues.ValueSource = 'Value'
Frame.InnerBrush.BackColor = clRed
Frame.InnerBrush.Gradient.EndColor = clGray
Frame.InnerBrush.Gradient.MidColor = clWhite
Frame.InnerBrush.Gradient.StartColor = 4210752
Frame.InnerBrush.Gradient.Visible = True
Frame.MiddleBrush.BackColor = clYellow
Frame.MiddleBrush.Gradient.EndColor = 8553090
Frame.MiddleBrush.Gradient.MidColor = clWhite
Frame.MiddleBrush.Gradient.StartColor = clGray
Frame.MiddleBrush.Gradient.Visible = True
Frame.OuterBrush.BackColor = clGreen
Frame.OuterBrush.Gradient.EndColor = 4210752
Frame.OuterBrush.Gradient.MidColor = clWhite
Frame.OuterBrush.Gradient.StartColor = clSilver
Frame.OuterBrush.Gradient.Visible = True
Frame.Width = 4
OtherSlice.Legend.TextStyle = ltsPercent
OtherSlice.Legend.Visible = False
end
end
end
object pnlVendasUltimaSemana: TPanel
Left = 1
Top = 297
Width = 563
Height = 295
Align = alClient
Caption = 'pnlVendasUltimaSemana'
TabOrder = 2
object DBChart1: TDBChart
Left = 1
Top = 1
Width = 561
Height = 293
Title.Text.Strings = (
'Vendas da '#218'ltima Semana')
Align = alClient
TabOrder = 0
DefaultCanvas = 'TGDIPlusCanvas'
ColorPaletteIndex = 13
object FastLineSeries1: TFastLineSeries
DataSource = DTMGrafico.QryVendasUltimaSemana
Title = 'VendasDaUltimaSemana'
XLabelsSource = 'Label'
LinePen.Color = 10708548
XValues.Name = 'X'
XValues.Order = loAscending
YValues.Name = 'Y'
YValues.Order = loNone
YValues.ValueSource = 'Value'
end
end
end
object pnl10ProdutosMaisVendidos: TPanel
Left = 564
Top = 297
Width = 563
Height = 295
Align = alClient
Caption = 'pnl10ProdutosMaisVendidos'
TabOrder = 3
object DBChart3: TDBChart
Left = 1
Top = 1
Width = 561
Height = 293
Title.Text.Strings = (
'Os 10 Produtos Mais Vendidos')
Legend.TextStyle = ltsLeftPercent
View3DOptions.Elevation = 315
View3DOptions.Orthogonal = False
View3DOptions.Perspective = 0
View3DOptions.Rotation = 360
Align = alClient
TabOrder = 0
DefaultCanvas = 'TGDIPlusCanvas'
ColorPaletteIndex = 13
object PieSeries1: TPieSeries
Marks.Brush.Gradient.Colors = <
item
Color = clRed
end
item
Color = 819443
Offset = 0.067915690866510540
end
item
Color = clYellow
Offset = 1.000000000000000000
end>
Marks.Brush.Gradient.Direction = gdTopBottom
Marks.Brush.Gradient.EndColor = clYellow
Marks.Brush.Gradient.MidColor = 819443
Marks.Brush.Gradient.StartColor = clRed
Marks.Brush.Gradient.Visible = True
Marks.Font.Color = 159
Marks.Font.Name = 'Tahoma'
Marks.Font.Style = [fsBold, fsItalic]
Marks.Frame.Color = 33023
Marks.RoundSize = 14
Marks.Visible = False
Marks.Style = smsPercentTotal
Marks.Callout.Length = 20
DataSource = DTMGrafico.Qry10ProdutosMaisVendidos
Title = '10ProdutosMaisVendidos'
XLabelsSource = 'Label'
XValues.Order = loAscending
YValues.Name = 'Pie'
YValues.Order = loNone
YValues.ValueSource = 'Value'
Frame.InnerBrush.BackColor = clRed
Frame.InnerBrush.Gradient.EndColor = clGray
Frame.InnerBrush.Gradient.MidColor = clWhite
Frame.InnerBrush.Gradient.StartColor = 4210752
Frame.InnerBrush.Gradient.Visible = True
Frame.MiddleBrush.BackColor = clYellow
Frame.MiddleBrush.Gradient.EndColor = 8553090
Frame.MiddleBrush.Gradient.MidColor = clWhite
Frame.MiddleBrush.Gradient.StartColor = clGray
Frame.MiddleBrush.Gradient.Visible = True
Frame.OuterBrush.BackColor = clGreen
Frame.OuterBrush.Gradient.EndColor = 4210752
Frame.OuterBrush.Gradient.MidColor = clWhite
Frame.OuterBrush.Gradient.StartColor = clSilver
Frame.OuterBrush.Gradient.Visible = True
Frame.Width = 4
OtherSlice.Legend.TextStyle = ltsPercent
OtherSlice.Legend.Visible = False
end
end
end
end
object mainPrincipal: TMainMenu
Left = 1056
Top = 8
object CADA1: TMenuItem
Caption = 'CADASTRO'
object CLIENTE1: TMenuItem
Caption = 'CLIENTE'
ShortCut = 16451
OnClick = CLIENTE1Click
end
object N1: TMenuItem
Caption = '-'
end
object CATEGORIA1: TMenuItem
Caption = 'CATEGORIA'
OnClick = CATEGORIA1Click
end
object PRODUTO1: TMenuItem
Caption = 'PRODUTO'
ShortCut = 16464
OnClick = PRODUTO1Click
end
object N5: TMenuItem
Caption = '-'
end
object USUARIO1: TMenuItem
Caption = 'USUARIO'
OnClick = USUARIO1Click
end
object AOACESSO1: TMenuItem
Caption = 'A'#199#195'O ACESSO'
OnClick = AOACESSO1Click
end
object USUARIOSVSAES1: TMenuItem
Caption = 'USUARIOS VS A'#199#213'ES'
OnClick = USUARIOSVSAES1Click
end
object N6: TMenuItem
Caption = '-'
end
object ALTERARSENHA1: TMenuItem
Caption = 'ALTERAR SENHA'
OnClick = ALTERARSENHA1Click
end
object N2: TMenuItem
Caption = '-'
end
object mnuFechar: TMenuItem
Caption = 'FECHAR'
OnClick = mnuFecharClick
end
end
object MOVIMENTAO1: TMenuItem
Caption = 'MOVIMENTA'#199#195'O'
object VENDAS1: TMenuItem
Caption = 'VENDAS'
ShortCut = 120
OnClick = VENDAS1Click
end
end
object RELATRIOS1: TMenuItem
Caption = 'RELAT'#211'RIOS'
object Categoria2: TMenuItem
Caption = 'CATEGORIA'
OnClick = Categoria2Click
end
object CLIENTE2: TMenuItem
Caption = 'CLIENTE'
OnClick = CLIENTE2Click
end
object FICHADECLIENTE1: TMenuItem
Caption = 'FICHA DE CLIENTE'
OnClick = FICHADECLIENTE1Click
end
object N3: TMenuItem
Caption = '-'
end
object PRODUTO2: TMenuItem
Caption = 'PRODUTO'
OnClick = PRODUTO2Click
end
object PRODUTOPORCATEGORIA1: TMenuItem
Caption = 'PRODUTO POR CATEGORIA'
OnClick = PRODUTOPORCATEGORIA1Click
end
object N4: TMenuItem
Caption = '-'
end
object VENDAPORDATA1: TMenuItem
Caption = 'VENDA POR DATA'
OnClick = VENDAPORDATA1Click
end
end
end
object tmrAtualizacaoDashboard: TTimer
Interval = 60000
OnTimer = tmrAtualizacaoDashboardTimer
Left = 872
end
end