[PyQt] signal-slot connect problem

Martin Höfling martin.hoefling at gmx.de
Wed Jan 9 13:52:35 GMT 2008


Am Mittwoch, 9. Januar 2008 schrieb Aaron Digulla:
> Quoting Phil Thompson <phil at riverbankcomputing.co.uk>:
> >> I mean it is a very common mistake, even for advanced PyQt developers,
> >
> > Is it?

I'wouldn't consider myself as an advanced PyQt developer, but for me it is.

> In my projects, I'm predefining all signals and slots as python
> constants and use those in connect() and emit(). a) makes the code
> more reliable and b) enables code completion.

That's a good idea, I'll consider doing this in the future.
Regards
	Martin


-- 
Falls dir die Antwort zu ungenau erscheint, könnte es an der
Fragestellung liegen. (Daniel Fass in de.org.ccc)



More information about the PyQt mailing list