MNE-CPP  beta 1.0
neuromagsetupwidget.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef NEUROMAGSETUPWIDGET_H
37 #define NEUROMAGSETUPWIDGET_H
38 
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "../ui_neuromagsetup.h"
46 
47 
48 //*************************************************************************************************************
49 //=============================================================================================================
50 // QT INCLUDES
51 //=============================================================================================================
52 
53 #include <QWidget>
54 
55 
56 //*************************************************************************************************************
57 //=============================================================================================================
58 // DEFINE NAMESPACE MneRtClientPlugin
59 //=============================================================================================================
60 
61 namespace MneRtClientPlugin
62 {
63 
64 
65 //*************************************************************************************************************
66 //=============================================================================================================
67 // FORWARD DECLARATIONS
68 //=============================================================================================================
69 
70 class Neuromag;
71 
72 
73 //=============================================================================================================
79 class NeuromagSetupWidget : public QWidget
80 {
81  Q_OBJECT
82 
83 public:
84 
85  //=========================================================================================================
92  NeuromagSetupWidget(Neuromag* p_pNeuromag, QWidget *parent = 0);
93 
94  //=========================================================================================================
100 
101  //=========================================================================================================
105  void init();
106 
107 //slots
108  void bufferSizeEdited();
110  void checkedRecordDataChanged();
112  void printToLog(QString message);
114  void pressedFiffRecordFile();
116  void pressedConnect();
118  void pressedSendCLI();
120  void fiffInfoReceived();
123 private:
124  //=========================================================================================================
130  void cmdConnectionChanged(bool p_bConnectionStatus);
131 
132  //=========================================================================================================
137  void showAboutDialog();
138 
139 // //=========================================================================================================
140 // /**
141 // * Shows the SQUID Control Dialog
142 // *
143 // */
144 // void SQUIDControlDialog();
145 
146  Neuromag* m_pNeuromag;
150  bool m_bIsInit;
151 };
152 
153 } // NAMESPACE
154 
155 #endif // NEUROMAGSETUPWIDGET_H
The NeuromagSetupWidget class provides the ECG configuration window.
NeuromagSetupWidget(Neuromag *p_pNeuromag, QWidget *parent=0)
The Neuromag class provides a RT server connection.
Definition: neuromag.h:115