[PyQt] Problems with signals from custom widgets

Phil Thompson phil at riverbankcomputing.co.uk
Fri Jun 15 00:47:03 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? ;)

You haven't included the implementation of the HelloGLWidget class.

Phil


More information about the PyQt mailing list