QDockWidget Tab Position

6k views Asked by At

When I group multiple QDockWidgets in the same place, their tabs go at the bottom. Is there a way to put them at the top?

Even better is if I can replace the title bar with the tabs themselves. the Eclipse IDE has very similar behavior, as can be seen in this screenshot:

Eclipse Tabs.

For example, the JUnit tab is also it's header and can be dragged to dock it anywhere else.

1

There are 1 answers

1
Stephen Chu On BEST ANSWER

You can control where the tabs are in each of the dock areas with QMainWindow::setTabPosition.