X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=qml%2Fubi%2Fcomponents%2FFile.qml;fp=qml%2Fubi%2Fcomponents%2FFile.qml;h=f459cb3b3d31c3a6d167cf3bf2d189602fe74d8b;hb=5a25a20f2cc3029bcb66f5897088cd391d3c450d;hp=55a3bd2c3ef9e183abf8483f133d1a2f2c1f9b09;hpb=dd71088cb495c09f4fa64ee1318f51315ee4e3fd;p=ubi diff --git a/qml/ubi/components/File.qml b/qml/ubi/components/File.qml index 55a3bd2..f459cb3 100644 --- a/qml/ubi/components/File.qml +++ b/qml/ubi/components/File.qml @@ -21,16 +21,6 @@ Item { signal clicked(variant prop) - /*Rectangle { - id: shadow - width: box.width - height: box.height - color: Const.SHADOW_COLOR; - radius: 10 - x: Const.SHADOW_OFFSET; - y: Const.SHADOW_OFFSET; - }*/ - Rectangle { id: box color: Const.TRANSPARENT @@ -38,26 +28,14 @@ Item { width: root.width } - /*Rectangle { - color: Const.DEFAULT_FOREGROUND_COLOR - height: 1 - anchors.bottom: box.bottom; - anchors.left: box.left; - anchors.right: box.right; - }*/ - Rectangle { id: boxShadow - //width: box.width-2*Const.TEXT_MARGIN+2*Const.DEFAULT_MARGIN width: box.width height: box.height y: 5 - //color: root.isDirectory ? "white" : "black" color: Const.DEFAULT_DIALOG_FOREGROUND_COLOR - //anchors.verticalCenter: box.verticalCenter anchors.horizontalCenter: box.horizontalCenter opacity: 0.4 - //radius: 10 visible: mouseArea.pressed } @@ -140,21 +118,4 @@ Item { root.clicked(root.properties); } } - - /*states: [ - State { - name: "unpressed" - PropertyChanges {target: shadow; x: Const.SHADOW_OFFSET} - PropertyChanges {target: shadow; y: Const.SHADOW_OFFSET} - PropertyChanges {target: box; x: 0} - PropertyChanges {target: box; y: 0} - }, - State { - name: "pressed" - PropertyChanges {target: shadow; x: Const.SHADOW_OFFSET} - PropertyChanges {target: shadow; y: Const.SHADOW_OFFSET} - PropertyChanges {target: box; x: Const.SHADOW_OFFSET} - PropertyChanges {target: box; y: Const.SHADOW_OFFSET} - } - ]*/ }