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
Forum Updated to NodeBB v4.3 + New Features

Qt large data sets

Scheduled Pinned Locked Moved Unsolved General and Desktop
large data sets
4 Posts 2 Posters 820 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.
  • I Offline
    I Offline
    Ivan Netskin
    wrote on 12 Aug 2016, 14:05 last edited by Ivan Netskin 8 Dec 2016, 14:12
    #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
    • V Offline
      V Offline
      VRonin
      wrote on 12 Aug 2016, 14:28 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
      • I Offline
        I Offline
        Ivan Netskin
        wrote on 12 Aug 2016, 14:34 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
        • V Offline
          V Offline
          VRonin
          wrote on 12 Aug 2016, 15:22 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

          3/4

          12 Aug 2016, 14:34

          • Login

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