diff --git a/src/Tools/tim_tool/ui/tab/file-tab.slint b/src/Tools/tim_tool/ui/tab/file-tab.slint index bb0a78ba..32b04c15 100644 --- a/src/Tools/tim_tool/ui/tab/file-tab.slint +++ b/src/Tools/tim_tool/ui/tab/file-tab.slint @@ -1,4 +1,4 @@ -import { Button, TabWidget, LineEdit, GroupBox, ComboBox } from "std-widgets.slint"; +import { Button, TabWidget, LineEdit, GroupBox, ComboBox, CheckBox } from "std-widgets.slint"; export enum State { Project, @@ -6,11 +6,63 @@ export enum State { } component ProjectWidget inherits Rectangle { - Text { - text: "Projects not supported yet"; - color: #FF0000; - font-size: 30pt; - font-weight: 800; + background: #D0D0D0; + + VerticalLayout { + alignment: start; + padding: 4px; + GroupBox { + title: "Open Project"; + VerticalLayout { + alignment: start; + Text { + text: "Select a project to open. Any existing changes will be dropped"; + } + HorizontalLayout { + alignment: start; + LineEdit { + width: 300pt; + } + Button { + text: "Browse"; + } + } + HorizontalLayout { + alignment: start; + Button { + text: "Load"; + } + } + } + } + GroupBox { + title: "Save Project"; + VerticalLayout { + alignment: start; + padding: 4px; + Text { + text: "Save the current project"; + } + HorizontalLayout { + alignment: start; + LineEdit { + width: 300pt; + } + Button { + text: "Browse"; + } + } + CheckBox { + text: "Use relative path for files"; + } + HorizontalLayout { + alignment: start; + Button { + text: "Save"; + } + } + } + } } }