MNE-CPP  beta 0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mnertclientsetupwidget.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef MNERTCLIENTSETUPWIDGET_H
37 #define MNERTCLIENTSETUPWIDGET_H
38 
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "../ui_mnertclientsetup.h"
46 #include "mnertclientsetupfifffilesimulatorwidget.h"
49 
50 
51 //*************************************************************************************************************
52 //=============================================================================================================
53 // QT INCLUDES
54 //=============================================================================================================
55 
56 #include <QWidget>
57 
58 
59 //*************************************************************************************************************
60 //=============================================================================================================
61 // DEFINE NAMESPACE MneRtClientPlugin
62 //=============================================================================================================
63 
64 namespace MneRtClientPlugin
65 {
66 
67 
68 //*************************************************************************************************************
69 //=============================================================================================================
70 // FORWARD DECLARATIONS
71 //=============================================================================================================
72 
73 class MneRtClient;
74 
75 
76 //=============================================================================================================
82 class MneRtClientSetupWidget : public QWidget
83 {
84  Q_OBJECT
85 
86 public:
87 
88  //=========================================================================================================
95  MneRtClientSetupWidget(MneRtClient* p_pMneRtClient, QWidget *parent = 0);
96 
97  //=========================================================================================================
103 
104  //=========================================================================================================
108  void init();
109 
110 //slots
111  void bufferSizeEdited();
113  void checkedRecordDataChanged();
115  //=========================================================================================================
121  void connectorIdxChanged(int idx);
122 
123  void printToLog(QString message);
125  void pressedFiffRecordFile();
127  void pressedConnect();
129  void pressedSendCLI();
131  void pressedConfigure();
133  void fiffInfoReceived();
136 private:
137  //=========================================================================================================
143  void cmdConnectionChanged(bool p_bConnectionStatus);
144 
145  //=========================================================================================================
150  void showAboutDialog();
151 
152 // //=========================================================================================================
153 // /**
154 // * Shows the SQUID Control Dialog
155 // *
156 // */
157 // void SQUIDControlDialog();
158 
159  MneRtClient* m_pMneRtClient;
163  bool m_bIsInit;
166  MneRtClientSetupFiffFileSimulatorWidget::SPtr m_pMneRtClientSetupFiffFileSimulatorWidget;
167  MneRtClientSetupNeuromagWidget::SPtr m_pMneRtClientSetupNeuromagWidget;
168  MneRtClientSetupBabyMegWidget::SPtr m_pMneRtClientSetupBabyMegWidget;
169 };
170 
171 } // NAMESPACE
172 
173 #endif // MNERTCLIENTSETUPWIDGET_H
The MneRtClient class provides a RT server connection.
Definition: mnertclient.h:115
Contains the declaration of the MneRtClientSetupBabyMegWidget class.
QSharedPointer< MneRtClientSetupBabyMegWidget > SPtr
MneRtClientSetupWidget(MneRtClient *p_pMneRtClient, QWidget *parent=0)
QSharedPointer< MneRtClientSetupNeuromagWidget > SPtr
Contains the declaration of the MneRtClientSetupNeuromagWidget class.
The MneRtClientSetupWidget class provides the ECG configuration window.
QSharedPointer< MneRtClientSetupFiffFileSimulatorWidget > SPtr