mirror of
https://github.com/JS8Call-improved/JS8Call-improved
synced 2026-08-13 17:47:36 -04:00
Rename all header files with .h extension Fix function declaration in HamlibTransceiver.h that overrode member function but was not marked override Remove unused variable in Modulator.cpp Remove unused files from source tree Remove duplicate LazyFillComboBox files Reformat codebase to LLVM C++ standard
33 lines
488 B
C++
33 lines
488 B
C++
#ifndef SIGNALMETER_HPP__
|
|
#define SIGNALMETER_HPP__
|
|
|
|
#include <QWidget>
|
|
|
|
class QLabel;
|
|
|
|
class SignalMeter final : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
// Constructor
|
|
|
|
explicit SignalMeter(QWidget *parent = nullptr);
|
|
|
|
// Slots
|
|
|
|
Q_SLOT void setValue(float value, float valueMax);
|
|
|
|
private:
|
|
// Forward declarations
|
|
|
|
class Scale;
|
|
class Meter;
|
|
|
|
// Data members
|
|
|
|
Scale *m_scale;
|
|
Meter *m_meter;
|
|
QLabel *m_value;
|
|
};
|
|
|
|
#endif // SIGNALMETER_HPP__
|