[Qt-interest] Resizing a QMDiSubWindow.
wim.delvaux at adaptiveplanet.com
wim.delvaux at adaptiveplanet.com
Thu Mar 12 16:25:39 CET 2009
The SubWindow contains some widget.
I want to resize the SubWindow to 'fit' the widget's size.
I do
SubWindow->widget()->resize( SubWindow->widget()->sizeHint() );
SubWindow->updateGeometry()
Unfortunately that does not resize the MDISubwindow. However If i resize it
is 'snaps' to a certain size. (possible the sizeHint() size).
How can I resize subwindows programmatically ?
W
More information about the Qt-interest-old
mailing list