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

User GUI control for Covariance estimation. More...

#include <covariancesettingsview.h>

Public Types

typedef QSharedPointer< CovarianceSettingsViewSPtr
 
typedef QSharedPointer< CovarianceSettingsViewConstSPtr
 
- 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 samplesChanged (int iSamples)
 
- Signals inherited from DISPLIB::AbstractView
void guiStyleChanged (DISPLIB::AbstractView::StyleMode style)
 

Public Member Functions

 CovarianceSettingsView (const QString &sSettingsPath="", QWidget *parent=0)
 
 ~CovarianceSettingsView ()
 
void setCurrentSamples (int iSamples)
 
void setMinSamples (int iSamples)
 
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)
 

Additional Inherited Members

- Protected Attributes inherited from DISPLIB::AbstractView
bool m_bResearchModeIsActive
 
bool m_bOfflineModeIsActive
 
QString m_sSettingsPath
 

Detailed Description

User GUI control for Covariance estimation.

User GUI control for Covariance estimation.

Definition at line 74 of file covariancesettingsview.h.

Inheritance diagram for DISPLIB::CovarianceSettingsView:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for CovarianceAdjustmentWidget.

Definition at line 80 of file covariancesettingsview.h.

◆ SPtr

Shared pointer type for CovarianceAdjustmentWidget.

Definition at line 79 of file covariancesettingsview.h.

Constructor & Destructor Documentation

◆ ~CovarianceSettingsView()

CovarianceSettingsView::~CovarianceSettingsView ( )

Destroys the CovarianceSettingsView.

Definition at line 92 of file covariancesettingsview.cpp.

Member Function Documentation

◆ clearView()

void CovarianceSettingsView::clearView ( )
virtual

Clears the view

Implements DISPLIB::AbstractView.

Definition at line 162 of file covariancesettingsview.cpp.

◆ loadSettings()

void CovarianceSettingsView::loadSettings ( )
virtual

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

Implements DISPLIB::AbstractView.

Definition at line 126 of file covariancesettingsview.cpp.

◆ saveSettings()

void CovarianceSettingsView::saveSettings ( )
virtual

Saves all important settings of this view via QSettings.

Implements DISPLIB::AbstractView.

Definition at line 114 of file covariancesettingsview.cpp.

◆ setCurrentSamples()

void CovarianceSettingsView::setCurrentSamples ( int  iSamples)

Set current samples to gather until a new covariance is calculated.

Parameters
[in]iSamplesnew number samples.

Definition at line 99 of file covariancesettingsview.cpp.

◆ setMinSamples()

void CovarianceSettingsView::setMinSamples ( int  iSamples)

Set minimum number of samples to gather until a new covariance is calculated.

Parameters
[in]iSamplesnew minimum number of samples.

Definition at line 106 of file covariancesettingsview.cpp.

◆ updateGuiMode()

void CovarianceSettingsView::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 138 of file covariancesettingsview.cpp.

◆ updateProcessingMode()

void CovarianceSettingsView::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 150 of file covariancesettingsview.cpp.


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