[PyQt] ScaleX, ScaleY

Jason H scorp1us at yahoo.com
Fri Jan 29 19:05:37 GMT 2010


Confused...

But now I get it. I searched on QGraphicsItem::setScale() then **some how** got to QGraphicsScale::setXScale() 
I thought it was a member of QGraphicsItem

Sorry!

----- Original Message ----
From: Phil Thompson <phil at riverbankcomputing.com>
To: Jason H <scorp1us at yahoo.com>
Cc: pyqt at riverbankcomputing.com
Sent: Fri, January 29, 2010 11:55:11 AM
Subject: Re: [PyQt] ScaleX, ScaleY

On Fri, 29 Jan 2010 08:37:45 -0800 (PST), Jason H <scorp1us at yahoo.com>
wrote:
> Apparently only a single scale factor is supported.
> 
> QGraphicsItem.setScale(qreal)
> 
> The Qt API allows for independent X and Y scale factors.
> QGraphicsItem.setXScale(qreal)
> QGraphicsItem.setYScale(qreal)
> 
> Can we get those supported? 

They aren't in Qt v4.6.1.

Phil



      



More information about the PyQt mailing list