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::MinimumNormSettingsView Class Reference

The MinimumNormSettingsView class provides a view to control settings for estiamting functional connectivity. More...

#include <minimumnormsettingsview.h>

Public Types

typedef QSharedPointer< MinimumNormSettingsViewSPtr
 
typedef QSharedPointer< const MinimumNormSettingsViewConstSPtr
 
- 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 methodChanged (const QString &method)
 
void triggerTypeChanged (const QString &triggerType)
 
void timePointChanged (int iTimePoint)
 
- Signals inherited from DISPLIB::AbstractView
void guiStyleChanged (DISPLIB::AbstractView::StyleMode style)
 

Public Member Functions

 MinimumNormSettingsView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 
 ~MinimumNormSettingsView ()
 
void setTriggerTypes (const QStringList &lTriggerTypes)
 
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 onMethodChanged (const QString &method)
 
void onTriggerTypeChanged (const QString &sTriggerType)
 
void onTimePointValueChanged ()
 

Protected Attributes

Ui::MinimumNormSettingsViewWidget * m_pUi
 
- Protected Attributes inherited from DISPLIB::AbstractView
bool m_bResearchModeIsActive
 
bool m_bOfflineModeIsActive
 
QString m_sSettingsPath
 

Detailed Description

The MinimumNormSettingsView class provides a view to control settings for estiamting functional connectivity.

DECLARE CLASS MinimumNormSettingsView

Definition at line 78 of file minimumnormsettingsview.h.

Inheritance diagram for DISPLIB::MinimumNormSettingsView:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for MinimumNormSettingsView.

Definition at line 84 of file minimumnormsettingsview.h.

◆ SPtr

Shared pointer type for MinimumNormSettingsView.

Definition at line 83 of file minimumnormsettingsview.h.

Constructor & Destructor Documentation

◆ MinimumNormSettingsView()

MinimumNormSettingsView::MinimumNormSettingsView ( const QString &  sSettingsPath = "",
QWidget *  parent = 0,
Qt::WindowFlags  f = Qt::Widget 
)

Constructs a MinimumNormSettingsView which is a child of parent.

Parameters
[in]parentparent of widget.

Definition at line 63 of file minimumnormsettingsview.cpp.

◆ ~MinimumNormSettingsView()

MinimumNormSettingsView::~MinimumNormSettingsView ( )

Destroys the MinimumNormSettingsView.

Definition at line 90 of file minimumnormsettingsview.cpp.

Member Function Documentation

◆ clearView()

void MinimumNormSettingsView::clearView ( )
virtual

Clears the view

Implements DISPLIB::AbstractView.

Definition at line 178 of file minimumnormsettingsview.cpp.

◆ loadSettings()

void MinimumNormSettingsView::loadSettings ( )
virtual

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

Implements DISPLIB::AbstractView.

Definition at line 121 of file minimumnormsettingsview.cpp.

◆ methodChanged

void DISPLIB::MinimumNormSettingsView::methodChanged ( const QString &  method)
signal

Emit signal whenever the method changed.

Parameters
[in]methodThe new method.

◆ onMethodChanged()

void MinimumNormSettingsView::onMethodChanged ( const QString &  method)
protected

Slot called when the method changed.

Parameters
[in]methodThe new method.

Definition at line 157 of file minimumnormsettingsview.cpp.

◆ onTimePointValueChanged()

void MinimumNormSettingsView::onTimePointValueChanged ( )
protected

Slot called when the time point changes.

Definition at line 171 of file minimumnormsettingsview.cpp.

◆ onTriggerTypeChanged()

void MinimumNormSettingsView::onTriggerTypeChanged ( const QString &  sTriggerType)
protected

Slot called when the trigger type changed.

Parameters
[in]sTriggerTypeThe new trigger type.

Definition at line 164 of file minimumnormsettingsview.cpp.

◆ saveSettings()

void MinimumNormSettingsView::saveSettings ( )
virtual

Saves all important settings of this view via QSettings.

Implements DISPLIB::AbstractView.

Definition at line 109 of file minimumnormsettingsview.cpp.

◆ setTriggerTypes()

void MinimumNormSettingsView::setTriggerTypes ( const QStringList &  lTriggerTypes)

Destroys the MinimumNormSettingsView.

Parameters
[in]lTriggerTypesThe new trigger types.

Definition at line 98 of file minimumnormsettingsview.cpp.

◆ timePointChanged

void DISPLIB::MinimumNormSettingsView::timePointChanged ( int  iTimePoint)
signal

Emit signal whenever the time point changed.

Parameters
[in]iTimePointThe new time point.

◆ triggerTypeChanged

void DISPLIB::MinimumNormSettingsView::triggerTypeChanged ( const QString &  triggerType)
signal

Emit signal whenever the trigger type changed.

Parameters
[in]triggerTypeThe new trigger type.

◆ updateGuiMode()

void MinimumNormSettingsView::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 133 of file minimumnormsettingsview.cpp.

◆ updateProcessingMode()

void MinimumNormSettingsView::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 145 of file minimumnormsettingsview.cpp.


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