Tabular picker for active / colour of each averaged condition in the current evoked set. More...
#include <averageselectionview.h>
Public Types | |
| typedef QSharedPointer< AverageSelectionView > | SPtr |
| typedef QSharedPointer< const AverageSelectionView > | 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 | newAverageColorMap (const QSharedPointer< QMap< QString, QColor > > qMapAverageColor) |
| void | newAverageActivationMap (const QSharedPointer< QMap< QString, bool > > qMapAverageActivation) |
| Signals inherited from DISPLIB::AbstractView | |
| void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
| AverageSelectionView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| ~AverageSelectionView () | |
| QSharedPointer< QMap< QString, QColor > > | getAverageColor () const |
| QSharedPointer< QMap< QString, bool > > | getAverageActivation () const |
| void | setAverageColor (const QSharedPointer< QMap< QString, QColor > > qMapAverageColor) |
| void | setAverageActivation (const QSharedPointer< QMap< QString, bool > > qMapAverageActivation) |
| 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 | redrawGUI () |
| void | onAverageSelectionColorChanged () |
Protected Attributes | |
| int | m_iMaxNumAverages |
| QSharedPointer< QMap< QString, QColor > > | m_qMapAverageColor |
| QSharedPointer< QMap< QString, bool > > | m_qMapAverageActivation |
| Protected Attributes inherited from DISPLIB::AbstractView | |
| bool | m_bResearchModeIsActive |
| bool | m_bOfflineModeIsActive |
| QString | m_sSettingsPath |
Tabular picker for active / colour of each averaged condition in the current evoked set.
Emits newAverageActivationMap and newAverageColorMap whenever the user toggles a row or changes a colour; consumers refresh their evoked plots accordingly.
Definition at line 65 of file averageselectionview.h.

| typedef QSharedPointer<const AverageSelectionView> DISPLIB::AverageSelectionView::ConstSPtr |
Const shared pointer type for AverageSelectionView.
Definition at line 71 of file averageselectionview.h.
| typedef QSharedPointer<AverageSelectionView> DISPLIB::AverageSelectionView::SPtr |
Shared pointer type for AverageSelectionView.
Definition at line 70 of file averageselectionview.h.
| AverageSelectionView::AverageSelectionView | ( | const QString & | sSettingsPath = "", |
| QWidget * | parent = 0, | ||
| Qt::WindowFlags | f = Qt::Widget ) |
Constructs a AverageSelectionView which is a child of parent.
| [in] | parent | parent of widget. |
Definition at line 53 of file averageselectionview.cpp.
| AverageSelectionView::~AverageSelectionView | ( | ) |
Destroys the AverageSelectionView.
Definition at line 72 of file averageselectionview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 275 of file averageselectionview.cpp.
| QSharedPointer< QMap< QString, bool > > AverageSelectionView::getAverageActivation | ( | ) | const |
Get the current average activations
Definition at line 86 of file averageselectionview.cpp.
| QSharedPointer< QMap< QString, QColor > > AverageSelectionView::getAverageColor | ( | ) | const |
Get the current average colors
Definition at line 79 of file averageselectionview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 136 of file averageselectionview.cpp.
|
signal |
Emmited when new average activation is available
| [in] | qMapAverageActivation | the average activation map. |
|
signal |
Emmited when new average color is available
| [in] | qMapAverageColor | the average color map. |
|
protected |
Call this slot whenever the average selection or color changed.
Definition at line 239 of file averageselectionview.cpp.
|
protected |
Redraw the GUI.
Definition at line 185 of file averageselectionview.cpp.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 109 of file averageselectionview.cpp.
| void AverageSelectionView::setAverageActivation | ( | const QSharedPointer< QMap< QString, bool > > | qMapAverageActivation | ) |
Set the average activations
| [in] | qMapAverageActivation | Pointer to the new average activations. |
Definition at line 101 of file averageselectionview.cpp.
| void AverageSelectionView::setAverageColor | ( | const QSharedPointer< QMap< QString, QColor > > | qMapAverageColor | ) |
Set the average colors
| [in] | qMapAverageColor | Pointer to the new average colors. |
Definition at line 93 of file averageselectionview.cpp.
|
protectedvirtual |
Update the views GUI based on the set GuiMode (Clinical=0, Research=1).
| mode | The new mode (Clinical=0, Research=1). |
Implements DISPLIB::AbstractView.
Definition at line 161 of file averageselectionview.cpp.
|
protectedvirtual |
Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).
| mode | The new mode (RealTime=0, Offline=1). |
Implements DISPLIB::AbstractView.
Definition at line 173 of file averageselectionview.cpp.
|
protected |
Definition at line 168 of file averageselectionview.h.
|
protected |
Average activation status.
Definition at line 171 of file averageselectionview.h.
|
protected |
Average colors.
Definition at line 170 of file averageselectionview.h.