[CLOSED] How To Access QML Singleton?
General and Desktop
2
Posts
1
Posters
758
Views
1
Watching
-
If I have a QML type in Singleton.qml with
@
progma singleton
. . .
Rectangle{
. . .
property var myProperty
. . .
signal mySignal()
. . .
function myFunction{...}
. . .
}
@can I do the following from multiple other QML files
- Set/update myProperty
- Respond to signal via onMySignal
- Invoke myFunction
Any examples would be especially useful.
Thanks.
Steve