You are not logged in.

1

Saturday, December 16th 2006, 10:03am

Qt4: Size of QDockWidget

I am working with a QMainWindow and add there some QDockWidget. So far it works great, but i would like to set the initial width of the QDockWidget without deactivating the resize possibility for the user.

As example i would like to add my QDockWidget to the QMainWindow and set the initial width of the QDockWidget to 100pixel. But i dont want to use a fixed width because the user should be able to resize afterwards.

i am using Qt4

I would be happy if someone can help me!