Initial Commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// -*- Mode: C++ -*-
|
||||
#ifndef SIGNALMETER_H
|
||||
#define SIGNALMETER_H
|
||||
|
||||
#include <QFrame>
|
||||
|
||||
class QLabel;
|
||||
class MeterWidget;
|
||||
|
||||
class SignalMeter final
|
||||
: public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SignalMeter (QWidget * parent = nullptr);
|
||||
|
||||
public slots:
|
||||
void setValue (float value, float valueMax);
|
||||
|
||||
private:
|
||||
MeterWidget * m_meter;
|
||||
QWidget * m_scale;
|
||||
QLabel * m_reading;
|
||||
};
|
||||
|
||||
#endif // SIGNALMETER_H
|
||||
Reference in New Issue
Block a user