SEPIA
Software documentation for the APEX SEPIA receivers
gpiodlg.h
1 /* Copyright 2017 Michael Olberg <michael.olberg@chalmers.se> */
2 #ifndef GPIODLG_H
3 #define GPIODLG_H
4 
5 #include <QDialog>
6 #include <QGroupBox>
7 #include <QCheckBox>
8 #include <QRadioButton>
9 #include <QPushButton>
10 
11 #include "acromag.h"
12 
13 class GpioDlg : public QDialog
14 {
15  Q_OBJECT
16 
17  public:
18  explicit GpioDlg(Acromag *acromag, QDialog *parent = 0);
19  ~GpioDlg();
20 
21  private slots:
22  void connectCartridge();
23 
24  private:
25  Acromag *gpio;
26  QGroupBox *loBox;
27  QGroupBox *cartridgeBox;
28 
29  QRadioButton *b5LoButton;
30  QRadioButton *b7LoButton;
31  QRadioButton *b9LoButton;
32 
33  QCheckBox *b5Button;
34  QCheckBox *b7Button;
35  QCheckBox *b9Button;
36 
37  QPushButton *set;
38  QPushButton *quit;
39 };
40 
41 #endif // GPIODLG_H
A class to control the Acromag GP-I/O unit.
Definition: acromag.h:26