On Friday 07 October 2011 10:48:37 anatoly techtonik wrote:
> Hi,
> 
> I am new to signal/slots and I am trying to debug several problems
> with Spyder on PySide that seem to originate in signal/slot handling
> code. Spyder is quite large IDE, and I don't have that much time for
> static analysis. Therefore I'd like to inspect what's going on with
> signals when Spyder works. Is the following is possible at all?
> 
> How to see all available slots?

You can use the QMetaObject for that.

> How to see all signals connected to some slot?

I don't known if it's possible, because IIRC Qt do not export this to the 
user.

> How to see all signals that are emitted?

There's no way to intercept signals emitted by Qt, but we can intercept 
signals emitted by Python code.

> How to see all signals that are emitted, but not handled?

The same issue.
 
> Maybe you can recommend some better techniques?

Write unit tests :-)

> --
> anatoly t.
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.pyside.org/listinfo/pyside

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to