5 property alias image: image.source
6 property alias text: text.text
8 property bool autoRotationEnabled: true
10 signal buttonClicked()
12 width: Math.min(parent.width, parent.height)
18 onClicked: buttonClicked()
24 anchors.centerIn: parent
25 anchors.verticalCenterOffset: -6
26 width: sourceSize.width
27 height: sourceSize.height
35 anchors.bottom: parent.bottom
36 anchors.bottomMargin: 8
37 anchors.horizontalCenter: parent.horizontalCenter
43 when: mouseArea.pressed
46 color: palette.highlight