13 //anchors.fill: parent;
17 // source: "images/toolbutton.sci"
18 // width: container.width; height: container.height
23 // source: "images/toolbutton.sci"
24 // width: container.width; height: container.height
33 border.color: "black";
39 color: (value=="False") ? "red" : "green";
41 border.color: "black";
45 anchors.verticalCenter: back.verticalCenter
46 //anchors.verticalCenter: parent.verticalCenter
48 anchors.right: back.right;
51 anchors.centerIn: valueSwitch; font.bold: true
52 text: (container.value == "False") ? "OFF" : "ON"; style: Text.Raised; styleColor: "black"
59 onClicked: { container.clicked(); }
63 /*anchors.centerIn: back;*/ font.bold: true
64 anchors.left: parent.left;
66 anchors.verticalCenter: back.verticalCenter
67 text: container.text; style: Text.Raised; styleColor: "black"
72 // when: mouseRegion.pressed == true
73 // PropertyChanges { target: pressed; opacity: 1 }