[Qt-interest] Unable to set the Geometry of the QGraphicsView widget at Run Time

chandrasekar wagmare sekarwagmare at gmail.com
Thu Apr 30 10:21:48 CEST 2009


how u are updating the setGeometry() function ... for ex: using QTimer slot
...?


On Thu, Apr 30, 2009 at 12:18 PM, Kamakshi Sivaraman <
Kamakshi.Sivaraman at lntinfotech.com> wrote:

>
> Hi All,
>
> Currently I am working with QGraphicsView as widget and by default the
> geometry is (0, 0, 916, 850) and
> maximum size of the widget is set to (16777215, 16777215).
>
> Now I need to set the geometry of the above widget at Run Time,I have
> increased the width and height ,
> but it is not getting reflected even thought the sizes of width and height
> is less than maximum size.
>
> For E.g.
> At Run Time the value of widget's geometry is changed to (0,0,916,2400) by
> using setGeometry() function.
> But Still the widget remains with its default geometry.
>
> Please help.
>
>
>
> Thanks & Regards,
> S.KAMAKSHI
> Larsen & Toubro Infotech Limited
> Whitefield,
> Bangalore -560066
> *
> Larsen & Toubro Infotech Ltd.**
> **www.Lntinfotech.com* <http://www.lntinfotech.com/>
>
> This Document is classified as:
>
> L&T Infotech Proprietary   L&T Infotech Confidential   L&T Infotech
> Internal Use Only   L&T Infotech General Business
>
> This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
> ______________________________________________________________________
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>


-- 
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090430/1b55db4a/attachment.html 


More information about the Qt-interest-old mailing list