mp2.cpp: new example on getting properties
hw.qml: findChild uses objectName; so added it.
This commit is contained in:
@@ -7,6 +7,7 @@ Rectangle {
|
||||
|
||||
Text {
|
||||
id: helloText
|
||||
objectName: "helloText"
|
||||
text: "Hello world!"
|
||||
y: 30
|
||||
anchors.horizontalCenter: page.horizontalCenter
|
||||
|
||||
Reference in New Issue
Block a user