[PyQt] QMainWindow::unifiedTitleAndToolBarOnMac missing?

Kovid Goyal kovid at kovidgoyal.net
Sat Aug 23 11:46:25 BST 2014


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'

Kovid.

-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140823/ffaa6c95/attachment.sig>


More information about the PyQt mailing list