Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. PropertyChange - move rectangle relativ
Qt 6.12 LTS is out! See what's new in the release blog

PropertyChange - move rectangle relativ

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 710 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.
  • B Offline
    B Offline
    ben80
    wrote on last edited by
    #1

    Hi,

    using a state transition, i would like to move a rectangle relative to its current position by 100 pixel.

    The following code seems to work but i get the following message in the console:
    code: PropertyChanges { target:rectBlue; y:y+100}
    message: Binding loop detected for property "y"

    Is there another way to do this

    Ben

    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
    • Unsolved