summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-08-18 07:51:44 -0400
committerZeno Albisser <zeno.albisser@nokia.com>2010-08-18 07:51:44 -0400
commit69863ddafed9f262b08f5ba46cdf6ca652e4ad0b (patch)
tree68c24d2bd86af12caca95e08fe1ea063539848f7
parent139f4476e4d2325d81eef4ed09db53cb71ac0977 (diff)
added some more widgets to have something to pan/scroll
-rw-r--r--multilayer-dashboard/RowThree.qml21
-rw-r--r--multilayer-dashboard/RowTwo.qml20
2 files changed, 41 insertions, 0 deletions
diff --git a/multilayer-dashboard/RowThree.qml b/multilayer-dashboard/RowThree.qml
index aee8265..0b60dcf 100644
--- a/multilayer-dashboard/RowThree.qml
+++ b/multilayer-dashboard/RowThree.qml
@@ -72,6 +72,27 @@ Rectangle {
id: thirdWidget
reparentWidget: myRow.reparentWidget
}
+ TapWidget {
+ x:10
+ anchors.top : thirdWidget.bottom
+ anchors.topMargin : 2.0
+ id: fourthWidget
+ reparentWidget: myRow.reparentWidget
+ }
+ TapWidget {
+ x:10
+ anchors.top : fourthWidget.bottom
+ anchors.topMargin : 2.0
+ id: fifthWidget
+ reparentWidget: myRow.reparentWidget
+ }
+ TapWidget {
+ x:10
+ anchors.top : fifthWidget.bottom
+ anchors.topMargin : 2.0
+ id: sixthWidget
+ reparentWidget: myRow.reparentWidget
+ }
property int maxY : (tapWidgetContainer.childrenRect.height > topLevel.height) ?
0 :
diff --git a/multilayer-dashboard/RowTwo.qml b/multilayer-dashboard/RowTwo.qml
index 567f90c..c713669 100644
--- a/multilayer-dashboard/RowTwo.qml
+++ b/multilayer-dashboard/RowTwo.qml
@@ -82,6 +82,26 @@ Rectangle {
}
fullScreenWidget: myRow.reparentWidget
}
+ ExpandableWidget {
+ id: fourthWidget
+ widget: RotatableImage {
+ GestureArea {
+ anchors.fill: parent
+ Tap { onFinished: fourthWidget.fullScreen = !fourthWidget.fullScreen }
+ }
+ }
+ fullScreenWidget: myRow.reparentWidget
+ }
+ ExpandableWidget {
+ id: fifthWidget
+ widget: RotatableImage {
+ GestureArea {
+ anchors.fill: parent
+ Tap { onFinished: fifthWidget.fullScreen = !fifthWidget.fullScreen }
+ }
+ }
+ fullScreenWidget: myRow.reparentWidget
+ }
property int maxY : (tapWidgetContainer.childrenRect.height > topLevel.height) ?
0 :