Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Itemviews: Performance with large selections

Itemviews: Performance with large selections

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.6k 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.
  • K Offline
    K Offline
    Knacktus
    wrote on last edited by
    #1

    Hi guys,

    I've got some major performance issues when selecting a large number of rows (some hundred) in a treeview. It surprises me as otherwise the performance is really stunning. Selections take a long time and scrolling using the scrollbar is really slow.

    Is this a known issue? Are there any workarounds / best practices?

    Cheers,

    Jan

    P.S.: For selections that are triggered by the code (not user) I can think of workarounds like marking/coloring the rows via the model, but native selections would be most familiar for the users.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rcari
      wrote on last edited by
      #2

      What platform are you running on ?
      If you are on Linux/Mac OS X you should try to run a profiler such as Valgrind to figure out where your application is spending cycles and figure out what your bottleneck is.

      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