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

Fred Duarte fred.duarte at openbossa.org
Wed Jul 15 20:15:38 CEST 2009


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/25affc02/attachment.html 


More information about the Qt-interest-old mailing list