mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Show pointer cursor on dock clickable areas
This commit is contained in:
parent
220be94b63
commit
3cf1f4708e
1 changed files with 5 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ MouseArea {
|
||||||
id: homeMouseArea
|
id: homeMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
cursorShape: root.convergenceMode ? Qt.PointingHandCursor : Qt.ArrowCursor
|
||||||
onClicked: MobileShellState.ShellDBusClient.openHomeScreen()
|
onClicked: MobileShellState.ShellDBusClient.openHomeScreen()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -175,6 +176,7 @@ MouseArea {
|
||||||
id: overviewMouseArea
|
id: overviewMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
cursorShape: root.convergenceMode ? Qt.PointingHandCursor : Qt.ArrowCursor
|
||||||
onClicked: root.folio.triggerOverview()
|
onClicked: root.folio.triggerOverview()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -695,6 +697,7 @@ MouseArea {
|
||||||
width: thumbnailPopup.thumbWidth
|
width: thumbnailPopup.thumbWidth
|
||||||
height: thumbColumn.implicitHeight
|
height: thumbColumn.implicitHeight
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
|
||||||
readonly property string childUuid: thumbnailPopup.windowIds[index] || ""
|
readonly property string childUuid: thumbnailPopup.windowIds[index] || ""
|
||||||
readonly property string childTitle: {
|
readonly property string childTitle: {
|
||||||
|
|
@ -760,6 +763,7 @@ MouseArea {
|
||||||
anchors.margins: Kirigami.Units.smallSpacing
|
anchors.margins: Kirigami.Units.smallSpacing
|
||||||
z: 1
|
z: 1
|
||||||
visible: thumbEntry.containsMouse
|
visible: thumbEntry.containsMouse
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
var idx = thumbnailPopup.isGroup
|
var idx = thumbnailPopup.isGroup
|
||||||
|
|
@ -930,6 +934,7 @@ MouseArea {
|
||||||
id: taskMouseArea
|
id: taskMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
cursorShape: root.convergenceMode ? Qt.PointingHandCursor : Qt.ArrowCursor
|
||||||
acceptedButtons: Qt.LeftButton | Qt.MiddleButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton | Qt.MiddleButton | Qt.RightButton
|
||||||
onClicked: (mouse) => {
|
onClicked: (mouse) => {
|
||||||
if (mouse.button === Qt.MiddleButton) {
|
if (mouse.button === Qt.MiddleButton) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue