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{
54class FsAnnotationSet;
55}
56
57namespace Ui
58{
59class FwdSettingsViewWidget;
60}
61//=============================================================================================================
62// DEFINE NAMESPACE DISPLIB
63//=============================================================================================================
64
65namespace DISPLIB
66{
67
68//=============================================================================================================
77{
78 Q_OBJECT
79
80public:
81 //=========================================================================================================
89 explicit FwdSettingsView(const QString& sSettingsPath = "",
90 QWidget* parent = 0,
91 Qt::WindowFlags f = Qt::Widget);
92
94
95 //=========================================================================================================
102
103 //=========================================================================================================
110 void setRecomputationStatus(int iStatus);
111
112 //=========================================================================================================
119
120 //=========================================================================================================
126 int getClusterNumber();
127
128 //=========================================================================================================
132 void showAtlasDirDialog();
133
134 //=========================================================================================================
144
146 FIFFLIB::fiff_int_t iCoordFrame,
147 int iNSource,
148 int iNChan,
149 int iNSpaces);
150
151 //=========================================================================================================
157
158 void setClusteredInformation(int iNSource);
159
160 //=========================================================================================================
166
167 void onClusteringStatusChanged(bool bChecked);
168
169 //=========================================================================================================
173 void saveSettings();
174
175 //=========================================================================================================
179 void loadSettings();
180
181 //=========================================================================================================
185 void clearView();
186
187protected:
188 //=========================================================================================================
194 void updateGuiMode(GuiMode mode);
195
196 //=========================================================================================================
203
205
206 Ui::FwdSettingsViewWidget* m_pUi;
207
209
210signals:
211 //=========================================================================================================
217 void recompStatusChanged(bool bChecked);
218
219 //=========================================================================================================
225 void clusteringStatusChanged(bool bChecked);
226
227 //=========================================================================================================
234 void atlasDirChanged(const QString& sDirPath,
235 const FSLIB::FsAnnotationSet::SPtr pAnnotationSet);
236
237 //=========================================================================================================
242
243 //=========================================================================================================
249 void clusterNumberChanged(int iNCluster);
250};
251
252//=============================================================================================================
253// INLINE DEFINITIONS
254//=============================================================================================================
255
256} // NAMESPACE
257
258#endif // FWDSETTINGSVIEW_H
Primitive scalar typedefs and forward-compatible aliases backing the FIFF type system.
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
Bi-hemispheric pair of FreeSurfer annotations (lh + rh) for one parcellation atlas.
FreeSurfer surface, annotation and parcellation I/O for mne-cpp.
qint32 fiff_int_t
Definition fiff_types.h:86
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