diff --git a/resources/qml/ImageButton.qml b/resources/qml/ImageButton.qml index f645162c..9c0faef3 100644 --- a/resources/qml/ImageButton.qml +++ b/resources/qml/ImageButton.qml @@ -5,6 +5,7 @@ import QtQuick.Controls 2.3 AbstractButton { id: button + property alias cursor: mouseArea.cursorShape property string image: undefined property color highlightColor: colors.highlight property color buttonTextColor: colors.buttonText diff --git a/resources/qml/StatusIndicator.qml b/resources/qml/StatusIndicator.qml index bb8a501d..f2f99e09 100644 --- a/resources/qml/StatusIndicator.qml +++ b/resources/qml/StatusIndicator.qml @@ -9,6 +9,7 @@ ImageButton { height: 16 hoverEnabled: true changeColorOnHover: (model.state == MtxEvent.Read) + cursor: (model.state == MtxEvent.Read) ? Qt.PointingHandCursor : Qt.ArrowCursor ToolTip.visible: hovered && model.state != MtxEvent.Empty ToolTip.text: { switch (model.state) {