import { Backend } from "Backend.slint"; import { Button, VerticalBox, CheckBox, Palette } from "std-widgets.slint"; import { SideBar } from "SideBar.slint"; import { MainView } from "MainView.slint"; import { TaskEdit } from "windows/TaskEdit.slint"; import { EventWindow } from "windows/EventWindow.slint"; export component AppWindow inherits Window { title: "Mirai"; min-height: 100px; max-height: 4000px; // needed, otherwise the window wants to fit the content (on Swaywm) default-font-size: 16px; in-out property test; HorizontalLayout { SideBar {} MainView { horizontal-stretch: 1; } } } export { Backend, TaskEdit, EventWindow } // Export to make it visible to the C++ backend