Hi, Thanks, On previus version of Pyside I didn't need this @QtCore.Slot(), but know only works with this. There is any place where I can find more information ? It will be like @QtCore.Slot(int) ??
Thanks -- Lucas A. Tanure Alves +55 (19) 988176559 On Tue, Oct 29, 2013 at 12:22 AM, Matthew Woehlke < [email protected]> wrote: > 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 >
_______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
