im trying to figure out how i can change the old signal syntax to new. the
program im reading through creates a widget that inherits from QSpinBox.
zerospinbox = ZeroSpinBox()
It then emits its custom signal, then that signal is connected to a python
method. Here are the 2 codes i need help converting.
self.emit(SIGNAL("atzero"), self.zeros) #this is zerospinbox emitting
a custom "atzero" signal
self.connect(zerospinbox, SIGNAL("atzero"), self.announce) #and here
is the same signal being connected to a python method.
As you can see this code example uses the old style syntax, can anyone
please convert it for me into the newer style syntax.
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt