Search code examples
c++qtqdockwidget

QDockWidget visible separator


I have a left docked QDockWidget in my application. I want it to have visible borders and separators but it does not have by default.

How can I setup a dock widget so that it has visible edges?


Solution

  • You can always have a framed widget as a child of the dock widget, however then you will have dual frames when floating the widget.