diff options
author | Zeno Albisser <zeno.albisser@nokia.com> | 2010-08-20 02:50:31 -0400 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@nokia.com> | 2010-08-20 02:50:31 -0400 |
commit | bdb0a1e718cf2b57a5ae844d0db2e6f04fe6dfa2 (patch) | |
tree | 6b3bba0ebe33b4160a39438e99df47e3b521ae51 | |
parent | b3c6cb7c990baddb4627653323fbec5e8dea57b2 (diff) |
added Quit button
-rw-r--r-- | multilayer-dashboard/ColumnFour.qml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/multilayer-dashboard/ColumnFour.qml b/multilayer-dashboard/ColumnFour.qml index a64906a..92468c5 100644 --- a/multilayer-dashboard/ColumnFour.qml +++ b/multilayer-dashboard/ColumnFour.qml @@ -82,6 +82,27 @@ Rectangle { fullScreenWidget: myRow.reparentWidget } } + ExpandableWidget { + id: firstWidget + widget: Rectangle { + anchors.fill: parent + Text { + anchors.centerIn: parent + text: "Quit" + font.pointSize: 16 + + } + } + GestureArea { + anchors.fill: parent + Tap { + onFinished: { + Qt.quit() + } + } + } + fullScreenWidget: myRow.reparentWidget + } property int maxY : (tapWidgetContainer.childrenRect.height > topLevel.height) ? 0 : |