[PyQt] QMainWindow::unifiedTitleAndToolBarOnMac missing?
Phil Thompson
phil at riverbankcomputing.com
Sat Aug 23 12:04:30 BST 2014
On 23/08/2014 11:46 am, Kovid Goyal wrote:
> Hi Phil,
>
> This property:
> http://qt-project.org/doc/qt-5/qmainwindow.html#unifiedTitleAndToolBarOnMac-prop
>
> seems to be missing from the PyQt 5 QMainWindow object on OS X. As far
> as I can tell, it is not deprecated.
>
> python -c "from PyQt5.Qt import *; app = QApplication([]); w =
> QMainWindow(); print w.setUnifiedTitleAndToolBarOnMac"
>
> AttributeError: 'QMainWindow' object has no attribute
> 'setUnifiedTitleAndToolBarOnMac'
It was added to the snapshots about a month ago. Next release is "soon".
Phil
More information about the PyQt
mailing list