[Qt-interest] How to get dimensions of QGraphicsView widget?

Usman Ajmal uzmanajmal at gmail.com
Wed Jul 15 20:16:56 CEST 2009


Aaha..thanks

On Wed, Jul 15, 2009 at 11:15 PM, Fred Duarte <fred.duarte at openbossa.org>wrote:

> You can use the geometry property.
>
> *qgraphicsWidget->geometry()*
>
> It returns a QRectF containing the dimensions of the widget on
> QGraphicsView.
>
>
> On Wed, Jul 15, 2009 at 1:47 PM, Usman Ajmal <uzmanajmal at gmail.com> wrote:
>
>> Hi
>>
>> Please tell how can i get the dimensions of a graphics view widget? Is
>> there any built in function to get the height and width of that widget?
>>
>> Thanks
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
>
> --
> Frederico Simas Duarte
> MLS - Mobile Linux Software
> INDT - Nokia Institute
>
> http://fredyduarte.net/blog/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090715/33bd92d0/attachment.html 


More information about the Qt-interest-old mailing list