[PySide] PySide Slot name bug?

Lucas Tanure ltanure at gmail.com
Mon Apr 7 17:28:23 CEST 2014


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
<arjunaravikumar at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20140407/4acdabfd/attachment.html>


More information about the PySide mailing list