[PyQt] QDockWidget.setTitleBarWidget(None) is not working

Phil Thompson phil at riverbankcomputing.com
Mon Nov 22 14:38:49 GMT 2010


On Mon, 22 Nov 2010 09:07:49 -0500, victor <noagbodjivictor at gmail.com>
wrote:
> hi list,
> 
> the doc says that setting a title bar widget with the value 0 (i
> assumed None is python) would hide the title bar. but doing
> setTitleBarWidget(None) is not doing anything. and setting a integer
> yields an exception.
> 
> anyone has encountered this behavior before?
> 
> thanks

Looks like it is a Qt bug as a C++ test does the same.

There is a PyQt bug in setTitleBarWidget() but it doesn't affect this.

Phil


More information about the PyQt mailing list