[PyQt] signals and slots

Russell Valentine russ at coldstonelabs.org
Wed Jul 16 21:46:34 BST 2008


Strato:

Use a slot/function in the middle to call your slot with more arguments 
with whatever arguments you want?

activated() SIGNAL -> activateSlot()->slotWithArgs(whatever_args)

You should be able to emit from activateSlot if you wanted to do it that 
way as well. This seems to obvious to me so maybe this wasn't what you 
were wanting.


Russell Valentine

Strato wrote:
> Hi,
> 
> is there a way to connect a signal that has no arguments, like the 
> 'activated()' signal, to a slot with one or more arguments ?
> 
> Regards,
> Strato



More information about the PyQt mailing list