mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
See also: https://pointieststick.com/2023/06/14/call-to-action-easy-porting-opportunity-in-plasma/
26 lines
519 B
QML
26 lines
519 B
QML
/*
|
|
* SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick 2.15
|
|
|
|
import org.kde.kirigami 2.20 as Kirigami
|
|
|
|
Rectangle {
|
|
id: handle
|
|
|
|
signal tapped()
|
|
|
|
implicitWidth: Kirigami.Units.gridUnit * 3
|
|
implicitHeight: 3
|
|
radius: height
|
|
color: Kirigami.Theme.textColor
|
|
opacity: 0.5
|
|
|
|
TapHandler {
|
|
cursorShape: pressed ? Qt.ClosedHandCursor : Qt.PointingHandCursor
|
|
onTapped: handle.tapped()
|
|
}
|
|
}
|