Problems with rotation

When I use a gallery with “fixed off” and rotate it with two fingers (fingers are placed in the lower right corner), the widget rotates around it´s center-point (0.5width, 0.5height).

But in this case, the rotation-origin should also be in the lower right corner (center of the two fingers).

Thanks for the actions of a/v-widgets (not yet documented?).

How can I set a postition within the videoplayback - for example: blockData.delegate.scriptAdaptor.actionSetPlaybackTime(0…1,0)

In the gallery-widget there are 2 arrows as buttons (prev picture, next picture). How can I replace them with custom version?

I will check the rotation.

MediaPlayer ( http://doc.qt.io/qt-5/qml-qtmultimedia-mediaplayer.html) is accesible by block.subItem.children[0].children[1].source
To seek the video to 1 second: block.subItem.children[0].children[1].source.seek(1000)

You may use your own ui elements on top of the gallery.
Next image: blockData.delegate.scriptAdaptor.actionListForward()
Prev image: blockData.delegate.scriptAdaptor.actionListBackward()


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.