-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathWidPrincipal.kv
82 lines (72 loc) · 2 KB
/
WidPrincipal.kv
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
#:kivy 1.11.0
# Janela principal
# ----- Wid Principal ----- #
<Principal>:
id: mainwid
# ----- Imagem Principal Fundo ----- #
Image:
source: 'Images/FundoPrincipal.jpg'
pos: self.pos
size: self.size
allow_stretch: True
keep_ratio: False
Label: # ----- Titulo ----- #
pos_hint: {'right': .98, 'top': .97}
size_hint: (.30, .05)
font_size: '28sp'
color: (0.831, 0.941, 1, 1)
text: 'Arquivo Passivo'
text_size: self.size
halign: 'right'
valign: 'top'
# ----- Wid Botões Principais----- #
BoxLayout:
id: principallayout
spacing: 2
pos_hint: {'x': .02, 'top': .96}
size_hint: (.3, .06)
Button: # ----- Botão Novo ----- #
background_normal: 'Images/btn_azul.png'
background_down: 'Images/btn_azul2.png'
border: (0, 0, 0, 0)
text_size: self.size
halign: 'left'
valign: 'center'
line_height: 1.8
color: (0.831, 0.941, 1, 1)
text: ' Novo'
on_release: root.acao_principal('Novo Registro')
Button: # ----- Botão Pesquisar ----- #
background_normal: 'Images/btn_azul.png'
background_down: 'Images/btn_azul2.png'
border: (0, 0, 0, 0)
text_size: self.size
halign: 'left'
valign: 'center'
line_height: 1.8
color: (0.831, 0.941, 1, 1)
text: ' Pesquisar'
on_release: root.acao_principal('Pesquisa')
Button: # ----- Botão Alterar ----- #
background_normal: 'Images/btn_azul.png'
background_down: 'Images/btn_azul2.png'
border: (0, 0, 0, 0)
text_size: self.size
halign: 'left'
valign: 'center'
line_height: 1.8
color: (0.831, 0.941, 1, 1)
text: ' Alterar'
on_release: root.acao_principal('Alterar Registro')
Button: # ----- Botão Apagar ----- #
background_normal: 'Images/btn_azul.png'
background_down: 'Images/btn_azul2.png'
border: (0, 0, 0, 0)
text_size: self.size
halign: 'left'
valign: 'center'
line_height: 1.8
color: (1, 0, 0, 1)
#color: (0.831, 0.941, 1, 1)
text: ' Apagar'
on_release: root.acao_principal('Apagar Registro')