[PyQt] A simple question about signals and slots

Phil Thompson phil at riverbankcomputing.com
Sat Sep 5 00:36:10 BST 2009


On Fri, 4 Sep 2009 15:38:23 -0700 (PDT), William
<abecedarian314159 at yahoo.com> wrote:
> Hi!  I have what I hope is a simple question about signals and slots.  As
I
> understand it,
> if events aren't acted upon, then they propogate upwards.  But suppose
you
> have something like this:
> 
>     A
>  /     \
> B     C
> 
> 
> Where B and C are children of A.  How does B send a signal to C?  I'd
like
> to keep B and C decoupled
> (for example, B and C could be dockwidgets, or even other main windows). 

> Is there something like wx.py.dispatcher?

I think you are confusing events with signals - they are completely
different mechanisms with different behaviour.

Phil


More information about the PyQt mailing list