Eerste opzet

This commit is contained in:
2026-06-13 12:49:32 +02:00
commit 34ec4ceba8
7 changed files with 6463 additions and 0 deletions

33
ui/demo.slint Normal file
View File

@@ -0,0 +1,33 @@
export component DemoWindow inherits Window {
width: 1920px;
height: 480px;
in property <[brush]> bar-colors;
in property <string> window-title;
VerticalLayout {
Rectangle {
height: 60px;
background: #2d2d2d;
Text {
text: window-title;
color: #ffffff;
font-size: 28px;
font-weight: 700;
horizontal-alignment: center;
vertical-alignment: center;
}
}
HorizontalLayout {
alignment: start;
spacing: 0px;
for color in bar-colors: Rectangle {
width: 50px;
background: color;
}
}
}
}