mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-25 15:47:43 +00:00
21 lines
424 B
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);
|
|
}
|
|
}
|
|
}
|