It's possible to bind more than one signal to one slot (isn't?). So, is there a way to understand which widget sends the signal? I'm looking for something like sender
argument of events in .NET
views:
24answers:
2
+2
A:
Yes, you can connect multiple signals to one slot. In this case you would use QSignalMapper
to differentiate the sources of the signals. This solution is limited to parameterless signals. You can see an example here.
Arnold Spence
2010-10-28 20:46:09