opacity: 1
function setText(string) { textInButton = qsTr(string); }
+ function press() { mouseArea.pressed }
border { left: 10; top: 10; right: 10; bottom: 10 }
MouseArea {
id: buttonText
anchors.centerIn: parent;
font.pixelSize: parent.height * .5
+ elide: Text.ElideRight;
style: Text.Sunken; color: "white"; styleColor: "black"; smooth: true
}
height: parent.height
anchors.left: parent.left
source: "qrc:/button/buttonLeft.png"
+ smooth: true
fillMode:Image.Stretch
}
Image {
id: image3
smooth: true
- width: parent.width - ((70*parent.height)/107) +1;
height: parent.height
- anchors.horizontalCenter: parent.horizontalCenter
+ anchors.right: image2.left
+ anchors.rightMargin: -1
+ anchors.left: image1.right
+ anchors.leftMargin: -1
source: "qrc:/button/buttonCenter.png"
fillMode:Image.Stretch
}