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;
27 anchors.centerIn: parent
36 width: (35*parent.height)/107 +1
38 anchors.left: parent.left
39 source: "qrc:/button/buttonLeft.png"
47 anchors.right: image2.left
48 anchors.rightMargin: -1
49 anchors.left: image1.right
50 anchors.leftMargin: -1
51 source: "qrc:/button/buttonCenter.png"
60 width: (35*parent.height)/107 +1
62 anchors.right: parent.right
63 source: "qrc:/button/buttonR.png"
70 when: (rectangle.enabled == false);
71 PropertyChanges { target: image1; source: "qrc:/button/buttonLeftDisabled.png" }
72 PropertyChanges { target: image3; source: "qrc:/button/buttonCenterDisabled.png" }
73 PropertyChanges { target: image2; source: "qrc:/button/buttonRightDisabled.png" }
77 when: (mouseArea.pressed == true && rectangle.enabled == true);
78 PropertyChanges { target: image1; source: "qrc:/button/buttonLeftPushed.png" }
79 PropertyChanges { target: image3; source: "qrc:/button/buttonCenterPushed.png" }
80 PropertyChanges { target: image2; source: "qrc:/button/buttonRightPushed.png" }