On Thu, 25 Jun 2009, Keval Vora wrote:

> Hii,
> I was trying to write a code through Qt creator. On a click of a button, a
> label simply disappears. I was able to disappear the label but I could not
> resize the window. Instead, the layouts in the window managed to get the
> button to the center of the window.
> Is there a direct method/slot to resize the window?
> 

How about trying to code by referring to the documentation here
http://doc.trolltech.com/index.html

Are you creating the window using 'QWidget' ?

If yes, checkout
http://doc.qtsoftware.com/4.4/qwidget.html

working with Qt Creator is a nice idea when you know Qt !


thanks
Saifi.

Reply via email to