LDForge


Re: [0.3-140907-1955] LDForge - Tha beta is fixed
#12
Santeri Piippo Wrote:
Quote:- and is much faster indeed, but it nonetheless takes 14s (!) to select all in a moderately sized file (http://www.ldraw.org/cgi-bin/ptdetail.cgi?s=15673s02). MLCad does this almost instantaneously.
Yeah it's a problem. It's the object list view that causes the delay, and due to the way Qt manages selection on that widget, optimizing it is not very trivial albeit something that's on my list.

I haven't done any Qt programming in years (perhaps 10+), but have you tried calling setUpdatesEnabled(false) on the list object prior to doing the "select all", followed by setUpdatesEnabled(true) once you've selected everything?

I know Qt isn't in any way, shape, or form related to Win32, but in Win32, you are advised to do something similar when making large changes to the contents of a list view, and it is quite effective.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDForge - by Santeri Piippo - 2014-09-07, 1:37
Re: [0.3-140907-1955] LDForge - Tha beta is fixed - by Travis Cobbs - 2014-09-09, 4:52
RE: [dead] LDForge - by Roland Melkert - 2016-04-24, 19:49
RE: [dead] LDForge - by Santeri Piippo - 2016-04-24, 20:08
RE: [dead] LDForge - by Nils Schmidt - 2016-04-29, 14:52
RE: [dead] LDForge - by Roland Melkert - 2016-04-29, 17:35
RE: [dead] LDForge - by Santeri Piippo - 2016-10-16, 14:24
RE: LDForge - by Santeri Piippo - 2017-03-03, 23:56
RE: LDForge - by Philippe Hurbain - 2017-03-04, 8:21

Forum Jump:


Users browsing this thread: 1 Guest(s)