Update to the config screen

This commit is contained in:
janis
2022-04-04 16:25:33 +02:00
parent 9ad2405f13
commit 0c46453064
2 changed files with 41 additions and 15 deletions

View File

@@ -16,33 +16,58 @@ ConfigureScreen:
Spinner:
text: "Haupt-Anwendungsbereich"
size_hint: 0.3, 0.1
pos_hint: {"x": 0.6, "y": 0.8}
pos_hint: {"x": 0.6, "y": 0.85}
values: ["Gaming", "Videobearbeitung", "Fotobearbeitung", "Live-Streaming", "Office/Internet"]
Spinner:
text: "Bildschirmauflösung"
size_hint: 0.3, 0.1
pos_hint: {"x": 0.1, "y": 0.6}
values: ["720p (HD)", "1080p (FullHD)", "1440p (2K, WQHD)", "2160p (4K, UHD)", "4320p (8K)"]
Spinner:
text: "Betriebssystem"
size_hint: 0.3, 0.1
pos_hint: {"x": 0.1, "y": 0.6}
pos_hint: {"x": 0.1, "y": 0.55}
values: ["Windows 10", "Windows 11", "GNU/Linux (Alle Distributionen)"]
Spinner:
text: "Bildschirmauflösung"
size_hint: 0.3, 0.1
pos_hint: {"x": 0.6, "y": 0.6}
pos_hint: {"x": 0.6, "y": 0.7}
values: ["720p (720x1280)", "1080p (1080x1920)", "2K/1440p (1440x2560)", "4K/2160p (2160x3840)"]
Spinner:
text: "Bildschrimwiederholrate"
size_hint: 0.3, 0.1
pos_hint: {"x": 0.1, "y": 0.6}
pos_hint: {"x": 0.1, "y": 0.7}
values: ["60Hz - 75Hz", "75 - 120Hz", "120Hz - 144Hz", "144 - 165Hz", "bis 250Hz", "Mehr als 250Hz"]
GridLayout:
size_hint: 0.3, 0.1
pos_hint: {"x": 0.6, "y": 0.55}
cols: 3
Label:
text: "Gaming"
MDCheckbox:
size: "24dp", "24dp"
Button:
text: "Welche?"
MDProgressBar:
orientation: "horizontal"
value: 0
GridLayout:
size_hint: 0.3, 0.1
pos_hint: {"x": 0.1, "y": 0.4}
cols: 2
Label:
text: "WLAN, Bluetooth"
MDCheckbox:
size: "24dp", "24dp"
GridLayout:
size_hint: 0.3, 0.1
pos_hint: {"x": 0.6, "y": 0.4}
cols: 2
Label:
text: "DVD"
MDCheckbox:
size: "24dp", "24dp"
MDTextField:
hint_text: "Budget"
id: budget_info
size_hint: 0.3, 0.1
pos_hint: {"x": 0.1, "y": 0.8}
MDCheckbox:
size_hint: 0.05, 0.05
size: "24dp", "24dp"
pos_hint: {"x": 0.1, "y": 0.85}
Button:
text: "Weitere Optionen"
size_hint: 0.3, 0.1
pos_hint: {"x":0.6, "y": 0.2}

View File

@@ -1,4 +1,4 @@
class Human():
class Human:
def __init__(self, price, name="n/a"):
print("human created")
self.age = 0
@@ -19,10 +19,11 @@ class Human():
ret += str(self.age)
return ret
class Lumberjack(Human):
def __init__(self):
print("Lumberjack created")
#ruft den Konstruktor der Oberklasse auf
# ruft den Konstruktor der Oberklasse auf
Human.__init__(self, 300)