Commit 3af86735 authored by Don Gagne's avatar Don Gagne

Rework tuning UI

parent 909e6dda
...@@ -80,30 +80,31 @@ QGCView { ...@@ -80,30 +80,31 @@ QGCView {
font.weight: Font.DemiBold font.weight: Font.DemiBold
} }
Rectangle {
id: sliderRect Column {
anchors.topMargin: _margins / 2 anchors.margins: _margins
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.top: panelLabel.bottom anchors.top: panelLabel.bottom
height: sliderColumns.y + sliderColumns.height + _margins spacing: _margins
color: palette.windowShade
Column { Repeater {
id: sliderColumns id: sliderRepeater
anchors.margins: _margins model: sliderModel
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
spacing: _margins
Repeater { Rectangle {
id: sliderRepeater id: sliderRect
model: sliderModel anchors.left: parent.left
anchors.right: parent.right
height: sliderColumn.y + sliderColumn.height + _margins
color: palette.windowShade
Column { Column {
anchors.left: parent.left id: sliderColumn
anchors.right: parent.right anchors.margins: _margins
anchors.left: parent.left
anchors.right: parent.right
anchors.top: sliderRect.top
property alias sliderValue: slider.value property alias sliderValue: slider.value
...@@ -132,11 +133,11 @@ QGCView { ...@@ -132,11 +133,11 @@ QGCView {
fact.value = value fact.value = value
} }
} }
} } // Slider
} // Column } // Column
} // Repeater } // Rectangle
} // Column } // Repeater
} // Rectangle } // Column
} // QGCFlickable } // QGCFlickable
} // QGCViewPanel } // QGCViewPanel
} // QGCView } // QGCView
...@@ -282,6 +282,7 @@ ...@@ -282,6 +282,7 @@
1 50 MPC_MANTHR_MIN 0.080 9 1 50 MPC_MANTHR_MIN 0.080 9
1 50 MPC_THR_MAX 1 9 1 50 MPC_THR_MAX 1 9
1 50 MPC_THR_MIN 0.1 9 1 50 MPC_THR_MIN 0.1 9
1 50 MPC_THR_HOVER 0.5 9
1 50 MPC_TILTMAX_AIR 45 9 1 50 MPC_TILTMAX_AIR 45 9
1 50 MPC_TILTMAX_LND 15 9 1 50 MPC_TILTMAX_LND 15 9
1 50 MPC_XY_FF 0.5 9 1 50 MPC_XY_FF 0.5 9
......
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