+
+ Rectangle {
+ id: shadeDisable
+ anchors.centerIn: parent;
+ radius: parent.radius
+ color: "grey";
+ opacity: 0
+ width: parent.width;
+ height: parent.height;
+ }
+
+ states: [
+ State {
+ name: "FokusState"; when: text_input1.focus==true && rectangle1.enabled==true;
+ PropertyChanges {
+ target: rectangle1
+ border.width: 3
+ }
+ },
+ State {
+ name: "DisableState"; when: rectangle1.enabled==false;
+ PropertyChanges { target: shadeDisable; z: 3; opacity: 0.5 }
+ }
+ ]