[Qt-interest] A little confusion about co-ordinates while working with QGraphicsView
John McClurkin
jwm at nei.nih.gov
Wed Jul 15 13:17:19 CEST 2009
Volker wrote:
> On Tuesday 14 July 2009 14:33:34 Usman Ajmal wrote:
>> Hi,
>>
>> I have a little confusion about QGraphicsView and the co-ordinates of my
>> shapes (e.g. a rectangle) in it. I hope someone may clear it out to me.
>>
>> Geometery of my graphics view is graphicsView->setGeometry(QRect(10,
>> 10, 710, 540));
>>
>> This mean Width = 710 - 10 = 700
>> and Height = 540 - 10 = 530
> Me thinks this width=710 and height=540
and x = 10, y = 10
More information about the Qt-interest-old
mailing list