-
Notifications
You must be signed in to change notification settings - Fork 0
/
opcua.kv
36 lines (28 loc) · 941 Bytes
/
opcua.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
#:kivy 2.0.0
#: include navdrawercontent.kv
#: include screens.kv
NavigationScreen:
# or MDScreen, then it's on the bottom but behaves properly
<NavigationScreen@MDBoxLayout>:
orientation: 'vertical'
MDToolbar:
title: 'OPC UA'
left_action_items: [["menu", lambda x: nav_drawer.set_state('open')]]
md_bg_color: app.theme_cls.primary_color
type_height: 'small' #doesn't work
MDNavigationLayout:
ScreenManager:
id: screen_manager
ConnectScreen:
DataScreen:
id: data
#FilechooserPopup:
ControlScreen:
StatisticsScreen:
AboutScreen:
MDNavigationDrawer:
id: nav_drawer
ContentNavigationDrawer:
id: content_drawer
nav_drawer: nav_drawer
screen_manager: screen_manager