Skip to main content

ModalitySelectionView

Namespace: DISPLIB  ·  Library: Display Library

#include <disp/modalityselectionview.h>

class DISPLIB::ModalitySelectionView

Per-modality visibility toggle panel (one QCheckBox per channel modality).

Builds itself from the active FiffInfo modalities and emits modalitiesChanged so ButterflyView and AverageLayoutView can hide entire modalities at once.

Inheritance


Public Methods

ModalitySelectionView(lChannelList, sSettingsPath, parent, f)

Constructs a ModalitySelectionView which is a child of parent.

Parameters:

  • parent : *QWidget ** parent of widget.

~ModalitySelectionView()

Destroys the ModalitySelectionView.


setModalityMap(modalityMap)

Set the modality checkboxes.

Parameters:

  • modalityMap : const QMap< QString, bool > & The modality map.

getModalityMap()

Get the activation of the already created modality check boxes.

Returns:

  • QMap< QString, bool > — The current modality map.

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