10 property bool keyUsing: false
14 source: theme_manager.theme.toolbar.button_sci
15 width: container.width; height: container.height
20 source: theme_manager.theme.toolbar.button_pressed_sci
21 width: container.width; height: container.height
25 anchors.fill: buttonImage
26 onClicked: { container.clicked(); }
30 color: if(container.keyUsing){"#D0D0D0";} else {"#FFFFFF";}
31 anchors.centerIn: buttonImage; font.bold: true
32 text: container.text; style: Text.Raised; styleColor: "black"
39 when: mouseRegion.pressed == true
40 PropertyChanges { target: pressed; opacity: 1 }
44 when: container.activeFocus == true
45 PropertyChanges { target: btnText; color: "#FFFFFF" }
48 transitions: Transition {
49 ColorAnimation { target: btnText; }