Qt 6.11 is out! See what's new in the release
blog
Handling PySide signal arguments in QML
QML and Qt Quick
1
Posts
1
Posters
1.9k
Views
1
Watching
-
hi, let's suppose that in an exported pysyde class i have this
@class test(QObject):
...
speak=Signal(str)
...
self.speak.emit("hello")@
and i have registered the class with qmlRegisterType(...)
now in qml i can use the signal in this way:@onSpeak: { //use the string }@
but what is the string variable?