mp/ Example of setting QML property from C++
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import QtQuick 2.0
|
||||
|
||||
Item {
|
||||
width: 100; height: 100
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
objectName: "rect"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user