[PyQt] setUnifiedTitleAndToolBarOnMac

Phil Thompson phil at riverbankcomputing.com
Mon Jul 21 21:16:06 BST 2014


On 21/07/2014 8:12 pm, Dave Gradwell wrote:
> 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.

Hmm - not sure what happened there. Should be included in tonight's 
snapshot.

Phil


More information about the PyQt mailing list