6 border.color: "#000666";
7 property int maxValue:500;
8 property int minValue:0;
9 property alias value:text_input1.text
14 width: rectangle1.width-15
15 height: rectangle1.height*0.6;
17 anchors.centerIn: parent
18 validator: IntValidator{bottom: 0; top: 500;}
19 transformOrigin: Item.Left
21 font.pixelSize: rectangle1.height * .5;
22 onCursorPositionChanged: moveCursorSelection(cursorPosition);
23 focus: rectangle1.focus;
25 if ((event.key == Qt.Key_Enter) || (event.key == Qt.Key_Return))
26 rectangle1.enterPressed(text_input1.text)
33 anchors.centerIn: parent;
38 height: parent.height;
44 anchors.right: parent.right
45 anchors.top: parent.top
46 anchors.rightMargin: 2
51 source: "qrc:/button/up_enable.png";
59 anchors.right: parent.right
60 anchors.bottom: parent.bottom
61 anchors.rightMargin: 2
62 anchors.bottomMargin: 2
63 source: "qrc:/button/down_enable.png";
68 anchors.right: parent.right
69 anchors.top: parent.top
70 anchors.rightMargin: 2
76 //rectangle.clicked();
82 anchors.right: parent.right
83 anchors.top: parent.top
84 anchors.rightMargin: 2
90 //rectangle.clicked();
97 name: "DisableState"; when: rectangle1.enabled==false;
98 PropertyChanges { target: shadeDisable; z: 3; opacity: 0.5 }