6 property alias pathToIcon: image.source;
7 property int iconWidth:rectangle.width;
8 property int iconHeight:rectangle.height;
15 anchors.centerIn: parent;
16 width: rectangle.width
17 height: rectangle.height;
26 anchors.centerIn: parent
35 width: (35*parent.height)/107 +1
37 anchors.left: parent.left
38 source: "qrc:/button/buttonLeft.png"
45 width: parent.width - (70*parent.height)/107 +1
47 anchors.horizontalCenter: parent.horizontalCenter
48 source: "qrc:/button/buttonCenter.png"
57 width: (35*parent.height)/107 +1
59 anchors.right: parent.right
60 source: "qrc:/button/buttonR.png"
67 when: (rectangle.enabled == false);
68 PropertyChanges { target: image1; source: "qrc:/button/buttonLeftDisabled.png" }
69 PropertyChanges { target: image3; source: "qrc:/button/buttonCenterDisabled.png" }
70 PropertyChanges { target: image2; source: "qrc:/button/buttonRightDisabled.png" }
74 when: (mouseArea.pressed == true && rectangle.enabled == true);
75 PropertyChanges { target: image1; source: "qrc:/button/buttonLeftPushed.png" }
76 PropertyChanges { target: image3; source: "qrc:/button/buttonCenterPushed.png" }
77 PropertyChanges { target: image2; source: "qrc:/button/buttonRightPushed.png" }