But IIRC the result of the discussion cited above was that, in order to get rid of the title bar we need a new container similar to the DockView one but reserved for Drawer type widget: DrawerView.
In fact QDockWidget::setTitleBarWidget allows exactly that, unfortunately only from Qt 4.3 on. I tried to use a TocWidget directly as a drawer. But there seems to be a bug with the button at the bottoms. When you make the drawer smaller the reload button disappears. This is not the case with a QDockWidget.
In fact I think that the title bar really is no problem. You can disable the moving anyway (did that in the patch), and having the close button there is not a bad thing either. What I don't like about the drawer in Qt is that you cannot hide is by resizing it to 0. Cocoa apps can do that, but here the minimal size applies. Maybe some size magic could fix that though. Have to explore it...
Schimmi
PGP.sig
Description: Signierter Teil der Nachricht
