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. How I can ask all delegats in ListView and find out get necessary parameters?

How I can ask all delegats in ListView and find out get necessary parameters?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 254 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
    Mihaill
    wrote on last edited by
    #1

    Hi!
    I have ListView. How I can ask all delegats in ListView and find out get necessary parameters?

    Pradeep P NP 1 Reply Last reply
    0
    • IntruderExcluderI Offline
      IntruderExcluderI Offline
      IntruderExcluder
      wrote on last edited by
      #2

      You cannot. ListView doesnt stores all delegates all time. When delegate get out of viewport it will be destroyed by ListView.

      1 Reply Last reply
      0
      • M Mihaill

        Hi!
        I have ListView. How I can ask all delegats in ListView and find out get necessary parameters?

        Pradeep P NP Offline
        Pradeep P NP Offline
        Pradeep P N
        wrote on last edited by
        #3

        @Mihaill
        I think you can try setting the cacheBuffer.
        I have not tested it. Hope it works.

        All the best.

        Pradeep Nimbalkar.
        Upvote the answer(s) that helped you to solve the issue...
        Keep code clean.

        1 Reply Last reply
        1

        • Login

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