Hi
I have some frames inside a QMainWindow central widget.
I want the window to auto resize as i show/hide the frames.
How do i manage this? I tried sizepolicy but didn't work.
Thanks
Hi
I have some frames inside a QMainWindow central widget.
I want the window to auto resize as i show/hide the frames.
How do i manage this? I tried sizepolicy but didn't work.
Thanks
not sure but .. u can try resizeEvent() ..
"Behind every great fortune lies a crime" - Balzac
graciano (16th August 2009)
I use this to resize widgets:
Check it out here:
http://doc.trolltech.com/4.3/qwidget.html#size-prop
Last edited by tommy; 16th August 2009 at 18:10.
Use computer programming to do science!
www.scienceprogramming.com
Set a proper layout to your central widget that contains the frames.
It's nice to be important but it's more important to be nice.
It's something like this: http://www.box.net/shared/57oakuculm
It grows as i show new frames ... but it does not shrink back!
What properties showld i be looking for?!
Bookmarks