Skip to main content

ScalingView

Namespace: DISPLIB  ·  Library: Display Library

#include <disp/scalingview.h>

class DISPLIB::ScalingView

Per-modality y-scale spinbox panel built from ScaleControl widgets.

One ScaleControl per channel modality in the active FiffInfo; edits are emitted as scalingChanged maps consumed by RtFiffRawView, ChannelDataView and ButterflyView.

Inheritance​


Public Methods​

ScalingView(sSettingsPath, parent, f, lChannelsToShow)​

Constructs a ScalingView 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.

  • lChannelsToShow : const QStringList & Channel types to show scaling controls for ("all" = every type).


~ScalingView()​

Destroys the ScalingView.


getScaleMap()​

Get the current scaling map.

Returns:

  • QMap< qint32, float > — The current scaling map.

setScaleMap(qMapChScaling)​

Set the current scaling map.

This also recreates the GUI.

Parameters:

  • qMapChScaling : const QMap< qint32, float > & Map from FIFF channel kind/unit key to amplitude scale.

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.


setMagGradLink(l)​

Link the Magnetometers to the Gradiometers scale.

Parameters:

  • l : Qt::CheckState Set the link between MAGs and GRADs active or inactive.

Authors of this file​