Code review comment for lp:~dandrader/unity-api/mousePointer

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

On 16/09/15 07:40, Gerry Boland wrote:
>> On 09/09/15 07:54, Gerry Boland wrote:
>>> Review: Needs Information
>>>
>>> + Q_PROPERTY(qreal hotspotX READ hotspotX NOTIFY hotspotXChanged)
>>> + Q_PROPERTY(qreal hotspotY READ hotspotY NOTIFY hotspotYChanged)
>>> QPoint?
>> Please don't! This is the most convenient way for using it in QML.
> That's
> x: hotspotX
> y: hotspotY
> versus
> x: hotspot.x
> y: hotspot.y
> I know which I prefer ;)

Does QQuickItem have item.pos.x and item.pos.y? Or item.size.width and
item.size.height?

« Back to merge proposal