Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Global position of a QQuickItem.

$
0
0
So this has been asked before, but I haven’t found anything to address it since QQuickItem replaced QDeclarativeItem. Here is the original question. http://qt-project.org/forums/viewthread/48092/ The basic question is how do I know when a QQuickItem moves on the screen? How do I know if the x,y of it or any ancestor has changed? I am trying to implement a sort of tooltip that has to follow the item wherever it goes and because of transform elements (which don’t edit x or y) I can’t really tell where the item is on the screen and if that has changed.

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images