[PyQt] Problems with signals from custom widgets

Phil Thompson phil at riverbankcomputing.co.uk
Fri Jun 15 15:05:54 BST 2007


On Friday 15 June 2007 12:09 am, Dirk Reiners wrote:
> 	Hi Everybody,
>
> I've started using PyQt to write the code for one of our projects. It looks
> pretty nice and I especially like the easy integration of custom widgets in
> designer, that is pretty cool!
>
> But I'm having some trouble with it. The signals I defined in my custom
> widget don't seem to have any effect. The problem can be easily reproduced
> with the built-in helloglwidget (see attached .ui file). If you mouse move
> inside the widget the rotation changes, but the sliders do not, even though
> they're connected to the widget's signals.
>
> Am I doing something wrong, or is that (gasp!) a bug? ;)

Yes, its a bug. The attached should work.

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: helloglwidget.py
Type: application/x-python
Size: 7840 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070615/777acf7c/helloglwidget.bin


More information about the PyQt mailing list