3

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.

Jens A. Koch
  • 39,862
  • 13
  • 113
  • 141
EricP
  • 3,395
  • 3
  • 33
  • 46

1 Answers1

5

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

azalea
  • 11,402
  • 3
  • 35
  • 46
Stephen Chu
  • 12,724
  • 1
  • 35
  • 46
  • Thanks. I moved the question about dragging tabs to another question: http://stackoverflow.com/questions/5099917/qdockwidget-draggable-tabs – EricP Feb 24 '11 at 03:05