24 #ifndef RECORDINGQUALITYBAR_H
25 #define RECORDINGQUALITYBAR_H
27 #include <QProgressBar>
29 #include <../core/messages/messagelistener.h>
73 virtual QSize
sizeHint() const override final;
96 void paintEvent(QPaintEvent *event) override final;
99 #endif // RECORDINGQUALITYBAR_H
virtual void handleMessage(MessagePtr m) overridefinal
Message handling.
std::shared_ptr< Message > MessagePtr
Global type of a shared message pointer.
virtual QSize minimumSizeHint() const overridefinal
Hint for the minimal widget size.
~RecordingQualityBar()
Empty destructor.
virtual QSize sizeHint() const overridefinal
Hint for the optimal widget size.
void paintEvent(QPaintEvent *event) overridefinal
Reimplemented paint function that will draw the vertical text.
RecordingQualityBar(QWidget *parent=nullptr)
Default constructor.
void updateValue(float v)
Function to update the current value.