mirror of
https://github.com/obhq/obliteration.git
synced 2024-11-23 03:09:52 +00:00
42 lines
904 B
Plaintext
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;
|
|
}
|
|
}
|