Qt large data sets
-
wrote on 12 Aug 2016, 14:05 last edited by Ivan Netskin 8 Dec 2016, 14:12
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!
-
wrote on 12 Aug 2016, 14:28 last edited by
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?
-
wrote on 12 Aug 2016, 14:34 last edited by
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.
-
wrote on 12 Aug 2016, 15:22 last edited by VRonin
can you post the code for the paint() of your custom delegate? (spoiler alert: that's the bottleneck)
3/4