|
|
|
@ -80,30 +80,31 @@ QGCView {
@@ -80,30 +80,31 @@ QGCView {
|
|
|
|
|
font.weight: Font.DemiBold |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
|
id: sliderRect |
|
|
|
|
anchors.topMargin: _margins / 2 |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
anchors.top: panelLabel.bottom |
|
|
|
|
height: sliderColumns.y + sliderColumns.height + _margins |
|
|
|
|
color: palette.windowShade |
|
|
|
|
|
|
|
|
|
Column { |
|
|
|
|
id: sliderColumns |
|
|
|
|
anchors.margins: _margins |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
anchors.top: parent.top |
|
|
|
|
anchors.top: panelLabel.bottom |
|
|
|
|
spacing: _margins |
|
|
|
|
|
|
|
|
|
Repeater { |
|
|
|
|
id: sliderRepeater |
|
|
|
|
model: sliderModel |
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
|
id: sliderRect |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
height: sliderColumn.y + sliderColumn.height + _margins |
|
|
|
|
color: palette.windowShade |
|
|
|
|
|
|
|
|
|
Column { |
|
|
|
|
id: sliderColumn |
|
|
|
|
anchors.margins: _margins |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
anchors.top: sliderRect.top |
|
|
|
|
|
|
|
|
|
property alias sliderValue: slider.value |
|
|
|
|
|
|
|
|
@ -132,11 +133,11 @@ QGCView {
@@ -132,11 +133,11 @@ QGCView {
|
|
|
|
|
fact.value = value |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} // Slider |
|
|
|
|
} // Column |
|
|
|
|
} // Rectangle |
|
|
|
|
} // Repeater |
|
|
|
|
} // Column |
|
|
|
|
} // Rectangle |
|
|
|
|
} // QGCFlickable |
|
|
|
|
} // QGCViewPanel |
|
|
|
|
} // QGCView |
|
|
|
|