Change cursor shape when image hovered
This commit is contained in:
@@ -14,8 +14,10 @@ Row {
|
||||
readonly property string hoveredLink:
|
||||
nameLabel.hoveredLink || contentLabel.hoveredLink
|
||||
|
||||
property string hoveredImage: ""
|
||||
|
||||
readonly property int cursorShape:
|
||||
hoveredLink ? Qt.PointingHandCursor :
|
||||
hoveredLink || hoveredImage ? Qt.PointingHandCursor :
|
||||
nameHover.hovered || contentHover.hovered ? Qt.IBeamCursor :
|
||||
Qt.ArrowCursor
|
||||
|
||||
|
Reference in New Issue
Block a user