-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEitReader.kv
81 lines (79 loc) · 2.29 KB
/
EitReader.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
#:import MeshLinePlot kivy.garden.graph.MeshLinePlot
Window:
BoxLayout:
canvas.before:
Color:
rgb: 1, 1, 1
Rectangle:
pos: self.pos
size: self.size
orientation: "vertical"
BoxLayout:
size_hint: [1, .1]
padding:10
Label:
id: label1
color: [0, 0, 0, 0.7]
text: "Czekam..."
text_size: self.size
halign: 'left'
valign: 'middle'
Label:
id: label2
text: "Czas"
color: [0, 0, 0, 0.7]
text_size: self.size
halign: 'center'
valign: 'middle'
Button:
text: 'Konfiguracja'
on_release: app.open_settings()
BoxLayout:
#size_hint: [1, .8]
#Graph:
# id: graph
# xlabel: "Czas"
# ylabel: "Poziom"
# ymin: 0
# ymax: 1
# x_ticks_minor:5
# x_ticks_major:10
# y_ticks_minor:5
# y_ticks_major:0.2
# y_grid_label:True
# x_grid_label:True
# padding:10
# xlog:False
# ylog:False
# x_grid:True
# y_grid:True
# xmax:200
size_hint: [1, .8]
orientation: "vertical"
canvas:
Rectangle:
pos: self.pos
size: self.size
#AsyncImage:
Image:
id: image
# source: 'http://lmsotfy.com/so.png'
#Label:
# id: label_test
# text: "Wykres"
# text_size: self.size
# halign: 'center'
# valign: 'middle'
BoxLayout:
size_hint: [1, .1]
orientation: "horizontal"
Button:
id: btn_start
text: "START"
bold: True
on_press: root.start()
Button:
id: btn_stop
text: "STOP"
bold: True
on_press: root.stop()