Commit 6569a1cc authored by Akhil K Gangadharan's avatar Akhil K Gangadharan

Add peak level to VU meter

parent 48622461
Pipeline #2935 passed with stage
in 14 minutes and 2 seconds
......@@ -54,6 +54,23 @@ Item {
height: recbutton.height
border.color: root.frameColor
color: Qt.lighter(activePalette.base)
Rectangle {
id: peaklevel
x:(recContainer.width - recbutton.width - 6)*0.8
width: root.baseUnit * 0.2
height: root.baseUnit * 1.5
color: activePalette.windowText
NumberAnimation on x{
running: audiorec.touchLevel
from:(recContainer.width - recbutton.width - 6)*0.8
to: recContainer.width - recbutton.width - 6
easing.type: Easing.OutQuad;
easing.amplitude: 2.0;
easing.period: 2
}
}
Repeater {
model: audiorec.levels.length
id: levelRepeater
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment