SEPIA
Software documentation for the APEX SEPIA receivers
defluxdialog.h
1 /* Copyright 2017 Michael Olberg <michael.olberg@chalmers.se> */
2 #ifndef DEFLUXDIALOG_H
3 #define DEFLUXDIALOG_H
4 
5 #include <QDialog>
6 #include <QPushButton>
7 #include <QCheckBox>
8 #include <QGroupBox>
9 #include <QDialogButtonBox>
10 #include <QSpinBox>
11 
12 #include "../constants.h"
13 #include "mixer.h"
14 
15 class DefluxDialog : public QDialog
16 {
17  Q_OBJECT
18 
19  public:
27  explicit DefluxDialog(QWidget *parent = 0);
28  ~DefluxDialog();
29  bool isSelected(Mixer::Polarization pol, Mixer::Element sis) const;
30  // Mixer::Polarization polarization() const;
31  // Mixer::Element element() const;
32  bool recycle() const;
33 
34  private:
35  QGroupBox *pol0Group;
36  QGroupBox *pol1Group;
37  QCheckBox *p0s1;
38  QCheckBox *p0s2;
39  QCheckBox *p1s1;
40  QCheckBox *p1s2;
41  QCheckBox *recycleBox;
42  QDialogButtonBox *buttonBox;
43 };
44 
45 #endif // DEFLUXDIALOG_H
A QWidget presenting a dialog for tracing and IV/TP curve.
Definition: defluxdialog.h:15
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