5 property int textSize:20
6 property color textColor:"black"
8 CalibrateDialogDesktop {
18 // anchors.leftMargin:50;anchors.rightMargin:50
23 anchors.leftMargin:50;anchors.rightMargin:50
27 font.pixelSize :textSize
35 ListElement { text: "MeeGo/Harmattan";file:"ardrone_harmattan.qml" }
36 ListElement { text: "Desktop";file:"ardrone_desktop.qml" }
38 onSelectedIndexChanged: {
39 console.debug("onSelectedIndexChanged " + selectedText + ", " + choices.get(selectedIndex).file);
40 drone.confActiveUI=choices.get(selectedIndex).file
42 selectedText:drone.confActiveUI
44 KeyNavigation.backtab: button2
51 font.pixelSize :textSize
58 anchors.right: parent.right
59 text: drone.confDroneIp
60 onTextChanged:{drone.confDroneIp=text;}
66 text: "Video 640x480 / Full Screen"
68 font.pixelSize :textSize
72 checked:drone.confFullScreen
73 anchors.right:parent.right
74 onCheckedChanged:{drone.confFullScreen=checked;}
79 font.pixelSize :textSize
83 checked:drone.confShowDebug
84 anchors.right:parent.right
85 onCheckedChanged:{drone.confShowDebug=checked;}
89 text: "Show engine gauges"
91 font.pixelSize :textSize
96 checked:drone.confShowGauges
97 anchors.right:parent.right
98 onCheckedChanged:{drone.confShowGauges=checked;}
104 font.pixelSize :textSize
109 checked:drone.confShowHorizon
110 anchors.right:parent.right
111 onCheckedChanged:{drone.confShowHorizon=checked;}
119 anchors.leftMargin:50;anchors.rightMargin:50
122 text: "Acceleration Sensor for controll"
124 font.pixelSize :textSize
128 checked:drone.confUseAccel
129 anchors.right:parent.right
130 onCheckedChanged:{drone.confUseAccel=checked;}
136 font.pixelSize :textSize
140 checked:drone.confUseJoyStick
141 anchors.right:parent.right
142 enabled:js.haveJoyStick
143 onCheckedChanged:{drone.confUseJoyStick=checked;}
147 visible:drone.confUseJoyStick
148 font.pixelSize :textSize
149 text:"\"" + js.joyStickName + "\""
153 visible:drone.confUseJoyStick
155 anchors.right:parent.right
156 onClicked:{ joyStickCalibrator.visible = true;
161 visible:drone.confUseJoyStick
162 font.pixelSize :textSize
163 text:"Show JoyStick Indicators"
167 visible:drone.confUseJoyStick
168 checked:drone.confShowJSIndicators
169 anchors.right:parent.right
170 enabled:js.haveJoyStick
171 onCheckedChanged:{drone.confShowJSIndicators=checked;}
177 text: "Forward/backward gain"
179 font.pixelSize :textSize
184 anchors.right:parent.right
187 value:drone.confForwardGain
188 onValueChanged:{drone.confForwardGain=value;}
191 text: "Right/Left gain"
193 font.pixelSize :textSize
198 anchors.right:parent.right
201 value:drone.confRightGain
202 onValueChanged:{drone.confRightGain=value;}
205 text: "accel ctrl treshold"
207 font.pixelSize :textSize
212 anchors.right:parent.right
214 value:drone.confCtrlTrsh
215 onValueChanged:{drone.confCtrlTrsh=value;}