::
def callback_int(value_as_int):
print 'int value changed:', repr(value_as_int)
app = QApplication(sys.argv)
spinbox = QSpinBox()
spinbox.valueChanged[unicode].connect(callback_unicode)
spinbox.show()
sys.exit(app.exec_())
::
def callback_unicode(value_as_unicode):
print 'unicode value changed:', repr(value_as_unicode)
app = QApplication(sys.argv)
spinbox = QSpinBox()
spinbox.valueChanged[unicode].connect(callback_unicode)
spinbox.show()
sys.exit(app.exec_())