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:
- parent : *QWidget ** Parent of widget.
~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.
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
- Lorenz Esch <lorenz.esch@tu-ilmenau.de>
- Gabriel Motta <gabrielbenmotta@gmail.com>
- Wayne F. Mead <isk@imsorrykun.com>
- Juan GPC <jgarciaprieto@mgh.harvard.edu>
- Christoph Dinh <christoph.dinh@mne-cpp.org>