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'
- <RegisterForm@BoxLayout>: #
- orientation: "vertical" #
- AnchorLayout:
- height: "40dp" #
- size_hint_y: None
- anchor_x: 'center'
- anchor_y: 'top'
- Label:
- text: "User Details"
- AnchorLayout:
- height: "60dp" #
- size_hint_y: None
- BoxLayout:
- height: "40dp" #
- size_hint_y: None
- anchor_x: 'left'
- Label:
- text: "Name:"
- TextInput:
- size_hint_x: None
- width: "400dp"
- AnchorLayout:
- anchor_y: 'top'
- Button:
- size_hint:(None,None)
- text: "lel"
- width: "48dp"
- height: "48dp"
- background_normal: 'D:/Dropbox/1_TESE/data/images/ic_home_white_48dp.png'
- <RootScreen>:
- user_profile: userprofile
- g_evaluation: evaluation
- show_results: showresults
- go_settings: settings
- screen_manager: screen_manager
- ScreenManager:
- id: screen_manager
- Screen:
- name: "Home"
- BoxLayout:
- orientation:'vertical'
- #size_hint: (None,None)
- BoxLayout:
- orientation: 'vertical'
- size_hint_y: 10
- BoxLayout:
- orientation: 'horizontal'
- size_hint_y: 30
- AnchorLayout:
- anchor_x: 'center'
- anchor_y: 'center'
- BoxLayout:
- orientation: 'vertical'
- AnchorLayout:
- anchor_x: 'center'
- Label:
- text: 'User Profile'
- color: 0.160, 0.501, 0.725, 1
- bold: 'True'
- AnchorLayout:
- anchor_x: 'center'
- anchor_y: 'center'
- Button:
- id: userprofile
- size_hint:(None,None)
- width: "48dp"
- height: "48dp"
- AnchorLayout:
- anchor_x: 'center'
- anchor_y: 'center'
- BoxLayout:
- orientation: 'vertical'
- AnchorLayout:
- anchor_x: 'center'
- Label:
- text: 'Start Evaluation'
- color: 0.160, 0.501, 0.725, 1
- bold: 'True'
- AnchorLayout:
- anchor_x: 'center'
- anchor_y: 'center'
- Button:
- id: evaluation
- size_hint:(None,None)
- width: "48dp"
- height: "48dp"
- on_press:
- root.screen_manager.current = 'RecordForm'
- root.select_screen()
- BoxLayout:
- orientation: 'horizontal'
- size_hint_y: 30
- AnchorLayout:
- anchor_x: 'center'
- anchor_y: 'center'
- BoxLayout:
- orientation: 'vertical'
- AnchorLayout:
- anchor_x: 'center'
- Label:
- text: 'Show Results'
- color: 0.160, 0.501, 0.725, 1
- bold: 'True'
- AnchorLayout:
- anchor_x: 'center'
- anchor_y: 'center'
- Button:
- id: showresults
- size_hint:(None,None)
- width: "48dp"
- height: "48dp"
- AnchorLayout:
- anchor_x: 'center'
- anchor_y: 'center'
- BoxLayout:
- orientation: 'vertical'
- AnchorLayout:
- anchor_x: 'center'
- Label:
- text: 'Settings'
- color: 0.160, 0.501, 0.725, 1
- bold: 'True'
- AnchorLayout:
- anchor_x: 'center'
- anchor_y: 'center'
- Button:
- id: settings
- size_hint:(None,None)
- width: "48dp"
- height: "48dp"
- BoxLayout:
- orientation: 'vertical'
- size_hint_y: 30
- Screen:
- name: "RecordForm"
- RecordForm:
Advertisement
Add Comment
Please, Sign In to add comment