[Interest] Custom QtQuick Animator API?

Ola Røer Thorsen ola at silentwings.no
Thu Jan 22 15:37:46 CET 2015


Hi all,

I would like to create a custom Animator class, or something similar that
can manipulate a QQuickItem's x and y position from the render thread.

The intended use is to move some label items on top of a 3d scene. The
labels will follow certain entities in the 3d scene. I know it will mostly
work by just setting the label item's x and y properties, but it will not
be as smooth as possible.

I've been looking into the Animator source code, which is all private API.
Are there any plans to make a public API for the Animators in a later Qt
version?

Alternatively, is there some way to get the root item node as returned by
QQuickItemPrivate::itemNode(), without using the private API? Any other
hints on how to do this?

Thanks,
Ola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150122/030dc6a4/attachment.html>


More information about the Interest mailing list