21 #ifndef AUDIOMONITOR_H
22 #define AUDIOMONITOR_H
102 #endif // AUDIOMONITOR_H
QLinearGradient gradient
Internal gradient object from red to yellow to green.
Definition: audiomonitor.h:80
void paintEvent(QPaintEvent *)
Internal paint event.
Definition: audiomonitor.cpp:70
AudioMonitor(QWidget *parent=nullptr)
AudioMonitor Constructor.
Definition: audiomonitor.cpp:41
void resizeEvent(QResizeEvent *)
Internal resize event handler.
Definition: audiomonitor.cpp:62
void set_value(const QVector< double > &values)
Set the current audio value.
Definition: audiomonitor.cpp:48
The AudioMonitor class.
Definition: audiomonitor.h:32
QVector< double > values
Internal value storage.
Definition: audiomonitor.h:85
void clear()
Slot to clear the audio monitor.
Definition: audiomonitor.cpp:55
QTimer clear_timer
Internal timer to clear the audio monitor after a certain amount of time.
Definition: audiomonitor.h:93