diff options
author | Be <be@mixxx.org> | 2021-09-27 14:54:14 -0500 |
---|---|---|
committer | Be <be@mixxx.org> | 2021-09-29 10:11:33 -0500 |
commit | d4bf033f4f16d811040ddb44a5bccc882e738c48 (patch) | |
tree | d05c7a52e9ca73205f3a8d4ded1914993aaf38fc /res/qml/ControlSlider.qml | |
parent | 9b7f745691fe8f21af29ca64dd44a7c42651f953 (diff) |
move res/skins/QMLDemo to res/qml
Diffstat (limited to 'res/qml/ControlSlider.qml')
-rw-r--r-- | res/qml/ControlSlider.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/res/qml/ControlSlider.qml b/res/qml/ControlSlider.qml new file mode 100644 index 0000000000..add929ffc9 --- /dev/null +++ b/res/qml/ControlSlider.qml @@ -0,0 +1,20 @@ +import "." as Skin +import Mixxx 0.1 as Mixxx +import QtQuick 2.12 + +Skin.Slider { + property alias group: control.group + property alias key: control.key + + value: control.parameter + onMoved: control.parameter = value + + Mixxx.ControlProxy { + id: control + } + + TapHandler { + onDoubleTapped: control.reset() + } + +} |