init
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
|
||||
Text {
|
||||
|
||||
required property var onClicked
|
||||
|
||||
function click() {
|
||||
if (mouseArea.containsMouse) {
|
||||
onClicked();
|
||||
}
|
||||
}
|
||||
|
||||
color: "#fff"
|
||||
text: "Sound"
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user