Thanks franz...
Actually I have problem regarding to the positioning of the QDockWidget on the QMainWindow. I have 3 dockwidget in my main window [initially centre widget I put as 0]:
maindock: left side
rightdock: right side
bottomdock: bottom side
I have to position the dockwidget in some ratio (Say 3/4 width for maindock, 1/4 width for left dock and 100 px height for bottom widget).
Now I want that when I close the "rightdock" and "bottomdock", then "maindock" should take the place of others, but reverse should not possible(i.e. when close "maindock" then "rightdock" and "bottomdock" should not resize). All the dockwidgets
should have the docking features.
To achieve this I have used the approach that I have mention in my initial post (i.e. if maindock will be member of the centre
widget then I can achieve this, but the problem comes here...)
Bookmarks