On 2013-10-28 18:19, Lucas Tanure wrote: > if I do: > > @QtCore.Slot() > def on_motor_group1_power_slider_valueChanged(self, value): > print value > > I got : > > TypeError: on_motor_group1_power_slider_valueChanged() takes exactly 2 > arguments (1 given)
Do I miss something? It looks like you have declared a method taking one argument as a slot taking no arguments. I'm not surprised this doesn't work. I think you meant to either give an argument in your "@QtCore.Slot()", or else to not give the slot function an argument. -- Matthew _______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
