Commit 353bffc5 authored by Aaron J. Seigo's avatar Aaron J. Seigo
Browse files

show stripe on tap

parent f5754bde
...@@ -2,7 +2,7 @@ import QtQuick 2.0 ...@@ -2,7 +2,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
import "../components" import "../components"
Item { Leaves {
id: lockscreen id: lockscreen
PlasmaCore.Svg { PlasmaCore.Svg {
...@@ -10,13 +10,28 @@ Item { ...@@ -10,13 +10,28 @@ Item {
imagePath: Qt.resolvedUrl("images/symbols.svgz") imagePath: Qt.resolvedUrl("images/symbols.svgz")
} }
Leaves { MouseArea {
id: background
anchors.fill: parent anchors.fill: parent
onPressed: {
stripe.visible = true;
}
} }
SatelliteStripe { SatelliteStripe {
id: stripe id: stripe
visible: false
opacity: 0
onVisibleChanged: {
opacity = visible ? 1 : 0;
}
Behavior on opacity {
NumberAnimation {
duration: 300
easing.type: Easing.InOutQuad
}
}
PlasmaCore.SvgItem { PlasmaCore.SvgItem {
id: square id: square
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment