MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
fwdsettingsview.h
Go to the documentation of this file.
1//=============================================================================================================
35#ifndef FWDSETTINGSVIEW_H
36#define FWDSETTINGSVIEW_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "../disp_global.h"
43#include "abstractview.h"
44
45#include <fiff/fiff_types.h>
46#include <fs/annotationset.h>
47
48//=============================================================================================================
49// QT INCLUDES
50//=============================================================================================================
51
52#include <QSharedPointer>
53
54//=============================================================================================================
55// EIGEN INCLUDES
56//=============================================================================================================
57
58//=============================================================================================================
59// FORWARD DECLARATIONS
60//=============================================================================================================
61
62namespace FSLIB {
63 class AnnotationSet;
64}
65
66namespace Ui {
67 class FwdSettingsViewWidget;
68}
69//=============================================================================================================
70// DEFINE NAMESPACE DISPLIB
71//=============================================================================================================
72
73namespace DISPLIB
74{
75
76//=============================================================================================================
83{
84 Q_OBJECT
85
86public:
87
88 //=========================================================================================================
92 explicit FwdSettingsView(const QString& sSettingsPath = "",
93 QWidget *parent = 0,
94 Qt::WindowFlags f = Qt::Widget);
95
97
98 //=========================================================================================================
104 bool getRecomputationStatusChanged();
105
106 //=========================================================================================================
113 void setRecomputationStatus(int iStatus);
114
115 //=========================================================================================================
121 bool getClusteringStatusChanged();
122
123 //=========================================================================================================
129 int getClusterNumber();
130
131 //=========================================================================================================
135 void showAtlasDirDialog();
136
137 //=========================================================================================================
148 void setSolutionInformation(FIFFLIB::fiff_int_t iSourceOri,
149 FIFFLIB::fiff_int_t iCoordFrame,
150 int iNSource,
151 int iNChan,
152 int iNSpaces);
153
154 //=========================================================================================================
161 void setClusteredInformation(int iNSource);
162
163 //=========================================================================================================
170 void onClusteringStatusChanged(bool bChecked);
171
172 //=========================================================================================================
176 void saveSettings();
177
178 //=========================================================================================================
182 void loadSettings();
183
184 //=========================================================================================================
188 void clearView();
189
190protected:
191 //=========================================================================================================
197 void updateGuiMode(GuiMode mode);
198
199 //=========================================================================================================
205 void updateProcessingMode(ProcessingMode mode);
206
209 Ui::FwdSettingsViewWidget* m_pUi;
213signals:
214 //=========================================================================================================
220 void recompStatusChanged(bool bChecked);
221
222 //=========================================================================================================
228 void clusteringStatusChanged(bool bChecked);
229
230 //=========================================================================================================
237 void atlasDirChanged(const QString& sDirPath,
238 const FSLIB::AnnotationSet::SPtr pAnnotationSet);
239
240 //=========================================================================================================
245
246 //=========================================================================================================
252 void clusterNumberChanged(int iNCluster);
253
254};
255
256//=============================================================================================================
257// INLINE DEFINITIONS
258//=============================================================================================================
259
260} // NAMESPACE
261
262#endif // FWDSETTINGSVIEW_H
263
#define DISPSHARED_EXPORT
Definition disp_global.h:55
Definitions for describing the objects in a FIFF file.
AnnotationSet class declaration.
The AbstractView class provides the base calss for all Disp viewers.
The FwdSettingsView class provides a QWidget for the real-time Forward Solution controls.
Ui::FwdSettingsViewWidget * m_pUi
void atlasDirChanged(const QString &sDirPath, const FSLIB::AnnotationSet::SPtr pAnnotationSet)
void clusterNumberChanged(int iNCluster)
void clusteringStatusChanged(bool bChecked)
void recompStatusChanged(bool bChecked)
QSharedPointer< AnnotationSet > SPtr
AbstractView class declaration.