Setting slide changes on changing service item

This commit is contained in:
Chris Cochrun 2022-03-04 16:50:01 -06:00
parent 3e646d8728
commit 4c84fdc614
9 changed files with 53 additions and 24 deletions

View file

@ -13,9 +13,12 @@ Kirigami.ApplicationWindow {
property bool libraryOpen: true
property bool presenting: false
property bool presentMode: true
property var screens
property bool editMode: false
signal edit()
pageStack.initialPage: mainPage
header: Presenter.Header {}
width: 1800
@ -25,6 +28,11 @@ Kirigami.ApplicationWindow {
id: mainPage
}
function toggleEditMode() {
editMode = !editMode;
mainPage.editSwitch(editMode);
}
function toggleLibrary() {
libraryOpen = !libraryOpen
}