WSJT-X/widgets/signalmeter.h
Bill Somerville 947b429723 Start implememntation of database based Fox log model and a new Fox log window widget
This change incorporates a reorganization of the GUI code with
widgets, validators, models, and item delegates being moved to
sub-directories.

Relax  the   requirements  of   the  ForeignKeyDelegate   and  related
CandidateKeyFilter classes to  allow them to work  with constant model
pointers for both referenced and referencing models.
2018-11-07 17:49:45 +00:00

28 lines
404 B
C++

// -*- 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