I\'m just learning PyQt and looking at the Signals and Slots mechanism. I\'m a bit baffled by the verbose syntax. Why do we have:
self.connect(dial, SIGNAL(\
You can use PyQt's new style signals which are less verbose:
self.connect(dial, SIGNAL("valueChanged(int)"), spinbox.setValue)
Becomes:
dial.valueChanged.connect(spinbox.setValue)