shift-shell/look-and-feel/contents/lockscreen/LockKey.qml

21 lines
424 B
QML

import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
PlasmaCore.SvgItem {
id: square
property int value: 0
width: parent.width/4
height: parent.height
svg: symbolsSvg
MouseArea {
anchors.fill: parent
onPressed: {
stripe.lockKeyPressed(parent.elementId);
}
onReleased: {
stripe.lockKeyReleased(parent.elementId);
}
}
}