v2.0.0
Loading...
Searching...
No Matches
scalecontrol.h File Reference

Composite slider + spinbox widget for picking a (possibly logarithmic) scale value. More...

#include "disp_global.h"
#include <QWidget>
#include <QMenu>
Include dependency graph for scalecontrol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::ScaleControl
 Composite slider + spinbox widget for picking a (possibly logarithmic) scale value. More...

Namespaces

namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).

Detailed Description

Composite slider + spinbox widget for picking a (possibly logarithmic) scale value.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2021-2026 MNE-CPP Authors

Author
Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.9
Date
March 2021

ScaleControl pairs a horizontal QSlider with a synchronised QDoubleSpinBox so the user can either drag for coarse control or type for precise control. It supports linear and log10 mapping, configurable min / max and the option to invert direction, and is the building block of ScalingView and several settings panels.

Definition in file scalecontrol.h.