trying to add slide class as master controller for the slide

This commit is contained in:
Chris Cochrun 2022-07-11 09:36:18 -05:00
parent 99afdd0b0f
commit 12a5b0bcf1
8 changed files with 220 additions and 4 deletions

View file

@ -6,6 +6,7 @@ import QtQuick.Layouts 1.2
/* import QtAudioEngine 1.15 */
import org.kde.kirigami 2.13 as Kirigami
import "./" as Presenter
import org.presenter 1.0
Item {
id: root
@ -85,7 +86,7 @@ Item {
Layout.alignment: Qt.AlignCenter
textSize: width / 15
itemType: root.itemType
imageSource: imagebackground
imageSource: SlideObject.imageBackground
videoSource: vidbackground
preview: true
}
@ -121,6 +122,7 @@ Item {
function nextSlideAction() {
print(textIndex);
print("YIPPEE KAYAYYYY!");
if (itemType === "song") {
if (textIndex === 0) {
previewSlide.text = root.text[textIndex];