[Qt-interest] QDockWidget size

Josiah Bryan jbryan at productiveconcepts.com
Tue Dec 8 21:50:44 CET 2009


Oszkar Ambrus wrote:
> Hi,
>
> I've browsed the archives and I couldn't find any hints on my question.
> I'm using Qt Creator to create a UI with a QMainWindow and I have a 
> QDockWidget with some contents.
>
> The problem is that every time I start the application, the dock widget 
> is shrunk down completely, and I have to resize it manually.
> I tried by resizing it in the main window constructor, but I just don't 
> manage to do it.
>
> Is there a solution to this?
>
>   
QMainWindow::saveState and restoreState




More information about the Qt-interest-old mailing list