[PyQt] setUnifiedTitleAndToolBarOnMac

Dave Gradwell davegradwell at yahoo.co.uk
Mon Jul 21 20:12:58 BST 2014


Apologies for the ignorance but I wonder if someone can advise
how I should unify the titlebar and toolbar on Mac on PyQt5, Qt 5.3.1?

The interpreter tells me 
'QMainWindow' object has no attribute 'setUnifiedTitleAndToolBarOnMac'

Maybe the docs allude to just the read-only property being available?
http://qt-project.org/doc/qt-5/qmainwindow.html#unifiedTitleAndToolBarOnMac-prop

I have read about qtmacextras but don't understand how to utilise them...

Any pointers appreciated.

Thanks, Dave.


More information about the PyQt mailing list