Update to the config screen
This commit is contained in:
@@ -16,33 +16,58 @@ ConfigureScreen:
|
|||||||
Spinner:
|
Spinner:
|
||||||
text: "Haupt-Anwendungsbereich"
|
text: "Haupt-Anwendungsbereich"
|
||||||
size_hint: 0.3, 0.1
|
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"]
|
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:
|
Spinner:
|
||||||
text: "Betriebssystem"
|
text: "Betriebssystem"
|
||||||
size_hint: 0.3, 0.1
|
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)"]
|
values: ["Windows 10", "Windows 11", "GNU/Linux (Alle Distributionen)"]
|
||||||
Spinner:
|
Spinner:
|
||||||
text: "Bildschirmauflösung"
|
text: "Bildschirmauflösung"
|
||||||
size_hint: 0.3, 0.1
|
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)"]
|
values: ["720p (720x1280)", "1080p (1080x1920)", "2K/1440p (1440x2560)", "4K/2160p (2160x3840)"]
|
||||||
Spinner:
|
Spinner:
|
||||||
text: "Bildschrimwiederholrate"
|
text: "Bildschrimwiederholrate"
|
||||||
size_hint: 0.3, 0.1
|
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"]
|
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:
|
MDTextField:
|
||||||
hint_text: "Budget"
|
hint_text: "Budget"
|
||||||
id: budget_info
|
id: budget_info
|
||||||
size_hint: 0.3, 0.1
|
size_hint: 0.3, 0.1
|
||||||
pos_hint: {"x": 0.1, "y": 0.8}
|
pos_hint: {"x": 0.1, "y": 0.85}
|
||||||
MDCheckbox:
|
Button:
|
||||||
size_hint: 0.05, 0.05
|
text: "Weitere Optionen"
|
||||||
size: "24dp", "24dp"
|
size_hint: 0.3, 0.1
|
||||||
|
pos_hint: {"x":0.6, "y": 0.2}
|
||||||
|
|||||||
5
test.py
5
test.py
@@ -1,4 +1,4 @@
|
|||||||
class Human():
|
class Human:
|
||||||
def __init__(self, price, name="n/a"):
|
def __init__(self, price, name="n/a"):
|
||||||
print("human created")
|
print("human created")
|
||||||
self.age = 0
|
self.age = 0
|
||||||
@@ -19,10 +19,11 @@ class Human():
|
|||||||
ret += str(self.age)
|
ret += str(self.age)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
class Lumberjack(Human):
|
class Lumberjack(Human):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
print("Lumberjack created")
|
print("Lumberjack created")
|
||||||
#ruft den Konstruktor der Oberklasse auf
|
# ruft den Konstruktor der Oberklasse auf
|
||||||
Human.__init__(self, 300)
|
Human.__init__(self, 300)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user