[PyQt] A simple question about signals and slots

William abecedarian314159 at yahoo.com
Sat Sep 5 01:08:52 BST 2009


Phil you are correct--thanks--life is much easier than I thought!



________________________________
From: Phil Thompson <phil at riverbankcomputing.com>
To: William <abecedarian314159 at yahoo.com>
Cc: pyqt at riverbankcomputing.com
Sent: Friday, September 4, 2009 7:36:10 PM
Subject: Re: [PyQt] A simple question about signals and slots

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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090905/0bb990af/attachment.html


More information about the PyQt mailing list