9 property bool keyUsing: false
13 source: "images/toolbutton.sci"
14 width: container.width; height: container.height
19 source: "images/toolbutton.sci"
20 width: container.width; height: container.height
24 anchors.fill: buttonImage
25 onClicked: { container.clicked(); }
29 color: if(container.keyUsing){"#D0D0D0";} else {"#FFFFFF";}
30 anchors.centerIn: buttonImage; font.bold: true
31 text: container.text; style: Text.Raised; styleColor: "black"
37 when: mouseRegion.pressed == true
38 PropertyChanges { target: pressed; opacity: 1 }
42 when: container.activeFocus == true
43 PropertyChanges { target: btnText; color: "#FFFFFF" }
46 transitions: Transition {
47 ColorAnimation { target: btnText; }