[PyQt] Connect and signal question

Michele Petrazzo - Unipex michele.petrazzo at unipex.it
Wed Sep 23 14:01:24 BST 2009


Hi all,
I'm trying to use qt/pyqt for the first time and I found the first
problems...
I see that when I connect a signal to a widget, if I create a wrong
signal, qt don't say me that I'm wrong let me crazing to find why qt
don't call my callback... So, there is a method for say to qt to warning me?

Example:

right:
self.connect(self.my_rb, QtCore.SIGNAL("toggled(bool)"), self._evt_my_rb)
wrong:
self.connect(self.my_rb, QtCore.SIGNAL("toggled()"), self._evt_my_rb)

Thanks,
Michele


More information about the PyQt mailing list