2 #ifndef LOWNOISEAMPLIFIER_H 3 #define LOWNOISEAMPLIFIER_H 7 #include <QDoubleSpinBox> 10 #include <QGridLayout> 14 #include "../property.h" 16 class LNAstage :
public QWidget
19 Q_PROPERTY(
float drainVoltage READ drainVoltage WRITE updateDrainVoltage)
20 Q_PROPERTY(
float drainCurrent READ drainCurrent WRITE updateDrainCurrent)
21 Q_PROPERTY(
float gateVoltage READ gateVoltage)
22 Q_PROPERTY(
bool expertMode READ expertMode WRITE setExpertMode)
25 explicit LNAstage(
LNA::Stage lna, QWidget *parent = 0);
28 float drainVoltage()
const {
return m_drainV.actual(); }
29 float drainCurrent()
const {
return m_drainC.actual(); }
30 float gateVoltage()
const {
return m_gateV; }
31 bool expertMode()
const {
return m_expert; }
39 void updateDrainVoltage(
float mV);
40 void setDrainVoltage(
float mV);
41 void updateDrainCurrent(
float mA);
42 void setDrainCurrent(
float mA);
43 void updateGateVoltage(
float mV);
44 void setExpertMode(
bool flag);
54 class LowNoiseAmplifier :
public QWidget
57 Q_PROPERTY(
bool expertMode READ expertMode WRITE setExpertMode)
63 bool expertMode()
const {
return m_expert; }
66 void setExpertMode(
bool flag);
75 #endif // LOWNOISEAMPLIFIER_H Stage
An enumeration for the stages of a low noise amplifier.
Definition: constants.h:35
Polarization
An enumeration for the two polarizations.
Definition: constants.h:9
Element
An enumeration for the two mixer elements in each polarization.
Definition: constants.h:17