Frage

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.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top