|
MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The SpectrumView class provides a spectrum view. More...
#include <spectrumview.h>
Public Types | |
| typedef QSharedPointer< SpectrumView > | SPtr |
| typedef QSharedPointer< const SpectrumView > | 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 | sendMouseLoc (int row, int x, int y, QRect visRect) |
Signals inherited from DISPLIB::AbstractView | |
| void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
| SpectrumView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| ~SpectrumView () | |
| void | init (QSharedPointer< FIFFLIB::FiffInfo > &info, int iScaleType) |
| void | addData (const Eigen::MatrixXd &data) |
| void | setBoundaries (int iLower, int iUpper) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| 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) |
Protected Attributes | |
| QPointer< QTableView > | m_pTableView |
| QPointer< DISPLIB::FrequencySpectrumDelegate > | m_pFSDelegate |
| QPointer< DISPLIB::FrequencySpectrumModel > | m_pFSModel |
Protected Attributes inherited from DISPLIB::AbstractView | |
| bool | m_bResearchModeIsActive |
| bool | m_bOfflineModeIsActive |
| QString | m_sSettingsPath |
The SpectrumView class provides a spectrum view.
DECLARE CLASS SpectrumView
Definition at line 87 of file spectrumview.h.

| typedef QSharedPointer<const SpectrumView> DISPLIB::SpectrumView::ConstSPtr |
Const shared pointer type for SpectrumView.
Definition at line 93 of file spectrumview.h.
| typedef QSharedPointer<SpectrumView> DISPLIB::SpectrumView::SPtr |
Shared pointer type for SpectrumView.
Definition at line 92 of file spectrumview.h.
| SpectrumView::SpectrumView | ( | const QString & | sSettingsPath = "", |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
Constructs a SpectrumView which is a child of parent.
| [in] | parent | parent of widget. |
Definition at line 69 of file spectrumview.cpp.
| SpectrumView::~SpectrumView | ( | ) |
Destroys the ArtifactSettingsView.
Definition at line 93 of file spectrumview.cpp.
| void SpectrumView::addData | ( | const Eigen::MatrixXd & | data | ) |
Adds data to the underlying model.
| [in] | data | The new data. |
Definition at line 144 of file spectrumview.cpp.
|
virtual |
|
virtual |
The event filter
| [in] | watched. | |
| [in] | event. |
Definition at line 159 of file spectrumview.cpp.
| void SpectrumView::init | ( | QSharedPointer< FIFFLIB::FiffInfo > & | info, |
| int | iScaleType | ||
| ) |
Initializes the view based on the FiffInfo and scale type.
| [in] | info | The FiffInfo. |
| [in] | iScaleType | The scale type. |
Definition at line 100 of file spectrumview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 193 of file spectrumview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 181 of file spectrumview.cpp.
|
signal |
Signals for sending the mouse location to the delegate
| void SpectrumView::setBoundaries | ( | int | iLower, |
| int | iUpper | ||
| ) |
Sets the boundaries.
| [in] | iLower | The lower boundary. |
| [in] | iUpper | The upper boundary. |
Definition at line 151 of file spectrumview.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 205 of file spectrumview.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 217 of file spectrumview.cpp.
|
protected |
Frequency spectrum delegate.
Definition at line 185 of file spectrumview.h.
|
protected |
Frequency spectrum model.
Definition at line 186 of file spectrumview.h.
|
protected |
The QTableView being part of the model/view framework of Qt.
Definition at line 184 of file spectrumview.h.
1.8.17