follow the SlideObject for more parts
This commit is contained in:
parent
4efddac106
commit
51f8488089
7 changed files with 18 additions and 16 deletions
|
@ -17,7 +17,7 @@ Item {
|
|||
property url imagebackground
|
||||
property url vidbackground
|
||||
|
||||
Component.onCompleted: nextSlideAction()
|
||||
/* Component.onCompleted: nextSlideAction() */
|
||||
|
||||
GridLayout {
|
||||
anchors.fill: parent
|
||||
|
@ -87,7 +87,8 @@ Item {
|
|||
textSize: width / 15
|
||||
itemType: root.itemType
|
||||
imageSource: SlideObject.imageBackground
|
||||
videoSource: vidbackground
|
||||
videoSource: SlideObject.videoBackground
|
||||
text: SlideObject.text
|
||||
preview: true
|
||||
}
|
||||
|
||||
|
@ -122,8 +123,6 @@ Item {
|
|||
|
||||
function nextSlideAction() {
|
||||
print(textIndex);
|
||||
print("YIPPEE KAYAYYYY!");
|
||||
print("YIPPEE KAYAYYYY!");
|
||||
if (itemType === "song") {
|
||||
if (textIndex === 0) {
|
||||
previewSlide.text = root.text[textIndex];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue