[PyKDE] weird connectSlotsByName behavour with listWidget

Phil Thompson phil at riverbankcomputing.co.uk
Wed Nov 22 14:10:40 GMT 2006


On Wednesday 22 November 2006 1:40 pm, Martin Kiebacher wrote:
> Hello list,
>
> i have done a small sample form with a lineEdit, listWidget and some
> pushButtons. One of the pushButtons is used to delete the current
> selected listWidget-row. In the version which uses connectSlotsByName
> 2 rows of the listWidget are deleted, behaves like the clicked-signal
> is emittet twice. In the version where i manually assign the signals
> to my python-slot everything works fine.
>
> Hope someone can give some hints, what i've done wrong, best regards,
> martin.

http://www.riverbankcomputing.com/Docs/PyQt4/pyqt4ref.html#the-qtcore-pyqtsignature-decorator

Phil




More information about the PyQt mailing list