MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The AbstractView class provides the base calss for all Disp viewers. More...
#include <abstractview.h>
Public Types | |
enum | StyleMode { Default, Dark } |
enum | GuiMode { Clinical, Research } |
enum | ProcessingMode { RealTime, Offline } |
typedef QSharedPointer< AbstractView > | SPtr |
typedef QSharedPointer< const AbstractView > | ConstSPtr |
Signals | |
void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
AbstractView (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
virtual void | setGuiMode (GuiMode mode) |
virtual void | setProcessingMode (ProcessingMode mode) |
virtual void | saveSettings ()=0 |
virtual void | loadSettings ()=0 |
virtual void | updateGuiMode (GuiMode mode)=0 |
virtual void | updateProcessingMode (ProcessingMode mode)=0 |
virtual void | clearView ()=0 |
Protected Attributes | |
bool | m_bResearchModeIsActive |
bool | m_bOfflineModeIsActive |
QString | m_sSettingsPath |
The AbstractView class provides the base calss for all Disp viewers.
DECLARE CLASS AbstractView
Definition at line 75 of file abstractview.h.
typedef QSharedPointer<const AbstractView> DISPLIB::AbstractView::ConstSPtr |
Const shared pointer type for AbstractView.
Definition at line 81 of file abstractview.h.
typedef QSharedPointer<AbstractView> DISPLIB::AbstractView::SPtr |
Shared pointer type for AbstractView.
Definition at line 80 of file abstractview.h.
AbstractView::AbstractView | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = Qt::Widget |
||
) |
Constructs a AbstractView which is a child of parent.
[in] | parent | parent of widget. |
Definition at line 60 of file abstractview.cpp.
|
pure virtual |
Clears the view
Implemented in DISPLIB::ScalingView, DISPLIB::RtFiffRawView, DISPLIB::CoregSettingsView, DISPLIB::ChannelSelectionView, DISPLIB::Control3DView, DISPLIB::AverageLayoutView, DISPLIB::HpiSettingsView, DISPLIB::FiffRawViewSettings, DISPLIB::FilterDesignView, DISPLIB::ConnectivitySettingsView, DISPLIB::FwdSettingsView, DISPLIB::SpectrumView, DISPLIB::CompensatorView, DISPLIB::AveragingSettingsView, DISPLIB::ProjectSettingsView, DISPLIB::SpectrumSettingsView, DISPLIB::AverageSelectionView, DISPLIB::TriggerDetectionView, DISPLIB::FilterSettingsView, DISPLIB::DipoleFitView, DISPLIB::BidsView, DISPLIB::ProjectorsView, DISPLIB::ModalitySelectionView, DISPLIB::ProgressView, DISPLIB::ArtifactSettingsView, DISPLIB::MinimumNormSettingsView, DISPLIB::CovarianceSettingsView, DISPLIB::SpharaSettingsView, DISPLIB::TfSettingsView, and DISPLIB::ApplyToView.
|
signal |
Signal emited whenever the gui style mode changes.
|
pure virtual |
Loads and inits all important settings of this view via QSettings.
Implemented in DISPLIB::ScalingView, DISPLIB::RtFiffRawView, DISPLIB::AverageLayoutView, DISPLIB::ChannelSelectionView, DISPLIB::HpiSettingsView, DISPLIB::FiffRawViewSettings, DISPLIB::FilterDesignView, DISPLIB::ConnectivitySettingsView, DISPLIB::FwdSettingsView, DISPLIB::Control3DView, DISPLIB::SpectrumView, DISPLIB::ProjectSettingsView, DISPLIB::AverageSelectionView, DISPLIB::TriggerDetectionView, DISPLIB::CompensatorView, DISPLIB::AveragingSettingsView, DISPLIB::FilterSettingsView, DISPLIB::ProjectorsView, DISPLIB::ModalitySelectionView, DISPLIB::ArtifactSettingsView, DISPLIB::MinimumNormSettingsView, DISPLIB::BidsView, DISPLIB::CovarianceSettingsView, DISPLIB::SpectrumSettingsView, DISPLIB::CoregSettingsView, DISPLIB::SpharaSettingsView, DISPLIB::TfSettingsView, DISPLIB::ApplyToView, DISPLIB::DipoleFitView, and DISPLIB::ProgressView.
|
pure virtual |
Saves all important settings of this view via QSettings.
Implemented in DISPLIB::ScalingView, DISPLIB::RtFiffRawView, DISPLIB::AverageLayoutView, DISPLIB::ChannelSelectionView, DISPLIB::HpiSettingsView, DISPLIB::FiffRawViewSettings, DISPLIB::FilterDesignView, DISPLIB::ConnectivitySettingsView, DISPLIB::FwdSettingsView, DISPLIB::Control3DView, DISPLIB::SpectrumView, DISPLIB::ProjectSettingsView, DISPLIB::AverageSelectionView, DISPLIB::TriggerDetectionView, DISPLIB::CompensatorView, DISPLIB::AveragingSettingsView, DISPLIB::FilterSettingsView, DISPLIB::ProjectorsView, DISPLIB::ModalitySelectionView, DISPLIB::ArtifactSettingsView, DISPLIB::MinimumNormSettingsView, DISPLIB::BidsView, DISPLIB::CovarianceSettingsView, DISPLIB::SpectrumSettingsView, DISPLIB::CoregSettingsView, DISPLIB::SpharaSettingsView, DISPLIB::TfSettingsView, DISPLIB::ApplyToView, DISPLIB::DipoleFitView, and DISPLIB::ProgressView.
|
virtual |
Sets the GUI of this view to a specific mode. Clinical = 0, Research = 0.
mode | The new mode. |
Definition at line 68 of file abstractview.cpp.
|
virtual |
Sets the GUI of this view to a specific mode. RealTime = 0, Offline = 0.
mode | The new mode. |
Definition at line 75 of file abstractview.cpp.
|
pure virtual |
Update the views GUI based on the set GuiMode (Clinical=0, Research=1).
mode | The new mode (Clinical=0, Research=1). |
Implemented in DISPLIB::RtFiffRawView, DISPLIB::AverageLayoutView, DISPLIB::FilterDesignView, DISPLIB::HpiSettingsView, DISPLIB::ChannelSelectionView, DISPLIB::FiffRawViewSettings, DISPLIB::ConnectivitySettingsView, DISPLIB::FwdSettingsView, DISPLIB::SpectrumView, DISPLIB::Control3DView, DISPLIB::ProjectSettingsView, DISPLIB::FilterSettingsView, DISPLIB::SpectrumSettingsView, DISPLIB::AverageSelectionView, DISPLIB::TriggerDetectionView, DISPLIB::DipoleFitView, DISPLIB::ProjectorsView, DISPLIB::CompensatorView, DISPLIB::ModalitySelectionView, DISPLIB::AveragingSettingsView, DISPLIB::ArtifactSettingsView, DISPLIB::MinimumNormSettingsView, DISPLIB::CovarianceSettingsView, DISPLIB::BidsView, DISPLIB::SpharaSettingsView, DISPLIB::TfSettingsView, DISPLIB::ApplyToView, DISPLIB::CoregSettingsView, and DISPLIB::ProgressView.
|
pure virtual |
Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).
mode | The new mode (RealTime=0, Offline=1). |
Implemented in DISPLIB::RtFiffRawView, DISPLIB::AverageLayoutView, DISPLIB::FilterDesignView, DISPLIB::HpiSettingsView, DISPLIB::ChannelSelectionView, DISPLIB::FiffRawViewSettings, DISPLIB::ConnectivitySettingsView, DISPLIB::FwdSettingsView, DISPLIB::SpectrumView, DISPLIB::Control3DView, DISPLIB::ProjectSettingsView, DISPLIB::FilterSettingsView, DISPLIB::SpectrumSettingsView, DISPLIB::AverageSelectionView, DISPLIB::TriggerDetectionView, DISPLIB::DipoleFitView, DISPLIB::ProjectorsView, DISPLIB::CompensatorView, DISPLIB::ModalitySelectionView, DISPLIB::AveragingSettingsView, DISPLIB::ArtifactSettingsView, DISPLIB::MinimumNormSettingsView, DISPLIB::CovarianceSettingsView, DISPLIB::BidsView, DISPLIB::SpharaSettingsView, DISPLIB::TfSettingsView, DISPLIB::ApplyToView, DISPLIB::CoregSettingsView, and DISPLIB::ProgressView.
|
protected |
The flag describing whether offline mode of the view is active or not.
Definition at line 167 of file abstractview.h.
|
protected |
The flag describing whether the research mode of the view is active or not.
Definition at line 166 of file abstractview.h.
|
protected |
The settings path to store the GUI settings to.
Definition at line 169 of file abstractview.h.