mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-01 17:03:19 +00:00
26 lines
729 B
Text
26 lines
729 B
Text
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 { TaskWindow } from "windows/TaskWindow.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<string> test;
|
|
|
|
HorizontalLayout {
|
|
SideBar {}
|
|
MainView {
|
|
horizontal-stretch: 1;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
export { Backend, TaskWindow, EventWindow } // Export to make it visible to the C++ backend
|