[Qt-interest] Cosmetic QGraphicsItems
Ian Thomson
Ian.Thomson at iongeo.com
Thu Jan 29 17:57:18 CET 2009
Hi,
Depending on what you need, try checking these features out:
http://doc.trolltech.com/4.4/qpen.html#setCosmetic
QGraphicsItem::ItemIgnoresTransformations
Thanks,
Ian.
Nadia Pio wrote:
> Hello,
>
> I'd like to draw on my GraphicsView, a cosmetic rectangle, that
> doesn't scale with the graphicsView. How can I do this?
> I've tried to set the scale factor = 1 in my QGraphicsItem paint
> function, and then to restore the matrix, but it seems to not work!
> Any idea?
>
> Cheers,
> Nadia
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender and delete the original.
More information about the Qt-interest-old
mailing list