From c55b26f96ce02b6811f4ca86d950ddabb3d529f7 Mon Sep 17 00:00:00 2001 From: Gerry Boland Date: Fri, 1 May 2015 14:31:30 +0100 Subject: [qpa] have QMirServer own the MirServer instance. Clean up the QMirServer API with view of making it public API --- demos/qml-demo-shell/qml-demo-shell.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'demos') diff --git a/demos/qml-demo-shell/qml-demo-shell.qml b/demos/qml-demo-shell/qml-demo-shell.qml index 2a620e3..f8ed58a 100644 --- a/demos/qml-demo-shell/qml-demo-shell.qml +++ b/demos/qml-demo-shell/qml-demo-shell.qml @@ -110,6 +110,21 @@ Rectangle { y: point.y } + Rectangle { + width: 60 + height: 40 + color: "red" + anchors { right: parent.right; bottom: parent.bottom } + Text { + anchors.centerIn: parent + text: "Quit" + } + MouseArea { + anchors.fill: parent + onClicked: Qt.quit() + } + } + Connections { target: SurfaceManager onSurfaceCreated: { -- cgit v1.2.3