Am Sonntag, 16. September 2007 23:24 schrieb Phil Thompson: > On Sunday 16 September 2007, Hans-Peter Jansen wrote: > > Hi *, > > > > I stumbled upon some strange effects with signal sender() and > > self.name() properties in PyQt3.
[...] > > The sender resolves to an empty string and empty type inside the text > > edit: > > > > unnamed ready [(None, 'catcher')] > > emitter added > > timer added > > (): counter 1 catched > > (): timer catched > > (): counter 2 catched > > (): timer catched > > (): counter 3 catched > > > > while it resolves either to some QTimer objects for both signals (the > > python and Qt one) in the no arg case on the console: > > > > <qt.QTimer object at 0xb679502c> <class 'qt.QTimer'> > > <qt.QTimer object at 0xb679505c> <class 'qt.QTimer'> > > <qt.QTimer object at 0xb679502c> <class 'qt.QTimer'> > > <qt.QTimer object at 0xb679505c> <class 'qt.QTimer'> Urgh, since the QTextEdit was set to QTextEdit.LogText, it tried to interpret the types, and failing that, removed them completely :-(. [...] > > Distribution: openSUSE 10.2, consisting of: > > Python version: 2.5 > > sip version: 4.2.1 > > Qt version: 3.3.7 > > PyQt version: 3.14.1 > > > > Could somebody in this kind audience shed some light on these issues, > > please? (or is this simply due to the dusty versions..) > > Dusty versions - I think. Confirmed. After updating to: sip version: 4.7 Qt version: 3.3.7 PyQt version: 3.17.3 all is well again. > Phil Thanks a lot, Pete _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt