forked from qt-creator/qt-creator
QmlDesigner: Add ids to MCU template
Change-Id: Ieda94f14d21ab71c7889a38612db0d9539ea8717 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -9,11 +9,13 @@ import QtQuick
|
|||||||
import Constants
|
import Constants
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
id: root
|
||||||
width: Constants.width
|
width: Constants.width
|
||||||
height: Constants.height
|
height: Constants.height
|
||||||
color: Constants.backgroundColor
|
color: Constants.backgroundColor
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
id: text
|
||||||
text: qsTr("Hello %{ProjectName}")
|
text: qsTr("Hello %{ProjectName}")
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user