summaryrefslogtreecommitdiffstats
path: root/tests/manual/examples/quick/customdialogs/MessageRectangle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/examples/quick/customdialogs/MessageRectangle.qml')
-rw-r--r--tests/manual/examples/quick/customdialogs/MessageRectangle.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/manual/examples/quick/customdialogs/MessageRectangle.qml b/tests/manual/examples/quick/customdialogs/MessageRectangle.qml
new file mode 100644
index 000000000..09a202cf3
--- /dev/null
+++ b/tests/manual/examples/quick/customdialogs/MessageRectangle.qml
@@ -0,0 +1,18 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+import QtQuick
+
+Rectangle {
+ property alias text: messageText.text
+ width: parent.width
+ height: 30
+ visible: false
+ color: "#80c342"
+ Text {
+ id: messageText
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.verticalCenter: parent.verticalCenter
+ font.pointSize: 12
+ }
+}