[PyQt] QMdiArea's subWindowActivated signal not being fired.

charles chen charles.chen at temboo.com
Mon Jul 30 17:16:49 BST 2007


   We're having trouble seeing the QMdiArea's subWindowActivated signal.

   Is this related to the "signal/slot handling fix." from 7/16-7/20?
http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/ChangeLog

   We're using:
sip-snapshot-20070612.zip         
PyQt-win-commercial-4-snapshot-20070612.zip         

The relevant code:
   
   self.__workspace__ = QMdiArea()
   QObject.connect( self.__workspace__, SIGNAL('subWindowActivated ( QMdiSubWindow * window )'), self.handleSubwindowActivated )
        
   def handleSubwindowActivated(self, ignore=None ):
        ...

Here's a link to the Qt docs of the signal:
http://doc.trolltech.com/4.3/qmdiarea.html#subWindowActivated

Charles.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070730/7a53e3bc/attachment.html


More information about the PyQt mailing list