PresentWindow follows variables instead

This commit is contained in:
Chris Cochrun 2022-07-07 10:44:46 -05:00
parent a7c2c2487a
commit db70ac90f2
4 changed files with 36 additions and 33 deletions

View file

@ -13,8 +13,9 @@ Controls.Page {
// properties passed around for the slides
property int currentServiceItem
property url imageBackground: ""
property url videoBackground: ""
property url imageBackground: presentation.imageBackground
property url videoBackground: presentation.vidBackground
property string currentText: presentation.text
property int blurRadius: 0
/* property var video */
@ -187,6 +188,7 @@ Controls.Page {
imageEditor.visible = false;
presentation.visible = true;
editMode = false;
presenting = true;
}
}

View file

@ -26,7 +26,7 @@ Window {
anchors.fill: parent
imageSource: imageBackground
videoSource: videoBackground
text: ""
text: currentText
Component.onCompleted: slideItem = presentationSlide
}