Hey guys!
I would like to have a dockWidget positioned in the middle of my MainWindow. So what I did was:
QVboxLayout *grid = new QVBoxLayout(centralWidget());
grid->addWidget(ui->initial_dockWidget);
This achivied what i need because it did open the dock maximized in centralWidget as i want.
However, I can't undock the dock my dragging it. I can undock only by doubleclick or by pressing float button. Does anybody knows how to fix it?
Thanks
Bookmarks