diff options
Diffstat (limited to 'examples/3dstudioruntime2/simpleqml/main.qml')
-rw-r--r-- | examples/3dstudioruntime2/simpleqml/main.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/3dstudioruntime2/simpleqml/main.qml b/examples/3dstudioruntime2/simpleqml/main.qml index fd465fc..1e5b203 100644 --- a/examples/3dstudioruntime2/simpleqml/main.qml +++ b/examples/3dstudioruntime2/simpleqml/main.qml @@ -186,6 +186,19 @@ Rectangle { anchors.left: slideEnter.right anchors.leftMargin: 8 } + Button { + id: nextSlideByIndex + text: "Next slide" + anchors.left: parent.left + anchors.bottom: fpsCount.top + onClicked: s3dpres.goToSlide("Scene", true, true) + } + Button { + text: "Seek to 5 seconds" + anchors.left: nextSlideByIndex.right + anchors.bottom: fpsCount.top + onClicked: s3dpres.goToTime("Scene", 5) + } FileDialog { id: openDialog |