2 #ifndef DUALSIDEBANDMIXER_H 3 #define DUALSIDEBANDMIXER_H 7 #include <qwt_plot_curve.h> 8 #include <qwt_plot_zoomer.h> 9 #include <qwt_plot_panner.h> 10 #include <qwt_plot_picker.h> 13 #include "lownoiseamplifier.h" 26 Q_PROPERTY(
bool expertMode READ expertMode WRITE setExpertMode)
33 MixerElement *sis1()
const {
return m_SIS1; }
34 MixerElement *sis2()
const {
return m_SIS2; }
35 LowNoiseAmplifier *lna1()
const {
return m_LNA1; }
36 LowNoiseAmplifier *lna2()
const {
return m_LNA2; }
38 bool expertMode()
const {
return m_expert; }
62 void showCurve(
Mixer::Element sis, QVector<double> x, QVector<double> y,
63 QVector<double> z,
const QString &xlab,
const QString &ylab);
64 void setExpertMode(
bool flag);
75 LowNoiseAmplifier *m_LNA1;
76 LowNoiseAmplifier *m_LNA2;
78 QwtPlotZoomer *zoomer;
79 QwtPlotPanner *panner;
80 QwtPlotPicker *picker;
81 QwtPlotCurve *mixer1curve;
82 QwtPlotCurve *mixer2curve;
83 QwtPlotCurve *mixer3curve;
84 QwtPlotCurve *mixer4curve;
91 #endif // DUALSIDEBANDMIXER_H void setTuned(bool flag)
Set mixer tuned status.
Definition: dualsidebandmixer.cpp:218
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
bool isTuned() const
Query if mixer is tuned.
Definition: dualsidebandmixer.h:43
A class to represent a 2SB mixer in the GUI.
Definition: dualsidebandmixer.h:23
void reset()
reset the widget after a band de-selection
Definition: dualsidebandmixer.cpp:223