21 #include "../core/audio/recorder/audiorecorderadapter.h"
26 : QProgressBar(parent),
32 setWhatsThis(tr(
"This bar displays the current input level."));
43 mValueBuffer = std::max(0.0, std::min(value, 1.0)) * maximum();
QTimer mUpdateTimer
The timer that will handle the update of the QProgressBar.
double mValueBuffer
The buffered value.
VolumeControlLevel(QWidget *parent)
Default constructor.
void levelChanged(double value) override
Function that is called when the level has changed.
void updateValue()
Update the displayed value with the mValueBuffer.
virtual ~VolumeControlLevel()
Empty virtual destructor.