[PySide] [Pyside][ Bug ]Signal calls with no arguments
ltanure at gmail.com
Tue Oct 29 14:24:05 CET 2013
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) ??
Lucas A. Tanure Alves
+55 (19) 988176559
On Tue, Oct 29, 2013 at 12:22 AM, Matthew Woehlke <
matthew.woehlke at kitware.com> 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
> I think you meant to either give an argument in your "@QtCore.Slot()",
> or else to not give the slot function an argument.
> PySide mailing list
> PySide at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PySide