summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-08-20 02:50:31 -0400
committerZeno Albisser <zeno.albisser@nokia.com>2010-08-20 02:50:31 -0400
commitbdb0a1e718cf2b57a5ae844d0db2e6f04fe6dfa2 (patch)
tree6b3bba0ebe33b4160a39438e99df47e3b521ae51
parentb3c6cb7c990baddb4627653323fbec5e8dea57b2 (diff)
added Quit button
-rw-r--r--multilayer-dashboard/ColumnFour.qml21
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 :