MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The ArtifactSettingsView class provides an artifact rejection settings view. More...
#include <artifactsettingsview.h>
Public Types | |
typedef QSharedPointer< ArtifactSettingsView > | SPtr |
typedef QSharedPointer< ArtifactSettingsView > | ConstSPtr |
Public Types inherited from DISPLIB::AbstractView | |
enum | StyleMode { Default, Dark } |
enum | GuiMode { Clinical, Research } |
enum | ProcessingMode { RealTime, Offline } |
typedef QSharedPointer< AbstractView > | SPtr |
typedef QSharedPointer< const AbstractView > | ConstSPtr |
Signals | |
void | changeArtifactThreshold (const QMap< QString, double > &mapThresholds) |
Signals inherited from DISPLIB::AbstractView | |
void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
ArtifactSettingsView (const QString &sSettingsPath="", const QList< FIFFLIB::FiffChInfo > &fiffChInfoList=QList< FIFFLIB::FiffChInfo >(), QWidget *parent=Q_NULLPTR) | |
~ArtifactSettingsView () | |
void | setChInfo (const QList< FIFFLIB::FiffChInfo > &fiffChInfoList) |
QMap< QString, double > | getThresholdMap () |
void | setThresholdMap (const QMap< QString, double > &mapThresholds) |
bool | getDoArtifactThresholdRejection () |
void | saveSettings () |
void | loadSettings () |
void | clearView () |
Public Member Functions inherited from DISPLIB::AbstractView | |
AbstractView (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
virtual void | setGuiMode (GuiMode mode) |
virtual void | setProcessingMode (ProcessingMode mode) |
Protected Member Functions | |
void | updateGuiMode (GuiMode mode) |
void | updateProcessingMode (ProcessingMode mode) |
void | redrawGUI () |
void | onChangeArtifactThreshold () |
Protected Attributes | |
QMap< QString, QDoubleSpinBox * > | m_mapChThresholdsDoubleSpinBoxes |
QMap< QString, QSpinBox * > | m_mapChThresholdsSpinBoxes |
QMap< QString, double > | m_mapThresholdsFirst |
QMap< QString, int > | m_mapThresholdsSecond |
QMap< QString, double > | m_mapThresholds |
QList< FIFFLIB::FiffChInfo > | m_fiffChInfoList |
bool | m_bDoArtifactThresholdReduction |
QPointer< QCheckBox > | m_pArtifactRejectionCheckBox |
Protected Attributes inherited from DISPLIB::AbstractView | |
bool | m_bResearchModeIsActive |
bool | m_bOfflineModeIsActive |
QString | m_sSettingsPath |
The ArtifactSettingsView class provides an artifact rejection settings view.
DECLARE CLASS ArtifactSettingsView
Definition at line 88 of file artifactsettingsview.h.
typedef QSharedPointer<ArtifactSettingsView> DISPLIB::ArtifactSettingsView::ConstSPtr |
Const shared pointer type for AveragingAdjustmentWidget.
Definition at line 94 of file artifactsettingsview.h.
typedef QSharedPointer<ArtifactSettingsView> DISPLIB::ArtifactSettingsView::SPtr |
Shared pointer type for AveragingAdjustmentWidget.
Definition at line 93 of file artifactsettingsview.h.
ArtifactSettingsView::~ArtifactSettingsView | ( | ) |
Destroys the ArtifactSettingsView.
Definition at line 89 of file artifactsettingsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 364 of file artifactsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 165 of file artifactsettingsview.cpp.
|
protected |
Redraw the GUI.
Definition at line 237 of file artifactsettingsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 135 of file artifactsettingsview.cpp.
|
protectedvirtual |
Update the views GUI based on the set GuiMode (Clinical=0, Research=1).
[in] | mode | The new mode (Clinical=0, Research=1). |
Implements DISPLIB::AbstractView.
Definition at line 213 of file artifactsettingsview.cpp.
|
protectedvirtual |
Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).
[in] | mode | The new mode (RealTime=0, Offline=1). |
Implements DISPLIB::AbstractView.
Definition at line 225 of file artifactsettingsview.cpp.