UI template

This commit is contained in:
Alexey 2025-09-04 09:58:11 +03:00
commit b6413f0e7d
6 changed files with 5897 additions and 21 deletions

35
ui/record.slint Normal file
View file

@ -0,0 +1,35 @@
import { VerticalBox, LineEdit, Button, ComboBox } from "std-widgets.slint";
import { Timeline } from "timeline.slint";
export component RecordWidget inherits VerticalBox {
Timeline {}
GridLayout {
spacing-vertical: 8px;
spacing-horizontal: 16px;
LineEdit {
placeholder-text: "Event name";
text: "Event name";
font-size: 24px;
horizontal-alignment: center;
colspan: 2;
row: 0;
}
Button {
text: "Start";
colspan: 2;
row: 1;
}
Text {
text: "Span:";
font-size: 24px;
row: 2;
horizontal-alignment: right;
}
ComboBox {
model: ["1 Hour", "4 Hours", "8 Hours", "24 Hours"];
current-index: 0;
row: 2;
col: 1;
}
}
}