Change-Id: I7fcdd518e56427316f454ff4e5b298d13b396ac0
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Text {
id: text1
anchors.centerIn: parent
- text: "First Window"
+ text: "First Window\n" + (Qt.application.supportsMultipleWindows ?
+ "click the button to open a second window" : "only one window is allowed")
}
Rectangle {
border.color: "black"
anchors.margins: 10
width: text.implicitWidth + 20
height: text.implicitHeight + 20
+ visible: Qt.application.supportsMultipleWindows
Text {
id: text
text: "Pop up window"