From 69863ddafed9f262b08f5ba46cdf6ca652e4ad0b Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Wed, 18 Aug 2010 07:51:44 -0400 Subject: added some more widgets to have something to pan/scroll --- multilayer-dashboard/RowThree.qml | 21 +++++++++++++++++++++ multilayer-dashboard/RowTwo.qml | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+) 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 : -- cgit v1.2.3