MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The TfSettingsView class provides a view to control settings for time frequency analysis. More...
#include <tfsettingsview.h>
Public Types | |
typedef QSharedPointer< TfSettingsView > | SPtr |
typedef QSharedPointer< const TfSettingsView > | 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 | numberTrialRowChanged (int iNumberTrial, int iNumberRow) |
Signals inherited from DISPLIB::AbstractView | |
void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
TfSettingsView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
~TfSettingsView () | |
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 | onNumberTrialRowChanged () |
Protected Attributes | |
Ui::TfSettingsViewWidget * | m_pUi |
QString | m_sSettingsPath |
Protected Attributes inherited from DISPLIB::AbstractView | |
bool | m_bResearchModeIsActive |
bool | m_bOfflineModeIsActive |
QString | m_sSettingsPath |
The TfSettingsView class provides a view to control settings for time frequency analysis.
DECLARE CLASS TfSettingsView
Definition at line 78 of file tfsettingsview.h.
typedef QSharedPointer<const TfSettingsView> DISPLIB::TfSettingsView::ConstSPtr |
Const shared pointer type for TfSettingsView.
Definition at line 84 of file tfsettingsview.h.
typedef QSharedPointer<TfSettingsView> DISPLIB::TfSettingsView::SPtr |
Shared pointer type for TfSettingsView.
Definition at line 83 of file tfsettingsview.h.
TfSettingsView::TfSettingsView | ( | const QString & | sSettingsPath = "" , |
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = Qt::Widget |
||
) |
Constructs a TfSettingsView which is a child of parent.
[in] | parent | parent of widget. |
Definition at line 63 of file tfsettingsview.cpp.
TfSettingsView::~TfSettingsView | ( | ) |
Destroys the TfSettingsView.
Definition at line 87 of file tfsettingsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 150 of file tfsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 107 of file tfsettingsview.cpp.
|
signal |
Emit signal whenever trial number changed.
[in] | iNumberTrial | The new trial number. |
[in] | iNumberRow | The new row number. |
|
protected |
Slot called when the trial or row number changed.
Definition at line 142 of file tfsettingsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 96 of file tfsettingsview.cpp.
|
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 118 of file tfsettingsview.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 130 of file tfsettingsview.cpp.
|
protected |
The settings path to store the GUI settings to.
Definition at line 145 of file tfsettingsview.h.