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. Qt large data sets

Qt large data sets

Scheduled Pinned Locked Moved Unsolved General and Desktop
large data sets
4 Posts 2 Posters 809 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.
  • Ivan NetskinI Offline
    Ivan NetskinI Offline
    Ivan Netskin
    wrote on last edited by Ivan Netskin
    #1

    Hello , the question is - is qt able to view large data sets fast, like excel? Imagine qtableview with more than 1k rows.If you try to scroll the view u will see it's running pretty slow. What is the best practice to store large data sets and view it on a fly, like in excel ?I have found the article, but it seems outdated. Is there any advices from professionals? Thanks in advance!

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      I have a QTreeView + QStandardItemModel with more than 1000 rows, each having 1 or more child rows and spanning 10 columns all running 100% smooth. do you use custom delegates?

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      0
      • Ivan NetskinI Offline
        Ivan NetskinI Offline
        Ivan Netskin
        wrote on last edited by
        #3

        yes, also my custom model derived from QAbstractModel. Each cell contains about 3-4 QString params and 3-4 Booleans.1 row contain about 150 columns.

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by VRonin
          #4

          can you post the code for the paint() of your custom delegate? (spoiler alert: that's the bottleneck)

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          2

          • Login

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