MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The SpharaSettingsView class provides a view to select the SPHARA settings. More...
#include <spharasettingsview.h>
Public Types | |
typedef QSharedPointer< SpharaSettingsView > | SPtr |
typedef QSharedPointer< const SpharaSettingsView > | 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 | spharaActivationChanged (bool state) |
void | spharaOptionsChanged (const QString &sSytemType, int nBaseFctsFirst, int nBaseFctsSecond) |
Signals inherited from DISPLIB::AbstractView | |
void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
SpharaSettingsView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
~SpharaSettingsView () | |
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 | onSpharaButtonClicked (bool state) |
void | onSpharaOptionsChanged () |
Protected Attributes | |
Ui::SpharaSettingsViewWidget * | m_pUi |
Protected Attributes inherited from DISPLIB::AbstractView | |
bool | m_bResearchModeIsActive |
bool | m_bOfflineModeIsActive |
QString | m_sSettingsPath |
The SpharaSettingsView class provides a view to select the SPHARA settings.
DECLARE CLASS SpharaSettingsView
Definition at line 78 of file spharasettingsview.h.
typedef QSharedPointer<const SpharaSettingsView> DISPLIB::SpharaSettingsView::ConstSPtr |
Const shared pointer type for SpharaSettingsView.
Definition at line 84 of file spharasettingsview.h.
typedef QSharedPointer<SpharaSettingsView> DISPLIB::SpharaSettingsView::SPtr |
Shared pointer type for SpharaSettingsView.
Definition at line 83 of file spharasettingsview.h.
SpharaSettingsView::SpharaSettingsView | ( | const QString & | sSettingsPath = "" , |
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = Qt::Widget |
||
) |
Constructs a SpharaSettingsView which is a child of parent.
[in] | parent | parent of widget. |
Definition at line 63 of file spharasettingsview.cpp.
SpharaSettingsView::~SpharaSettingsView | ( | ) |
Destroys the SpharaSettingsView.
Definition at line 94 of file spharasettingsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 196 of file spharasettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 114 of file spharasettingsview.cpp.
|
protected |
Slot called when the sphara tool was toggled
Definition at line 150 of file spharasettingsview.cpp.
|
protected |
Slot called when the user changes the sphara options
Definition at line 157 of file spharasettingsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 102 of file spharasettingsview.cpp.
|
signal |
Emit this signal whenever the user toggled the SPHARA operator.
|
signal |
Emit this signal whenever the user changes the SPHARA operator.
|
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 126 of file spharasettingsview.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 138 of file spharasettingsview.cpp.