QDockWidget Tab Position

When I group several QDockWidgets in the same place, their tabs go down. Is there any way to place them at the top?

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

Eclipse tabs.

For example, the JUnit tab is also a title, and you can drag it to the dock in another place.

+3
source share
1 answer

You can control where the tabs are in each area of ​​the dock using QMainWindow::setTabPosition.

+5
source

Source: https://habr.com/ru/post/1794053/


All Articles