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. ListView / PathView wrap around
Qt 6.11 is out! See what's new in the release blog

ListView / PathView wrap around

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 283 Views
  • 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.
  • M Offline
    M Offline
    MeierS
    wrote on last edited by
    #1

    Hello together,

    we have implemented a Selection Carousel in our UI. The Carousel is used for multiple selections and also content dependent, which means that the amount of entries in the Carousel is not fix.
    We want to have a behavior, that the carousel is endless (wrap around) when the model has more than e.g. 6 entries, but bounded when it has less.
    Currently our approach is, that we have implemented the control twice. Once using a ListView and once using a PathView (using the same delegate).

    This approach is very prone to errors, and we are suffering a lot to keep the look and feel of the controls the same. As ListView and PathView are working differently it is really hard to align things like scroll animations and sensitivity. Currently we did not achieve a satisfying solution.

    Are there any other ideas on how to implement such a carousel that can be either bounded or wrap around?

    Thank you very much.

    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