PresentWindow follows variables instead
This commit is contained in:
parent
a7c2c2487a
commit
db70ac90f2
4 changed files with 36 additions and 33 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ Window {
|
|||
anchors.fill: parent
|
||||
imageSource: imageBackground
|
||||
videoSource: videoBackground
|
||||
text: ""
|
||||
text: currentText
|
||||
|
||||
Component.onCompleted: slideItem = presentationSlide
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<file>qml/presenter/SlideEditor.qml</file>
|
||||
<file>qml/presenter/DragHandle.qml</file>
|
||||
<file>qml/presenter/Presentation.qml</file>
|
||||
<file>qml/presenter/PresentationWindow.qml</file>
|
||||
<file>qml/presenter/Settings.qml</file>
|
||||
<file>assets/parallel.jpg</file>
|
||||
<file>assets/black.jpg</file>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue