[PyQt] How to put a banner on my app

Baz Walter bazwal at ftml.net
Tue Oct 27 20:05:41 GMT 2009


Tuxman wrote:
  > Is there a way to hide the title region on a Dock Widget?

titlebar = QWidget()
mydockwidget.setTitleBarWidget(titlebar)

nb: i think it may be best to do this *before* calling 
mydockwidget.setWidget in your code. i got some strange errors when i 
tried it round the other way, but YMMV.

HTH



More information about the PyQt mailing list