Do like this : @QtCore.Slot(str) def on_pushButton_clicked(self, name = "on_pushButton_clicked"): print "pressed button"
-- Lucas A. Tanure Alves +55 (19) 988176559 On Fri, Apr 4, 2014 at 5:58 PM, Arjuna Ravikumar <arjunaraviku...@gmail.com>wrote: > Hi, > > I'm relatively new to PyQt and PySide but am tasked with moving our tools > over from PyQt to PySide at our studio. > > I've noticed a problem with PySide slot decorators as I've described in > this StackOverflow post here: > http://stackoverflow.com/questions/22850064/pyqt-pyside-using-named-slots > > Can someone confirm if this is indeed a bug or if there is a workaround > I'm unaware of. > > If it is indeed a bug, is it realistic to wait for a fix? > > Thanks! > Arjuna > > _______________________________________________ > PySide mailing list > PySide@qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > >
_______________________________________________ PySide mailing list PySide@qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside