Skip to main content

AverageSelectionView

Namespace: DISPLIB  ·  Library: Display Library

#include <disp/averageselectionview.h>

class DISPLIB::AverageSelectionView

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.

Inheritance​


Public Methods​

AverageSelectionView(sSettingsPath, parent, f)​

Constructs a AverageSelectionView which is a child of parent.

Parameters:

  • sSettingsPath : const QString & Settings path under which the widget persists its state (empty = no persistence).

  • parent : *QWidget ** parent of widget.

  • f : Qt::WindowFlags Qt window flags passed to the QWidget constructor.


~AverageSelectionView()​

Destroys the AverageSelectionView.


getAverageColor()​

Get the current average colors.

Returns:

  • QSharedPointer< QMap< QString, QColor > > — Pointer to the current average colors.

getAverageActivation()​

Get the current average activations.

Returns:

  • QSharedPointer< QMap< QString, bool > > — Pointer to the current average activations.

setAverageColor(qMapAverageColor)​

Set the average colors.

Parameters:

  • qMapAverageColor : const QSharedPointer< QMap< QString, QColor > > Pointer to the new average colors.

setAverageActivation(qMapAverageActivation)​

Set the average activations.

Parameters:

  • qMapAverageActivation : const QSharedPointer< QMap< QString, bool > > Pointer to the new average activations.

saveSettings()​

Saves all important settings of this view via QSettings.


loadSettings()​

Loads and inits all important settings of this view via QSettings.


clearView()​

Clears the view.


Authors of this file​