How can I refer to an item by id in another QML file?

前端 未结 0 1768
-上瘾入骨i
-上瘾入骨i 2020-12-04 19:28

So lets say I have the following two qml files:

main.qml:

    Window {
       /* ... */

       onSomething: mybutton.text = "foo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题