[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QMdiArea's subWindowActivated signal not being fired.
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2007-07-30 16:47:19
Message-ID: 200707301747.19542.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

On Monday 30 July 2007 5:16 pm, charles chen wrote:
>    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

Don't pass argument names to SIGNAL().

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic