MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The AveragingSettingsView class provides a averaging settings view. More...
#include <averagingsettingsview.h>
Public Types | |
typedef QSharedPointer< AveragingSettingsView > | SPtr |
typedef QSharedPointer< AveragingSettingsView > | 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 | changePreStim (qint32 value) |
void | changePostStim (qint32 value) |
void | changeBaselineFrom (qint32 value) |
void | changeBaselineTo (qint32 value) |
void | changeNumAverages (qint32 value) |
void | changeStimChannel (const QString &sStimName) |
void | changeBaselineActive (bool state) |
void | resetAverage (bool state) |
void | changeAverageMode (qint32 index) |
void | calculateAverage (bool state) |
void | changeDropActive (bool state) |
void | setAutoCompute (bool state) |
Signals inherited from DISPLIB::AbstractView | |
void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
AveragingSettingsView (const QString &sSettingsPath="", const QMap< QString, int > &mapStimChsIndexNames=QMap< QString, int >(), QWidget *parent=Q_NULLPTR) | |
~AveragingSettingsView () | |
void | setStimChannels (const QMap< QString, int > &mapStimChsIndexNames) |
QString | getCurrentStimCh () |
bool | getDoBaselineCorrection () |
int | getNumAverages () |
int | getBaselineFromSeconds () |
int | getBaselineToSeconds () |
int | getStimChannelIdx () |
int | getPreStimMSeconds () |
int | getPostStimMSeconds () |
QString | getCurrentSelectGroup () |
void | setDetectedEpochs (const FIFFLIB::FiffEvokedSet &evokedSet) |
bool | getAutoComputeStatus () |
void | clearSelectionGroup () |
void | saveSettings () |
void | loadSettings () |
void | updateGuiMode (GuiMode mode) |
void | updateProcessingMode (ProcessingMode mode) |
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 | redrawGUI () |
void | onChangePreStim () |
void | onChangePostStim () |
void | onChangeBaselineFrom () |
void | onChangeBaselineTo () |
void | onChangeNumAverages () |
void | onChangeStimChannel () |
void | onChangeGroupSelect (int iIndex) |
Protected Attributes | |
Ui::AverageSettingsViewWidget * | m_pUi |
QString | m_sCurrentStimChan |
QMap< QString, int > | m_mapStimChsIndexNames |
int | m_iNumAverages |
int | m_iPreStimSeconds |
int | m_iPostStimSeconds |
int | m_iBaselineFromSeconds |
int | m_iBaselineToSeconds |
bool | m_bDoBaselineCorrection |
Protected Attributes inherited from DISPLIB::AbstractView | |
bool | m_bResearchModeIsActive |
bool | m_bOfflineModeIsActive |
QString | m_sSettingsPath |
The AveragingSettingsView class provides a averaging settings view.
DECLARE CLASS AveragingSettingsView
Definition at line 84 of file averagingsettingsview.h.
typedef QSharedPointer<AveragingSettingsView> DISPLIB::AveragingSettingsView::ConstSPtr |
Const shared pointer type for AveragingAdjustmentWidget.
Definition at line 90 of file averagingsettingsview.h.
typedef QSharedPointer<AveragingSettingsView> DISPLIB::AveragingSettingsView::SPtr |
Shared pointer type for AveragingAdjustmentWidget.
Definition at line 89 of file averagingsettingsview.h.
AveragingSettingsView::~AveragingSettingsView | ( | ) |
Destroys the AveragingSettingsView.
Definition at line 86 of file averagingsettingsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 446 of file averagingsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 298 of file averagingsettingsview.cpp.
|
protected |
Redraw the GUI.
Definition at line 172 of file averagingsettingsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 278 of file averagingsettingsview.cpp.
|
virtual |
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 327 of file averagingsettingsview.cpp.
|
virtual |
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 339 of file averagingsettingsview.cpp.
|
protected |
Holds the user interface for the AverageSettingsViewWidget.
Definition at line 177 of file averagingsettingsview.h.