Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #:import KIVY_DEFAULT_FONT settings.KIVY_DEFAULT_FONT
- #: import Graph kivy.garden.graph.Graph
- #: import MeshLinePlot kivy.garden.graph.MeshLinePlot
- <Label>:
- font_name: 'RobotoCondensed'
- color: 0.160, 0.501, 0.725, 1
- <RecordForm@BoxLayout>: #
- orientation: "vertical"
- b_record: btnrecord
- p_bar: pb
- #r: r
- g_layout: graphlayout
- # Recorder:
- # id: r
- # size_hint:(None, None)
- # size: (0,0)
- # rform: graphlayout
- AnchorLayout:
- height: "40dp" #
- size_hint_y: None
- anchor_x: 'center'
- anchor_y: 'top'
- Label:
- text: "Patient's Name"
- AnchorLayout:
- height: "60dp" #
- size_hint_y: None
- AnchorLayout:
- height: "40dp" #
- size_hint_y: None
- anchor_x: 'center'
- Button:
- id: btnrecord
- text: "Record"
- size_hint_x: 0.25
- on_press: root.start_record()
- AnchorLayout:
- anchor_x: 'center'
- height: "60dp"
- size_hint_y: None
- Label:
- text: 'My state is %s' % btnrecord.state
- AnchorLayout:
- anchor_x: 'center'
- height: "10dp"
- size_hint_y: None
- ProgressBar:
- id: pb
- size_hint_x: .5
- value: 0 #(app.time * 20) % 100.
- canvas:
- Color:
- rgb: 1, 0, 0
- GraphForm:
- id: graphlayout
- anchor_y: 'top'
- # AnchorLayout:
- # id: graphlayout
- # anchor_y: 'top'
Advertisement
Add Comment
Please, Sign In to add comment