obliteration/gui/ui/main.slint
2024-11-21 19:31:02 +01:00

42 lines
904 B
Plaintext

import { Tabs } from "main/tabs.slint";
import { Actions } from "main/actions.slint";
import { Wizard, FileValidationResult } from "wizard.slint";
import { Globals } from "globals.slint";
import { VerticalBox } from "std-widgets.slint";
export { Wizard, FileValidationResult, Globals }
export component MainWindow inherits Window {
title: "Obliteration";
icon: @image-url("icon.png");
min-width: 1000px;
min-height: 500px;
in property <[string]> devices;
in property <[string]> profiles;
pure callback start-vmm();
VerticalBox {
Tabs {
devices: devices;
}
Actions {
profiles: profiles;
start => {
start-vmm();
}
}
}
}
export component ErrorDialog inherits Window {
in property <string> message;
Text {
padding: 10px;
text: message;
}
}