[PyQt] Re: connection between 2 widget

Massimo Di Stefano massimodisasha at yahoo.it
Sun Jun 21 17:37:54 BST 2009


I'm tring to get a solution,
i searced for similar code in the pyqt examples source code
but i can't find nothig similar.

is the question i proposed comprensible?

i hope some one can help me, thanks a lot to All!



regards,

Massimo



Il giorno 19/giu/09, alle ore 01:24, Massimo Di Stefano ha scritto:

> Hi All,
>
> i'm tring to connect 2 widget but i havo problems to know how to do  
> it.
>
> i can reproduce my problem with an example :
>
> W-1 (spinbox + button)   [ it is a main app, and has in the menu bar  
> an action to open W-2]
>
> W-2 (line edit + button)
>
> i run W-1, pressing its button it increase the spinbox value,
> then pressing the action from the menu -> open W-2
>
>
> W-2 , at its start, read value from W-1 -- pressing the W-2 button  
> process W-1 value and print it .
>
> my problem :
>
> i need that everitime i change the W-1  value ...
> ... when i press button in W-2  it will process the W-1(changed value)
>
>
>
> i hope my explanation is clear.
>
> here a paste of 2 widget :
>
> http://www.geofemengineering.it/data/paste.txt
>
>
> i uploaded the file to reproduce this example on :
>
>
> http://www.geofemengineering.it/data/fg.zip
>
> please, thanks for any help!
>
>
>
> regards,
>
>
> Massimo.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090621/89b8ad0f/attachment.html


More information about the PyQt mailing list