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

Access QQuickItem anchors from C++?

$
0
0
I need to return a QQuickItem’s anchors from a C++ method for binding in QML. However, QQuickItem does not have any method even remotely connected to this functionality. I took a quick look through the source files and it would seem that the methods I need are encapsulated in a QQuickItemPrivate class, but I wasn’t able to find the member that holds it nor the line where it is initialized. Any suggestions?

Viewing all articles
Browse latest Browse all 4972

Trending Articles