v2.0.0
Loading...
Searching...
No Matches
fwdsettingsview.h
Go to the documentation of this file.
1//=============================================================================================================
24
25#ifndef FWDSETTINGSVIEW_H
26#define FWDSETTINGSVIEW_H
27
28//=============================================================================================================
29// INCLUDES
30//=============================================================================================================
31
32#include "../disp_global.h"
33#include "abstractview.h"
34
35#include <fiff/fiff_types.h>
36#include <fs/fs_annotationset.h>
37
38//=============================================================================================================
39// QT INCLUDES
40//=============================================================================================================
41
42#include <QSharedPointer>
43
44//=============================================================================================================
45// EIGEN INCLUDES
46//=============================================================================================================
47
48//=============================================================================================================
49// FORWARD DECLARATIONS
50//=============================================================================================================
51
52namespace FSLIB {
53 class FsAnnotationSet;
54}
55
56namespace Ui {
57 class FwdSettingsViewWidget;
58}
59//=============================================================================================================
60// DEFINE NAMESPACE DISPLIB
61//=============================================================================================================
62
63namespace DISPLIB
64{
65
66//=============================================================================================================
75{
76 Q_OBJECT
77
78public:
79
80 //=========================================================================================================
84 explicit FwdSettingsView(const QString& sSettingsPath = "",
85 QWidget *parent = 0,
86 Qt::WindowFlags f = Qt::Widget);
87
89
90 //=========================================================================================================
97
98 //=========================================================================================================
105 void setRecomputationStatus(int iStatus);
106
107 //=========================================================================================================
114
115 //=========================================================================================================
121 int getClusterNumber();
122
123 //=========================================================================================================
127 void showAtlasDirDialog();
128
129 //=========================================================================================================
139
140 void setSolutionInformation(FIFFLIB::fiff_int_t iSourceOri,
141 FIFFLIB::fiff_int_t iCoordFrame,
142 int iNSource,
143 int iNChan,
144 int iNSpaces);
145
146 //=========================================================================================================
152
153 void setClusteredInformation(int iNSource);
154
155 //=========================================================================================================
161
162 void onClusteringStatusChanged(bool bChecked);
163
164 //=========================================================================================================
168 void saveSettings();
169
170 //=========================================================================================================
174 void loadSettings();
175
176 //=========================================================================================================
180 void clearView();
181
182protected:
183 //=========================================================================================================
189 void updateGuiMode(GuiMode mode);
190
191 //=========================================================================================================
198
200
201 Ui::FwdSettingsViewWidget* m_pUi;
202
204
205signals:
206 //=========================================================================================================
212 void recompStatusChanged(bool bChecked);
213
214 //=========================================================================================================
220 void clusteringStatusChanged(bool bChecked);
221
222 //=========================================================================================================
229 void atlasDirChanged(const QString& sDirPath,
230 const FSLIB::FsAnnotationSet::SPtr pAnnotationSet);
231
232 //=========================================================================================================
237
238 //=========================================================================================================
244 void clusterNumberChanged(int iNCluster);
245
246};
247
248//=============================================================================================================
249// INLINE DEFINITIONS
250//=============================================================================================================
251
252} // NAMESPACE
253
254#endif // FWDSETTINGSVIEW_H
255
Bi-hemispheric pair of FreeSurfer annotations (lh + rh) for one parcellation atlas.
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
Primitive scalar typedefs and forward-compatible aliases backing the FIFF type system.
FreeSurfer surface, annotation and parcellation I/O for mne-cpp.
2-D display widgets and visualisation helpers (charts, topography, colour maps).
AbstractView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
void setSolutionInformation(FIFFLIB::fiff_int_t iSourceOri, FIFFLIB::fiff_int_t iCoordFrame, int iNSource, int iNChan, int iNSpaces)
void setClusteredInformation(int iNSource)
Ui::FwdSettingsViewWidget * m_pUi
void clusterNumberChanged(int iNCluster)
void setRecomputationStatus(int iStatus)
void atlasDirChanged(const QString &sDirPath, const FSLIB::FsAnnotationSet::SPtr pAnnotationSet)
void updateProcessingMode(ProcessingMode mode)
void clusteringStatusChanged(bool bChecked)
void recompStatusChanged(bool bChecked)
void onClusteringStatusChanged(bool bChecked)
void updateGuiMode(GuiMode mode)
FwdSettingsView(const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
Container holding the lh and/or rh FsAnnotation for one parcellation atlas.
QSharedPointer< FsAnnotationSet > SPtr