Commit d9ae3bd8 authored by Don Gagne's avatar Don Gagne

Better pre-cal dialog text

parent 17ef8c61
...@@ -30,7 +30,7 @@ QGCView { ...@@ -30,7 +30,7 @@ QGCView {
readonly property string boardRotationText: qsTr("If the orientation is in the direction of flight, select ROTATION_NONE.") readonly property string boardRotationText: qsTr("If the orientation is in the direction of flight, select ROTATION_NONE.")
readonly property string compassRotationText: qsTr("If the orientation is in the direction of flight, select ROTATION_NONE.") readonly property string compassRotationText: qsTr("If the orientation is in the direction of flight, select ROTATION_NONE.")
readonly property string compassHelp: qsTr("For Compass calibration you will need to rotate your vehicle through a number of positions. Most users prefer to do this wirelessly with the telemetry link.") readonly property string compassHelp: qsTr("For Compass calibration you will need to rotate your vehicle through a number of positions.")
readonly property string gyroHelp: qsTr("For Gyroscope calibration you will need to place your vehicle on a surface and leave it still.") readonly property string gyroHelp: qsTr("For Gyroscope calibration you will need to place your vehicle on a surface and leave it still.")
readonly property string accelHelp: qsTr("For Accelerometer calibration you will need to place your vehicle on all six sides on a perfectly level surface and hold it still in each orientation for a few seconds.") readonly property string accelHelp: qsTr("For Accelerometer calibration you will need to place your vehicle on all six sides on a perfectly level surface and hold it still in each orientation for a few seconds.")
readonly property string levelHelp: qsTr("To level the horizon you need to place the vehicle in its level flight position and press OK.") readonly property string levelHelp: qsTr("To level the horizon you need to place the vehicle in its level flight position and press OK.")
...@@ -160,8 +160,8 @@ QGCView { ...@@ -160,8 +160,8 @@ QGCView {
} }
Column { Column {
anchors.fill: parent anchors.fill: parent
spacing: 5 spacing: 5
QGCLabel { QGCLabel {
width: parent.width width: parent.width
...@@ -170,17 +170,25 @@ QGCView { ...@@ -170,17 +170,25 @@ QGCView {
} }
QGCLabel { QGCLabel {
id: boardRotationHelp
width: parent.width width: parent.width
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
visible: (preCalibrationDialogType != "airspeed") && (preCalibrationDialogType != "gyro") visible: (preCalibrationDialogType != "airspeed") && (preCalibrationDialogType != "gyro")
text: boardRotationText text: boardRotationText
} }
FactComboBox { Column {
width: rotationColumnWidth visible: boardRotationHelp.visible
model: rotations QGCLabel {
visible: preCalibrationDialogType != "airspeed" && (preCalibrationDialogType != "gyro") text: qsTr("Autopilot Orientation:")
fact: sens_board_rot }
FactComboBox {
id: boardRotationCombo
width: rotationColumnWidth;
model: rotations
fact: sens_board_rot
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment