[Qt-interest] *Spoofed Mail* How to get update rect in paint event
Schimkowitsch Robert
Robert.Schimkowitsch at andritz.com
Wed Aug 31 15:15:50 CEST 2011
Experiments show the exposedRect is really not what I need. It always
equals my boundingRect, even if only a part of my item is invalidated.
How do I get the updateRect then?
Kind regards
Robert Schimkowitsch
________________________________
From: qt-interest-bounces+robert.schimkowitsch=andritz.com at qt.nokia.com
[mailto:qt-interest-bounces+robert.schimkowitsch=andritz.com at qt.nokia.co
m] On Behalf Of Schimkowitsch Robert
Sent: Wednesday, August 31, 2011 1:05 PM
To: qt-interest at qt.nokia.com
Subject: *Spoofed Mail* [Qt-interest] How to get update rect in paint
event
When I update a GraphicsItem using
update(someRect);
how do I get "someRect" within my paint event, so I can optimize my
painting?
I suspect QStyleOptionGraphicsItem::exposedRect, but given it's name, it
might just as well only return the part of the GraphicsItem not covered
by other (opaque) items.
Couldn't find anything in the docs about that.
Kind regards
Robert Schimkowitsch
________________________________
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.
ANDRITZ HYDRO GmbH
Rechtsform/ Legal form: Gesellschaft mit beschrankter Haftung /
Corporation
Firmensitz/ Registered seat: Wien
Firmenbuchgericht/ Court of registry: Handelsgericht Wien
Firmenbuchnummer/ Company registration: FN 61833 g
DVR: 0605077
UID-Nr.: ATU14756806
Thank You.
________________________________
#####################################################################################
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 beschrankter 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/20110831/3a7618a4/attachment.html
More information about the Qt-interest-old
mailing list