[Qt-qml] QML- can you specify a transform point on an Item?

michael.brasser at nokia.com michael.brasser at nokia.com
Thu Oct 7 08:17:20 CEST 2010


Using the transform property is the right way to do this. I recently fixed a crash related to the transform property (QTBUG-13893) that could be related, so if you are building a checked out version yourself and haven't updated recently you may want to update; otherwise the fix should be part of 4.7.1.

Regards,
Michael

On 07/10/2010, at 6:40 AM, ext tim.ong at nokia.com<mailto:tim.ong at nokia.com> wrote:

I’ll add that we’ve tried to define two Rotation elements and then set myItem.transform to the desired rotation, but that crashes the viewer.


On 10/6/10 1:19 PM, "Ong Timothy Andrew" <tim.ong at nokia.com<x-msg://2871/tim.ong@nokia.com>> wrote:

Hi,

Is it possible to specify a transform origin point for an Item?

There is a transformOrigin which takes an enumeration (TopLeft, TopRight, etc), not a specific location.

There is a transformOriginPoint, which is read-only.

Any ideas?

Thanks!
Tim
<ATT00001..txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101007/49e2f0aa/attachment.html 


More information about the Qt-qml mailing list