[Qt-interest] adding a QGraphicsPixmapItem

Malyushytsky, Alex alex at wai.com
Thu Oct 21 23:26:17 CEST 2010


What version of Qt you are using?
That sounds weird, when I use QGraphicsPixmapItem it just displayed at the location it supposed to be .

Alex

From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of pmqt71
Sent: Thursday, October 21, 2010 6:17 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] adding a QGraphicsPixmapItem

Hi all,
adding a QGraphicsPixmapItem on a QGraphicsScene, I see a short animation showing the pixmap moving from the scene's center to the top-right corner.

How to disable this effect? I just want the pixmap in the top-right corner of the scene.

the statement is:
QGraphicsPixmapItem* item = gs->addPixmap(pixmap);
thanks
pm




---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101021/26b2f224/attachment.html 


More information about the Qt-interest-old mailing list