|
|
|
@ -71,7 +71,7 @@ QGCView {
@@ -71,7 +71,7 @@ QGCView {
|
|
|
|
|
QGCFlickable { |
|
|
|
|
clip: true |
|
|
|
|
anchors.fill: parent |
|
|
|
|
contentHeight: sliderRect.y + sliderRect.height |
|
|
|
|
contentHeight: sliderOuterColumn.y + sliderOuterColumn.height |
|
|
|
|
flickableDirection: Flickable.VerticalFlick |
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
@ -82,6 +82,7 @@ QGCView {
@@ -82,6 +82,7 @@ QGCView {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Column { |
|
|
|
|
id: sliderOuterColumn |
|
|
|
|
anchors.margins: _margins |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
@ -99,6 +100,8 @@ QGCView {
@@ -99,6 +100,8 @@ QGCView {
|
|
|
|
|
height: sliderColumn.y + sliderColumn.height + _margins |
|
|
|
|
color: palette.windowShade |
|
|
|
|
|
|
|
|
|
property alias sliderValue: slider.value |
|
|
|
|
|
|
|
|
|
Column { |
|
|
|
|
id: sliderColumn |
|
|
|
|
anchors.margins: _margins |
|
|
|
@ -106,15 +109,16 @@ QGCView {
@@ -106,15 +109,16 @@ QGCView {
|
|
|
|
|
anchors.right: parent.right |
|
|
|
|
anchors.top: sliderRect.top |
|
|
|
|
|
|
|
|
|
property alias sliderValue: slider.value |
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
text: title |
|
|
|
|
font.weight: Font.DemiBold |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
text: description |
|
|
|
|
text: description |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
wrapMode: Text.WordWrap |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Slider { |
|
|
|
|