Move Models and Actions slint definitions in the shared directory

This commit is contained in:
Vyn 2025-06-24 12:04:54 +02:00
parent f2f472a595
commit 72b004b7b0
Signed by: vyn
GPG key ID: E1B2BE34E7A971E7
15 changed files with 58 additions and 66 deletions

View file

@ -1,4 +1,4 @@
import { AppWindowModels } from "Models.slint";
import { AppModels } from "../../shared/Models.slint";
import { Button, VerticalBox, CheckBox } from "std-widgets.slint";
import { MainView } from "views/TasksView.slint";
import { Palette } from "@selenite";
@ -6,7 +6,7 @@ import { CalendarView } from "views/CalendarView.slint";
import { VButton } from "../../../external/selenite/components/Button.slint";
import { ToggleButton } from "../../../external/selenite/components/index.slint";
import { VTextInput } from "../../../external/selenite/components/TextInput.slint";
import { AppWindowActions } from "Actions.slint";
import { AppActions } from "../../shared/Actions.slint";
import { SideBar } from "views/SideBar.slint";
export component AppWindow inherits Window {
@ -69,4 +69,4 @@ export component AppWindow inherits Window {
}
}
export { AppWindowModels, Palette } // Export to make it visible to the C++ backend
export { AppModels, Palette } // Export to make it visible to the C++ backend