[PyQt] QToolBar.visibilityChanged signal missing in PyQt4.9.4

Phil Thompson phil at riverbankcomputing.com
Mon Sep 17 16:53:10 BST 2012


On Mon, 17 Sep 2012 11:41:39 -0400, Chris Beaumont <beaumont at hawaii.edu>
wrote:
> Hello,
> 
> The QToolBar.visibilityChanged signal seems to be missing on my recent
> installation of PyQt4.9.4:
> 
> In [1]: from PyQt4.QtGui import QApplication, QToolBar
> In [2]: app = QApplication([])
> In [3]: tb = QToolBar()
> In [4]: tb.visibilityChanged
> AttributeError: 'QToolBar' object has no attribute 'visibilityChanged'
> 
> Is this a known bug/API change?

Works fine for me. Make sure you are using a version of Qt that supports
it.

Phil


More information about the PyQt mailing list