SEPIA
Software documentation for the APEX SEPIA receivers
switchdlg.h
1 /* Copyright 2017 Michael Olberg <michael.olberg@chalmers.se> */
2 #ifndef SWITCHDLG_H
3 #define SWITCHDLG_H
4 
5 #include <QDialog>
6 #include <QCheckBox>
7 #include <QPushButton>
8 
9 class MiniCircuit;
10 
11 class SwitchDlg : public QDialog
12 {
13  Q_OBJECT
14 
15  public:
16  explicit SwitchDlg(MiniCircuit *circuit, QWidget *parent = 0);
17  ~SwitchDlg();
18 
19  private slots:
20  void connectionClosedByServer();
21  void error();
22  void setPattern();
23  void preset(const QString &str);
24 
25  private:
26  MiniCircuit *mc;
27 
28  QCheckBox *bits[8];
29  QPushButton *set;
30  QPushButton *quit;
31 };
32 
33 #endif // SWITCHDLG_H
A class to control a MiniCircuit unit (IF and backend switch).
Definition: minicircuit.h:17