user
6th January 2009, 05:10
I would like to know if there were any updates regarding the setting of initial size for the dockWidget.
I found a previous post http://www.qtcentre.org/forum/f-qt-programming-2/t-qdockwidget-size-556.html that mentioned there will be a fix in version 4.2.
I use Qt version 4.4.3 but the only way I can find to set initial size is by using setMinimumWidth() which I don't want to do (since I want to be able to resize the widget).
In a different post there was a link to a closed bug report http://trolltech.com/developer/task-tracker/index_html?method=entry&id=146752
but when I resize my dockWidget (horizontally or vertically) than hide and show it, the widget goes back to it's original size (this only happens for docked windows) is there something I should do for the window to remember it's state?
I found a previous post http://www.qtcentre.org/forum/f-qt-programming-2/t-qdockwidget-size-556.html that mentioned there will be a fix in version 4.2.
I use Qt version 4.4.3 but the only way I can find to set initial size is by using setMinimumWidth() which I don't want to do (since I want to be able to resize the widget).
In a different post there was a link to a closed bug report http://trolltech.com/developer/task-tracker/index_html?method=entry&id=146752
but when I resize my dockWidget (horizontally or vertically) than hide and show it, the widget goes back to it's original size (this only happens for docked windows) is there something I should do for the window to remember it's state?