6 property alias pathToIcon: image.source;
13 anchors.centerIn: parent;
14 width: rectangle.width
15 height: rectangle.height;
24 anchors.centerIn: parent
25 width: rectangle.width;
26 height: rectangle.height;
33 width: (35*parent.height)/107 +1
35 anchors.left: parent.left
36 source: "qrc:/button/buttonLeft.png"
43 width: parent.width - (70*parent.height)/107 +1
45 anchors.horizontalCenter: parent.horizontalCenter
46 source: "qrc:/button/buttonCenter.png"
55 width: (35*parent.height)/107 +1
57 anchors.right: parent.right
58 source: "qrc:/button/buttonR.png"
65 when: (rectangle.enabled == false);
66 PropertyChanges { target: image1; source: "qrc:/button/buttonLeftDisabled.png" }
67 PropertyChanges { target: image3; source: "qrc:/button/buttonCenterDisabled.png" }
68 PropertyChanges { target: image2; source: "qrc:/button/buttonRightDisabled.png" }
72 when: (mouseArea.pressed == true && rectangle.enabled == true);
73 PropertyChanges { target: image1; source: "qrc:/button/buttonLeftPushed.png" }
74 PropertyChanges { target: image3; source: "qrc:/button/buttonCenterPushed.png" }
75 PropertyChanges { target: image2; source: "qrc:/button/buttonRightPushed.png" }