Initial GUI-Development progress - 2022-02-26-17:00
This commit is contained in:
@@ -1,16 +1,22 @@
|
|||||||
MDScreen:
|
MDScreen:
|
||||||
name: "Config"
|
name: "Config"
|
||||||
md_bg_color: (0,0,1,0.5)
|
md_bg_color: (0,0,1,0.3)
|
||||||
MDFloatLayout:
|
MDFloatLayout:
|
||||||
cols:1
|
cols:1
|
||||||
MDFlatButton:
|
MDFlatButton:
|
||||||
text: "Back"
|
text: "Back"
|
||||||
pos_hint: {"x": 0.15, "y": 0.1}
|
pos_hint: {"x": 0.07, "y": 0.07}
|
||||||
font_size: 20
|
font_size: 20
|
||||||
md_bg_color: (0, 0, 0, 1)
|
md_bg_color: (0, 0, 0, 1)
|
||||||
size_hint: 0.1, 0.05
|
size_hint: 0.1, 0.05
|
||||||
on_release:
|
on_release:
|
||||||
app.root.current = "HomeScreen"
|
app.root.current = "HomeScreen"
|
||||||
root.manager.transition.direction = "left"
|
root.manager.transition.direction = "left"
|
||||||
MDFlatButton:
|
MDTextField:
|
||||||
text: "Test"
|
hint_text: "Test"
|
||||||
|
id: test
|
||||||
|
size_hint: 0.2, 0.1
|
||||||
|
pos_hint: {"x": 0.4, "y": 0.2}
|
||||||
|
MDCheckbox:
|
||||||
|
size_hint: 0.05, 0.05
|
||||||
|
size: "24dp", "24dp"
|
||||||
@@ -25,7 +25,8 @@ Home:
|
|||||||
text: "Settings"
|
text: "Settings"
|
||||||
background_color: (0.1, 0.1, 1, 0.5)
|
background_color: (0.1, 0.1, 1, 0.5)
|
||||||
on_release:
|
on_release:
|
||||||
root.test()
|
app.root.current = "Settings"
|
||||||
|
root.manager.transition.direction = "up"
|
||||||
Button:
|
Button:
|
||||||
text: "Quit"
|
text: "Quit"
|
||||||
background_color: (0.1, 0.1, 1, 0.5)
|
background_color: (0.1, 0.1, 1, 0.5)
|
||||||
|
|||||||
0
gui_main/settings.kv
Normal file
0
gui_main/settings.kv
Normal file
@@ -24,8 +24,7 @@ class Splash(MDScreen):
|
|||||||
|
|
||||||
|
|
||||||
class Home(MDScreen):
|
class Home(MDScreen):
|
||||||
def test(self):
|
pass
|
||||||
print("class")
|
|
||||||
|
|
||||||
|
|
||||||
class ConfigureScreen(MDScreen):
|
class ConfigureScreen(MDScreen):
|
||||||
|
|||||||
Reference in New Issue
Block a user