MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DISPLIB::ArtifactSettingsView Class Reference

The ArtifactSettingsView class provides an artifact rejection settings view. More...

#include <artifactsettingsview.h>

Public Types

typedef QSharedPointer< ArtifactSettingsViewSPtr
 
typedef QSharedPointer< ArtifactSettingsViewConstSPtr
 
- Public Types inherited from DISPLIB::AbstractView
enum  StyleMode { Default, Dark }
 
enum  GuiMode { Clinical, Research }
 
enum  ProcessingMode { RealTime, Offline }
 
typedef QSharedPointer< AbstractViewSPtr
 
typedef QSharedPointer< const AbstractViewConstSPtr
 

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::FiffChInfom_fiffChInfoList
 
bool m_bDoArtifactThresholdReduction
 
QPointer< QCheckBox > m_pArtifactRejectionCheckBox
 
- Protected Attributes inherited from DISPLIB::AbstractView
bool m_bResearchModeIsActive
 
bool m_bOfflineModeIsActive
 
QString m_sSettingsPath
 

Detailed Description

The ArtifactSettingsView class provides an artifact rejection settings view.

DECLARE CLASS ArtifactSettingsView

Definition at line 88 of file artifactsettingsview.h.

Inheritance diagram for DISPLIB::ArtifactSettingsView:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for AveragingAdjustmentWidget.

Definition at line 94 of file artifactsettingsview.h.

◆ SPtr

Shared pointer type for AveragingAdjustmentWidget.

Definition at line 93 of file artifactsettingsview.h.

Constructor & Destructor Documentation

◆ ~ArtifactSettingsView()

ArtifactSettingsView::~ArtifactSettingsView ( )

Destroys the ArtifactSettingsView.

Definition at line 89 of file artifactsettingsview.cpp.

Member Function Documentation

◆ clearView()

void ArtifactSettingsView::clearView ( )
virtual

Clears the view

Implements DISPLIB::AbstractView.

Definition at line 364 of file artifactsettingsview.cpp.

◆ loadSettings()

void ArtifactSettingsView::loadSettings ( )
virtual

Loads and inits all important settings of this view via QSettings.

Implements DISPLIB::AbstractView.

Definition at line 165 of file artifactsettingsview.cpp.

◆ redrawGUI()

void ArtifactSettingsView::redrawGUI ( )
protected

Redraw the GUI.

Definition at line 237 of file artifactsettingsview.cpp.

◆ saveSettings()

void ArtifactSettingsView::saveSettings ( )
virtual

Saves all important settings of this view via QSettings.

Implements DISPLIB::AbstractView.

Definition at line 135 of file artifactsettingsview.cpp.

◆ updateGuiMode()

void ArtifactSettingsView::updateGuiMode ( GuiMode  mode)
protectedvirtual

Update the views GUI based on the set GuiMode (Clinical=0, Research=1).

Parameters
[in]modeThe new mode (Clinical=0, Research=1).

Implements DISPLIB::AbstractView.

Definition at line 213 of file artifactsettingsview.cpp.

◆ updateProcessingMode()

void ArtifactSettingsView::updateProcessingMode ( ProcessingMode  mode)
protectedvirtual

Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).

Parameters
[in]modeThe new mode (RealTime=0, Offline=1).

Implements DISPLIB::AbstractView.

Definition at line 225 of file artifactsettingsview.cpp.


The documentation for this class was generated from the following files: