[app] Took out unused slider code
This commit is contained in:
parent
b2d01710e8
commit
55b47f18f2
1 changed files with 0 additions and 13 deletions
|
@ -57,7 +57,6 @@ MouseArea {
|
||||||
property real leftMargin: Math.round(Screen.width/8)
|
property real leftMargin: Math.round(Screen.width/8)
|
||||||
property real rightMargin: Math.round(Screen.width/8)
|
property real rightMargin: Math.round(Screen.width/8)
|
||||||
|
|
||||||
property bool _hasValueLabel: false
|
|
||||||
property real _oldValue
|
property real _oldValue
|
||||||
property bool _tracking: true
|
property bool _tracking: true
|
||||||
property real _precFactor: 1.0
|
property real _precFactor: 1.0
|
||||||
|
@ -161,18 +160,6 @@ MouseArea {
|
||||||
|
|
||||||
onCanceled: value = _oldValue
|
onCanceled: value = _oldValue
|
||||||
|
|
||||||
onValueTextChanged: {
|
|
||||||
if (valueText && !_hasValueLabel) {
|
|
||||||
_hasValueLabel = true
|
|
||||||
var valueIndicatorComponent = Qt.createComponent("private/SliderValueLabel.qml")
|
|
||||||
if (valueIndicatorComponent.status === Component.Ready) {
|
|
||||||
valueIndicatorComponent.createObject(slider)
|
|
||||||
} else {
|
|
||||||
console.log(valueIndicatorComponent.errorString())
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
onSliderValueChanged: {
|
onSliderValueChanged: {
|
||||||
if (!slider.drag.active) {
|
if (!slider.drag.active) {
|
||||||
_tracking = false
|
_tracking = false
|
||||||
|
|
Loading…
Reference in a new issue