How simple. I will remember that sender() function for future
reference.
Thanks, David.
David Boddie wrote:
> On Saturday 20 January 2007 16:03, borntonetwork wrote:
>
> > David, thanks for your help. Unfortunately, all attempts of making this
> > solution work have failed. I would be interested t
On Saturday 20 January 2007 16:03, borntonetwork wrote:
> David, thanks for your help. Unfortunately, all attempts of making this
> solution work have failed. I would be interested to know if anyone has
> used QSignalMapper successfully in a similar situation.
Looking again at what you originally
David, thanks for your help. Unfortunately, all attempts of making this
solution work have failed. I would be interested to know if anyone has
used QSignalMapper successfully in a similar situation. For any
interested, I worked around the problem using a closure, which seems a
bit cleaner from a co
borntonetwork wrote:
> Thanks, David, for you help.
>
> When I change the slot function to what you show in your second
> example, I get the same results: nothing.
This may be due to something I missed in your code. When you
connect the signal from the signal mapper to your class, you
need to spec
Thanks, David, for you help.
When I change the slot function to what you show in your second
example, I get the same results: nothing. When I change it to what you
have in your first example, I get the following:
Object::connect: No such slot QApplication::map()
Object::connect: (sender name:
borntonetwork wrote:
> I am trying to implement QTCore.QSignalMapper using PyQT. I finally got
> to a point where I don't receive any compile or runtime error messages,
> but I also do not see the final slot function fire off. Here is a
> snippet of the code:
>
> self.signalMapper = QtCore
Hi.
I am trying to implement QTCore.QSignalMapper using PyQT. I finally got
to a point where I don't receive any compile or runtime error messages,
but I also do not see the final slot function fire off. Here is a
snippet of the code:
self.signalMapper = QtCore.QSignalMapper(window)