Added a dummy details widget
authorMohammed Sameer <msameer@foolab.org>
Fri, 14 Sep 2012 02:42:05 +0000 (05:42 +0300)
committerMohammed Sameer <msameer@foolab.org>
Fri, 14 Sep 2012 02:42:05 +0000 (05:42 +0300)
qml/PostCapturePage.qml

index 5767de1..c2887ff 100644 (file)
@@ -98,6 +98,13 @@ CameraPage {
                                 width: view.width - 10
                                 height: view.height
                                 anchors.centerIn: parent
+
+                                MouseArea {
+                                        id: mouse
+                                        anchors.fill: parent
+                                        enabled: true
+                                        onClicked: toolBar.visible = !toolBar.visible
+                                }
                         }
                 }
         }
@@ -111,4 +118,26 @@ CameraPage {
                         ToolIcon { iconId: "icon-m-toolbar-back"; onClicked: { cam.start(); pageStack.pop(); } }
                 }
         }
+
+        Rectangle {
+                // TODO: transitions
+                id: rect
+                anchors.top: parent.top
+                height: toolBar.height
+                width: parent.width
+                color: "black"
+                opacity: toolBar.opacity
+                visible: toolBar.visible
+                Row {
+                        anchors.fill: parent
+
+                        Label {
+
+                        }
+
+                        Label {
+
+                        }
+                }
+        }
 }