MNE-CPP  beta 1.0
averagingsettingswidget.h
1 #ifndef AVERAGINGSETTINGSWIDGET_H
2 #define AVERAGINGSETTINGSWIDGET_H
3 
4 //*************************************************************************************************************
5 //=============================================================================================================
6 // Qt INCLUDES
7 //=============================================================================================================
8 
9 #include <QWidget>
10 #include <QSpinBox>
11 #include <QPair>
12 
13 #include <QComboBox>
14 #include <QCheckBox>
15 
16 
17 //*************************************************************************************************************
18 //=============================================================================================================
19 // DEFINE NAMESPACE AveragingPlugin
20 //=============================================================================================================
21 
22 namespace AveragingPlugin
23 {
24 
25 //*************************************************************************************************************
26 //=============================================================================================================
27 // USED NAMESPACES
28 //=============================================================================================================
29 
30 
31 //*************************************************************************************************************
32 //=============================================================================================================
33 // FORWARD DECLARATIONS
34 //=============================================================================================================
35 
36 class Averaging;
37 
38 
39 class AveragingSettingsWidget : public QWidget
40 {
41  Q_OBJECT
42 
43  friend class Averaging;
44 
45 public:
46  typedef QSharedPointer<AveragingSettingsWidget> SPtr;
47  typedef QSharedPointer<AveragingSettingsWidget> ConstSPtr;
49  explicit AveragingSettingsWidget(Averaging *toolbox, QWidget *parent = 0);
50 
51 signals:
52 
53 public slots:
54 
55 private:
56  QComboBox* m_pComboBoxChSelection;
57  Averaging* m_pAveragingToolbox;
58  QSpinBox* m_pSpinBoxNumAverages;
59  QSpinBox* m_pSpinBoxPreStimSamples;
60  QSpinBox* m_pSpinBoxPostStimSamples;
61 };
62 
63 } // NAMESPACE
64 
65 #endif // AVERAGINGSETTINGSWIDGET_H
QSharedPointer< AveragingSettingsWidget > SPtr
The Averaging class provides a Averaging algorithm structure.
Definition: averaging.h:109
QSharedPointer< AveragingSettingsWidget > ConstSPtr