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. [solved] Sync contentX / contentY among Flickable in ListView
Qt 6.11 is out! See what's new in the release blog

[solved] Sync contentX / contentY among Flickable in ListView

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

    It turns out that there is a bug in my code that reset the parameters during mouse scroll.

    After fixing it, it works fine.


    Hi,

    In my app, I have a ListView containing a list of Flickable. And what I want to achieve is to synchronize the contentX and contentY among all these Flickable ( for the purpose of easier image comparison).

    The intuitive solution is to bind the contentX/contentY to some global property. However, it seems like that only the contentX/contentY of Flickable that are currently on the screen are synchronized. When I scroll down the ListView, the contentX/contentY of newly appeared Flickable are still with their own original values.

    Is there other workaround to solve such problem?

    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