[PyQt] Custom Widgets and __pyqtSignals__

himork himork at kth.se
Sun Aug 24 12:03:02 BST 2008


Hi, I am newbie in Python and pyQt, I hope this question is not too silly.

I am trying to write a custom widget in python/pyqt to be used inside
QtDesigner. Everything seems to work fine (i followed the tutorials and
examples available), except for the signals: when I use __pyqtSignals__ =
("mysignal(double)"), the widget ends up having one signal for each letter
of "mysignal(double)", parenthesis included, like it cannot understand that
this is a string. And if I had 2 signals, designer crashes when I try to add
my custom widget.

This is probably just a stupid problem, but is driving me crazy...any
suggestion?
Thank you!
-- 
View this message in context: http://www.nabble.com/Custom-Widgets-and-__pyqtSignals__-tp19112647p19112647.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list