Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Access QQuickItem anchors from C++?
Forum Updated to NodeBB v4.3 + New Features

Access QQuickItem anchors from C++?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 800 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    utcenter
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved