MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The ScalingView class provides a view to select the scaling for different channels modalities. More...
#include <scalingview.h>
Public Types | |
typedef QSharedPointer< ScalingView > | SPtr |
typedef QSharedPointer< const ScalingView > | 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 | scalingChanged (const QMap< qint32, float > &scalingMap) |
Signals inherited from DISPLIB::AbstractView | |
void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
ScalingView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget, const QStringList &lChannelsToShow=QStringList()<< "all") | |
~ScalingView () | |
QMap< qint32, float > | getScaleMap () const |
void | setScaleMap (const QMap< qint32, float > &qMapChScaling) |
void | saveSettings () override |
void | loadSettings () override |
void | clearView () override |
void | setMagGradLink (int l) |
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) |
Additional Inherited Members | |
Protected Attributes inherited from DISPLIB::AbstractView | |
bool | m_bResearchModeIsActive |
bool | m_bOfflineModeIsActive |
QString | m_sSettingsPath |
The ScalingView class provides a view to select the scaling for different channels modalities.
DECLARE CLASS ScalingView
Definition at line 114 of file scalingview.h.
typedef QSharedPointer<const ScalingView> DISPLIB::ScalingView::ConstSPtr |
Const shared pointer type for ScalingView.
Definition at line 120 of file scalingview.h.
typedef QSharedPointer<ScalingView> DISPLIB::ScalingView::SPtr |
Shared pointer type for ScalingView.
Definition at line 119 of file scalingview.h.
ScalingView::ScalingView | ( | const QString & | sSettingsPath = "" , |
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = Qt::Widget , |
||
const QStringList & | lChannelsToShow = QStringList() << "all" |
||
) |
Constructs a ScalingView which is a child of parent.
[in] | parent | Parent of widget. |
Definition at line 156 of file scalingview.cpp.
ScalingView::~ScalingView | ( | ) |
Destroys the ScalingView.
Definition at line 182 of file scalingview.cpp.
|
overridevirtual |
QMap< qint32, float > ScalingView::getScaleMap | ( | ) | const |
Get the current scaling map
Definition at line 218 of file scalingview.cpp.
|
overridevirtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 273 of file scalingview.cpp.
|
overridevirtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 234 of file scalingview.cpp.
|
signal |
Emit this signal whenever the scaling sliders or spin boxes changed.
[in] | scalingMap | this is a list of scaling values ordered by integer keys. These keys are resolved with the use of defined macros with names of channel-types, vendors, etc. |
void ScalingView::setMagGradLink | ( | int | l | ) |
Link the Magnetometers to the Gradiometers scale.
[in] | l | Set the link between MAGs and GRADs active or inactive. |
Definition at line 459 of file scalingview.cpp.
void ScalingView::setScaleMap | ( | const QMap< qint32, float > & | qMapChScaling | ) |
Set the current scaling map. This also recreates the GUI.
Definition at line 225 of file scalingview.cpp.