Re: [Interest] QTreeView expand/expandAll performance

2014-09-26 Thread William Hallatt
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

Re: [Interest] QTreeView expand/expandAll performance

2014-09-26 Thread William Hallatt
@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/

Re: [Interest] What is the difference.

2014-09-26 Thread Thiago Macieira
On Friday 26 September 2014 15:09:45 Karl Ruetz wrote: > Can this be done with statically linked programs? > Do I just need to explicitly add the platform .a file to the LIBS in the Qt > project file? Yes, it can be statically linked, but trying to statically link two or more QPA plugins is a dan

Re: [Interest] What is the difference.

2014-09-26 Thread Elvis Stansvik
2014-09-26 22:09 GMT+02:00 Karl Ruetz : > > On Sep 26, 2014, at 2:37 PM, Karl Ruetz wrote: > > > > > On Sep 24, 2014, at 10:22 AM, Thiago Macieira > wrote: > > > >> On Wednesday 24 September 2014 10:41:09 Koehne Kai wrote: > >>> I think Thiago already wrote it: use the offscreen plugin . Launch

Re: [Interest] What is the difference.

2014-09-26 Thread Karl Ruetz
On Sep 26, 2014, at 2:37 PM, Karl Ruetz wrote: > > On Sep 24, 2014, at 10:22 AM, Thiago Macieira > wrote: > >> On Wednesday 24 September 2014 10:41:09 Koehne Kai wrote: >>> I think Thiago already wrote it: use the offscreen plugin . Launch your app >>> with e.g. >>> >>> -platform minimal >>

Re: [Interest] What is the difference.

2014-09-26 Thread Karl Ruetz
On Sep 24, 2014, at 10:22 AM, Thiago Macieira wrote: > On Wednesday 24 September 2014 10:41:09 Koehne Kai wrote: >> I think Thiago already wrote it: use the offscreen plugin . Launch your app >> with e.g. >> >> -platform minimal >> >> And continue to use QApplication. > > offscreen, not mini

Re: [Interest] QTreeView expand/expandAll performance

2014-09-26 Thread Marian Beermann
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

Re: [Interest] QTreeView expand/expandAll performance

2014-09-26 Thread Paul Miller
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

Re: [Interest] QTreeView expand/expandAll performance

2014-09-26 Thread william.croc...@analog.com
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, >

[Interest] Is it possible to integrate a widget to an App

2014-09-26 Thread nus1998
Hi All, I can get the HWND of a running application by win API FindWindow, and can I add a widget as its child to it in some way? or because there are so much difference that the parent can't produce a such child? B.R. ___ Interest mailing list Intere

[Interest] QTreeView expand/expandAll performance

2014-09-26 Thread William Hallatt
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