aboutsummaryrefslogtreecommitdiff
path: root/components/IconButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/IconButton.qml')
-rw-r--r--components/IconButton.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/IconButton.qml b/components/IconButton.qml
index 042439f1..d927e296 100644
--- a/components/IconButton.qml
+++ b/components/IconButton.qml
@@ -30,6 +30,7 @@
import QtQuick 2.0
Item {
+ property alias image : buttonImage
property alias imageSource : buttonImage.source
signal clicked(var mouse)
@@ -53,7 +54,8 @@ Item {
MouseArea {
id: buttonArea
anchors.fill: parent
-
+ hoverEnabled: true
+ cursorShape: Qt.PointingHandCursor
onPressed: {
buttonImage.x = buttonImage.x + 2