Switch toolbar animation to opacity
[harmattan/cameraplus] / qml / SectionHeader.qml
index ec7c784..59a46f8 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-import QtQuick 1.1
-import com.nokia.meego 1.1
+import QtQuick 2.0
 
 Row {
-        id: root
+    id: root
 
-        anchors.left: parent.left
-        anchors.right: parent.right
-        anchors.leftMargin: 10
-        anchors.rightMargin: 10
-        spacing: 10
+    anchors.left: parent.left
+    anchors.right: parent.right
+    anchors.leftMargin: 10
+    anchors.rightMargin: 10
+    spacing: 10
 
-        property alias text: label.text
+    property alias text: label.text
 
-        Label {
-                id: label
-                verticalAlignment: Text.AlignVCenter
-        }
+    CameraLabel {
+        id: label
+        verticalAlignment: Text.AlignVCenter
+    }
 
-        Rectangle {
-                color: "darkgray"
-                height: 2
-                width: parent.width - label.width - 20
-                anchors.verticalCenter: parent.verticalCenter
-        }
+    Rectangle {
+        color: "darkgray"
+        height: 2
+        width: parent.width - label.width - 20
+        anchors.verticalCenter: parent.verticalCenter
+    }
 }