35 #ifndef ARTIFACTSETTINGSVIEW_H
36 #define ARTIFACTSETTINGSVIEW_H
42 #include "../disp_global.h"
64 class AverageSettingsViewWidget;
93 typedef QSharedPointer<ArtifactSettingsView>
SPtr;
94 typedef QSharedPointer<ArtifactSettingsView>
ConstSPtr;
97 const QList<FIFFLIB::FiffChInfo>& fiffChInfoList = QList<FIFFLIB::FiffChInfo>(),
98 QWidget *parent = Q_NULLPTR);
106 void setChInfo(
const QList<FIFFLIB::FiffChInfo>& fiffChInfoList);
108 QMap<QString,double> getThresholdMap();
110 void setThresholdMap(
const QMap<QString,double>& mapThresholds);
112 bool getDoArtifactThresholdRejection();
139 void updateGuiMode(GuiMode mode);
147 void updateProcessingMode(ProcessingMode mode);
155 void onChangeArtifactThreshold();
157 QMap<QString,QDoubleSpinBox*> m_mapChThresholdsDoubleSpinBoxes;
158 QMap<QString,QSpinBox*> m_mapChThresholdsSpinBoxes;
160 QMap<QString,double> m_mapThresholdsFirst;
161 QMap<QString,int> m_mapThresholdsSecond;
162 QMap<QString,double> m_mapThresholds;
164 QList<FIFFLIB::FiffChInfo> m_fiffChInfoList;
166 bool m_bDoArtifactThresholdReduction;
168 QPointer<QCheckBox> m_pArtifactRejectionCheckBox;
171 void changeArtifactThreshold(
const QMap<QString,double>& mapThresholds);
175 #endif // ARTIFACTSETTINGSVIEW_H