Reputation: 189646
The PySide docs that talk about signals and slots give examples of signals that are str
and int
types. What do you do if you want the signals to be a pair of ints in a tuple?
Upvotes: 3
Views: 4070
Reputation: 7324
You should be able to use object
to pass a tuple.
For example:
signal = Signal(object)
signal.connect(...)
signal.emit(tuple)
Upvotes: 4