MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The MinimumNormSettingsView class provides a view to control settings for estiamting functional connectivity. More...
#include <minimumnormsettingsview.h>
Public Types | |
typedef QSharedPointer< MinimumNormSettingsView > | SPtr |
typedef QSharedPointer< const MinimumNormSettingsView > | 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 | 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 |
The MinimumNormSettingsView class provides a view to control settings for estiamting functional connectivity.
DECLARE CLASS MinimumNormSettingsView
Definition at line 78 of file minimumnormsettingsview.h.
typedef QSharedPointer<const MinimumNormSettingsView> DISPLIB::MinimumNormSettingsView::ConstSPtr |
Const shared pointer type for MinimumNormSettingsView.
Definition at line 84 of file minimumnormsettingsview.h.
typedef QSharedPointer<MinimumNormSettingsView> DISPLIB::MinimumNormSettingsView::SPtr |
Shared pointer type for MinimumNormSettingsView.
Definition at line 83 of file minimumnormsettingsview.h.
MinimumNormSettingsView::MinimumNormSettingsView | ( | const QString & | sSettingsPath = "" , |
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = Qt::Widget |
||
) |
Constructs a MinimumNormSettingsView which is a child of parent.
[in] | parent | parent of widget. |
Definition at line 63 of file minimumnormsettingsview.cpp.
MinimumNormSettingsView::~MinimumNormSettingsView | ( | ) |
Destroys the MinimumNormSettingsView.
Definition at line 90 of file minimumnormsettingsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 178 of file minimumnormsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 121 of file minimumnormsettingsview.cpp.
|
signal |
Emit signal whenever the method changed.
[in] | method | The new method. |
|
protected |
Slot called when the method changed.
[in] | method | The new method. |
Definition at line 157 of file minimumnormsettingsview.cpp.
|
protected |
Slot called when the time point changes.
Definition at line 171 of file minimumnormsettingsview.cpp.
|
protected |
Slot called when the trigger type changed.
[in] | sTriggerType | The new trigger type. |
Definition at line 164 of file minimumnormsettingsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 109 of file minimumnormsettingsview.cpp.
void MinimumNormSettingsView::setTriggerTypes | ( | const QStringList & | lTriggerTypes | ) |
Destroys the MinimumNormSettingsView.
[in] | lTriggerTypes | The new trigger types. |
Definition at line 98 of file minimumnormsettingsview.cpp.
|
signal |
Emit signal whenever the time point changed.
[in] | iTimePoint | The new time point. |
|
signal |
Emit signal whenever the trigger type changed.
[in] | triggerType | The new trigger type. |
|
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 133 of file minimumnormsettingsview.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 145 of file minimumnormsettingsview.cpp.