Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved AnchorLine type ?

    QML and Qt Quick
    2
    2
    77
    Loading More Posts
    • 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.
    • SPlatten
      SPlatten last edited by

      Looking at this page:

      https://het.as.utexas.edu/HET/Software/html/qml-item.html#anchors.top-prop

      Various anchors are defined as AnchorLine, I need to create a property for the anchor, however AnchorLine does not exist as far as Qt Creator is concern.

      What type should I use?

      Kind Regards,
      Sy

      1 Reply Last reply Reply Quote 0
      • fcarney
        fcarney last edited by

        My guess is you are stuck with using "var", if it will work.

        C++ is a perfectly valid school of magic.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post