-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add scrolling waveform in QML using scenegraph
- Loading branch information
1 parent
7582045
commit 317256a
Showing
36 changed files
with
1,869 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import "." as Skin | ||
import Mixxx 1.0 as Mixxx | ||
import QtQuick 2.12 | ||
|
||
import "Theme" | ||
|
||
Skin.Button { | ||
id: root | ||
|
||
required property string keyPrefix | ||
required property string group | ||
|
||
activeColor: Theme.deckActiveColor | ||
highlight: enabledControl.value | ||
|
||
Mixxx.ControlProxy { | ||
id: control | ||
|
||
group: root.group | ||
key: `${root.keyPrefix}_activate` | ||
value: root.down | ||
} | ||
|
||
Mixxx.ControlProxy { | ||
id: enabledControl | ||
|
||
group: root.group | ||
key: `${root.keyPrefix}_enabled` | ||
} | ||
|
||
Mixxx.ControlProxy { | ||
id: cleanControl | ||
|
||
group: root.group | ||
key: `${root.keyPrefix}_clear` | ||
value: mousearea.pressed && enabledControl.value | ||
} | ||
|
||
MouseArea { | ||
id: mousearea | ||
|
||
anchors.fill: parent | ||
acceptedButtons: Qt.RightButton | ||
} | ||
} |
Oops, something went wrong.