qmca  0.0.20
mcacontrolpanel.h
Go to the documentation of this file.
1 #ifndef MCACONTROLPANEL_H
2 #define MCACONTROLPANEL_H
3 
4 #include <QObject>
5 #include <QFrame>
6 #include "mcagroup.h"
7 
8 class EpicsMCA;
9 class QGridLayout;
10 class QPushButton;
11 class QDoubleSpinBox;
12 class MCAGroup;
13 class MCAController;
14 
15 class MCAControlPanel : public QFrame
16 {
17  Q_OBJECT;
18 
19  public:
20  MCAControlPanel(MCAController *ctl, QWidget *parent);
21  virtual ~MCAControlPanel();
22 
23  void append(EpicsMCA *mca);
24 
25  public slots:
26  void editedRealTime();
27  void editedLiveTime();
28 
29  private:
31  QGridLayout *m_GridLayout;
32  QPushButton *m_Erase;
33  QPushButton *m_Start;
34  QPushButton *m_Stop;
35  QPushButton *m_EraseStart;
36  QPushButton *m_SaveData;
37  QPushButton *m_SaveAButton;
38  QPushButton *m_ClearAButton;
39  QPushButton *m_SaveBButton;
40  QPushButton *m_ClearBButton;
41  QPushButton *m_SaveCButton;
42  QPushButton *m_ClearCButton;
44  QDoubleSpinBox *m_PresetRealTime;
45  QDoubleSpinBox *m_PresetLiveTime;
46 };
47 
48 #endif
virtual ~MCAControlPanel()
QPushButton * m_Erase
QPushButton * m_SaveCButton
QPushButton * m_ClearCButton
QPushButton * m_Start
QPushButton * m_SaveAButton
MCAController * m_Controller
QGridLayout * m_GridLayout
QDoubleSpinBox * m_PresetRealTime
QPushButton * m_SaveBButton
QPushButton * m_ClearBButton
QPushButton * m_ClearAButton
MCAControlPanel(MCAController *ctl, QWidget *parent)
QPushButton * m_EraseStart
QDoubleSpinBox * m_PresetLiveTime
QPushButton * m_SaveData
void append(EpicsMCA *mca)
MCAGroup * m_MCAGroup
QPushButton * m_Stop