[Interest] PySide2 signal argument name?
godboutj at amotus.ca
Fri Mar 6 17:52:55 CET 2020
how does one emit a signal with argument from python and access them on the qml side?
mySignal = Signal(int, str) // the following cannot be made Signal(int foo, str bar), maybe I got the syntax wrong?
// ???, how does one access the argument if they do not have any name???
There is no explanation on this from the doc: https://wiki.qt.io/Qt_for_Python_Signals_and_Slots
They only show connection to slot where they get named.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest