MNE-CPP  beta 1.0
fiffsimulatorsetupwidget.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef FIFFSIMULATORSETUPWIDGET_H
37 #define FIFFSIMULATORSETUPWIDGET_H
38 
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "../ui_fiffsimulatorsetup.h"
46 
47 
48 //*************************************************************************************************************
49 //=============================================================================================================
50 // QT INCLUDES
51 //=============================================================================================================
52 
53 #include <QWidget>
54 
55 
56 //*************************************************************************************************************
57 //=============================================================================================================
58 // DEFINE NAMESPACE FiffSimulatorPlugin
59 //=============================================================================================================
60 
61 namespace FiffSimulatorPlugin
62 {
63 
64 
65 //*************************************************************************************************************
66 //=============================================================================================================
67 // FORWARD DECLARATIONS
68 //=============================================================================================================
69 
70 class FiffSimulator;
71 
72 
73 //=============================================================================================================
79 class FiffSimulatorSetupWidget : public QWidget
80 {
81  Q_OBJECT
82 
83 public:
84 
85  //=========================================================================================================
92  FiffSimulatorSetupWidget(FiffSimulator* p_pFiffSimulator, QWidget *parent = 0);
93 
94  //=========================================================================================================
100 
101  //=========================================================================================================
105  void init();
106 
107 //slots
108  void bufferSizeEdited();
110  void printToLog(QString message);
112  void pressedConnect();
114  void pressedSendCLI();
116  void fiffInfoReceived();
118 private:
119  //=========================================================================================================
125  void cmdConnectionChanged(bool p_bConnectionStatus);
126 
127  //=========================================================================================================
131  void showAboutDialog();
132 
133  FiffSimulator* m_pFiffSimulator;
137  bool m_bIsInit;
139 };
140 
141 } // NAMESPACE
142 
143 #endif // FIFFSIMULATORSETUPWIDGET_H
The FiffSimulatorSetupWidget class provides the Fiff configuration window.
FiffSimulatorSetupWidget(FiffSimulator *p_pFiffSimulator, QWidget *parent=0)
The FiffSimulator class provides a Fiff data simulator.
Definition: fiffsimulator.h:97