[Qt-interest] How to get update rect in paint event
Schimkowitsch Robert
Robert.Schimkowitsch at andritz.com
Wed Aug 31 13:05:16 CEST 2011
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.
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/e8dfd2e8/attachment.html
More information about the Qt-interest-old
mailing list