|
MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The ProjectorsView class provides a view to select projectors. More...
#include <projectorsview.h>
Public Types | |
| typedef QSharedPointer< ProjectorsView > | SPtr |
| typedef QSharedPointer< const ProjectorsView > | 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 | projSelectionChanged (const QList< FIFFLIB::FiffProj > &projs) |
Signals inherited from DISPLIB::AbstractView | |
| void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
| ProjectorsView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| ~ProjectorsView () | |
| QList< FIFFLIB::FiffProj > | getProjectors () const |
| void | setProjectors (const QList< FIFFLIB::FiffProj > &projs) |
| void | redrawGUI () |
| 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 | onEnableDisableAllProj (bool status) |
| void | onCheckProjStatusChanged () |
Protected Attributes | |
| QList< QCheckBox * > | m_qListProjCheckBox |
| QCheckBox * | m_pEnableDisableProjectors |
| QList< FIFFLIB::FiffProj > | m_pProjs |
| QString | m_sSettingsPath |
| QMap< QString, bool > | m_mapProjActive |
Protected Attributes inherited from DISPLIB::AbstractView | |
| bool | m_bResearchModeIsActive |
| bool | m_bOfflineModeIsActive |
| QString | m_sSettingsPath |
The ProjectorsView class provides a view to select projectors.
DECLARE CLASS ProjectorsView
Definition at line 79 of file projectorsview.h.

| typedef QSharedPointer<const ProjectorsView> DISPLIB::ProjectorsView::ConstSPtr |
Const shared pointer type for ProjectorsView.
Definition at line 85 of file projectorsview.h.
| typedef QSharedPointer<ProjectorsView> DISPLIB::ProjectorsView::SPtr |
Shared pointer type for ProjectorsView.
Definition at line 84 of file projectorsview.h.
| ProjectorsView::ProjectorsView | ( | const QString & | sSettingsPath = "", |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
Constructs a ProjectorsView which is a child of parent.
| [in] | parent | parent of widget. |
Definition at line 65 of file projectorsview.cpp.
| ProjectorsView::~ProjectorsView | ( | ) |
Destroys the ProjectorsView.
Definition at line 82 of file projectorsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 277 of file projectorsview.cpp.
| QList< FIFFLIB::FiffProj > ProjectorsView::getProjectors | ( | ) | const |
Get the current projectors
Definition at line 89 of file projectorsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 185 of file projectorsview.cpp.
|
protected |
Slot called when the projector check state changes
Definition at line 253 of file projectorsview.cpp.
|
protected |
Slot called when user enables/disables all projectors
Definition at line 228 of file projectorsview.cpp.
|
signal |
Emit this signal whenever the user changes the projections.
| void ProjectorsView::redrawGUI | ( | ) |
Redraw the view.
Definition at line 113 of file projectorsview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 164 of file projectorsview.cpp.
| void ProjectorsView::setProjectors | ( | const QList< FIFFLIB::FiffProj > & | projs | ) |
Set the current projectors
| [in] | projs | The new projectors. |
Definition at line 96 of file projectorsview.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 204 of file projectorsview.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 216 of file projectorsview.cpp.
|
protected |
Holds the enable disable all check box.
Definition at line 173 of file projectorsview.h.
|
protected |
The current projectors.
Definition at line 175 of file projectorsview.h.
|
protected |
List of projection CheckBox.
Definition at line 172 of file projectorsview.h.
|
protected |
The settings path to store the GUI settings to.
Definition at line 177 of file projectorsview.h.
1.8.17