[Qt-interest] Have any recommendations of enhance the GUI speed of using GraphiscView/Scene/Items ?
Schimkowitsch Robert
Robert.Schimkowitsch at andritz.com
Sun Nov 6 10:05:45 CET 2011
Hi,
when moving lots of items, updating the bsp tree for fast item lookup can be expensive.
You might want to check QGraphicsScene::setItemIndexMethod and QGraphicsScene::setBspTreeDepth.
Also, you might run it on Linux using valgrind - it's very easy to use nowadays, with the integration in Creator.
Kind regards
Robert Schimkowitsch
-----Original Message-----
From: qt-interest-bounces+robert.schimkowitsch=andritz.com at qt.nokia.com on behalf of Duan,Lin
Sent: Fri 10/28/2011 11:45 AM
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] Have any recommendations of enhance the GUI speed of using GraphiscView/Scene/Items ?
I am performing a task of building a GraphicsView based GUI application. But I found that when I RubberBand-select about 20 Items,then Drag them together within the unique GraphicsView/Scene,it seems need I wait it for redraw (very very slow).
( there were many GraphicsPathItems connected the items, then moving the items together , the GraphicsPathItem redraw in the GraphicsPathItem::mouseMoveEvent()).
#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
ANDRITZ HYDRO GmbH
Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation
Firmensitz/ Registered seat: Wien
Firmenbuchgericht/ Court of registry: Handelsgericht Wien
Firmenbuchnummer/ Company registration: FN 61833 g
DVR: 0605077
UID-Nr.: ATU14756806
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111106/8c9a1c87/attachment.html
More information about the Qt-interest-old
mailing list