PDA

View Full Version : QDockWidget new areas



nammidd
28th March 2017, 12:31
Hello, at the moment there is QDockWidget which can be docked in QMainWindow around the central widget in its predefined areas, but i want to ask a question, is there a way to predefine my own areas for QDockWidget inside layouts to dock it there? And if QDockWidget unable to dot it, could you not tell me, is it possible to somehow achieve this in Qt with different widgets?

Santosh Reddy
30th March 2017, 12:28
No you cannot define the areas for docking. If you want you will have to write a custom layout manager for it which responds to mouse events.