Hi Paul,
I first updated my data() method as suggested and after having a look at my
profiling results and, although there was a marked improvement, the effect
of a first expansion of any node with a large number of children on the GUI
was still ridiculous. Grasping at straws, I decided to remove
On 9/27/2014 12:34 AM, William Hallatt wrote:
> Sorry for the spam, but now that I'm looking at the profiler's output
> again in light of Paul and Marian's input, I think I've identified where
> I'll need to make my improvements.
>
> Thanks again for the help!
Could you let us know where the issue
Sorry for the spam, but now that I'm looking at the profiler's output again
in light of Paul and Marian's input, I think I've identified where I'll
need to make my improvements.
Thanks again for the help!
On 27 September 2014 07:14, William Hallatt wrote:
> @William - there is no real noticea
@William - there is no real noticeable difference between Debug and Release
modes and I haven't been able to extract anything of real use from the
profiler either (perhaps this is lack of experience on my part, I added a
screenshot of the the output here:
https://www.dropbox.com/sh/8vc1s29wvmvpp07/
Indeed, views query model data very often. If, for example, data() is
even mildly slow the performance impact can be drastic. If you cannot
work around that directly, try to use caches (e.g. QCache,
QContiguousCache).
On 26.09.2014 19:06, Paul Miller wrote:
>
> Otherwise, I haven't had any perfor
On 9/26/2014 8:33 AM, William Hallatt wrote:
> Hi everyone,
>
> I have just started playing with Qt’s MVC classes and have created a
> hierarchical model to display in a QTreeView. Some of the nodes,
> however, have a fair amount of children and when I expand these nodes
> (or, heaven forbid, expan
On 09/26/2014 09:33 AM, William Hallatt wrote:
> Hi everyone,
>
> I have just started playing with Qt’s MVC classes and have created a
> hierarchical model to display in a QTreeView. Some of the nodes, however,
> have a
> fair amount of children and when I expand these nodes (or, heaven forbid,
>
Hi everyone,
I have just started playing with Qt’s MVC classes and have created a
hierarchical model to display in a QTreeView. Some of the nodes, however,
have a fair amount of children and when I expand these nodes (or, heaven
forbid, expandAll), the app hangs for a remarkably long time.
I have