The QeColorMap class is a composite widget used to represent a colormap using a gradient.
More...
#include <CutWidgets.h>
|
| void | SetStartColor (const QColor &newStartColor) |
| | Replaces or sets the color at position 0.0.
|
| |
| void | SetStopColor (const QColor &newStopColor) |
| | Replaces or sets the color at position 1.0.
|
| |
| void | SetStartValue (const double &newStartValue) |
| | Setter for the double to be shown at the start value position in the gradient.
|
| |
|
|
void | StartValueChanged () |
| | StartValueChanged Signal emitted when the string shown at the start of gradient changes.
|
| |
|
void | StoptValueChanged () |
| | StartValueChanged Signal emitted when the string shown at the stop of gradient changes.
|
| |
|
void | StartColorChanged () |
| | StartColorChanged Signal emitted when StartColor property changes.
|
| |
|
void | StopColorChanged () |
| | StopColorChanged Signal emitted when StopColor property changes.
|
| |
|
| | QeColorMap (QWidget *parent=nullptr) |
| | QeColorMap default constructor.
|
| |
| double | StartValue () const |
| | StartValue returns the Start Value string.
|
| |
| double | StopValue () const |
| | StopValue returns the Stop Value string.
|
| |
| QColor | GetStartColor () const |
| | GetStartColor returns the Start color of the gradient: position 0.0.
|
| |
|
void | ResetStartColor () |
| | ResetStartColor resets the value to its default: white (255, 255, 255)
|
| |
| QColor | GetStopColor () const |
| | GetStopColor returns the Stop color of the gradient: position 1.0.
|
| |
|
void | ResetStopColor () |
| | ResetStartColor resets the value to its default: black (0, 0, 0)
|
| |
| void | SetStopValue (const double &newStopValue) |
| | Setter for the double to be shown at the stop value position in the gradient.
|
| |
|
void | ClearStops () |
| | Removes all stops: color maps points.
|
| |
|
|
double | startValue |
| | Sets the value to show in the label at the Start of the gradient.
|
| |
|
double | stopValue |
| | Sets the value to show in the label at the Stop of the gradient.
|
| |
| QColor | startColor |
| | Start color (0.0) of the gradient.
|
| |
| QColor | stopColor |
| | Stop color (1.0) of the gradient.
|
| |
The QeColorMap class is a composite widget used to represent a colormap using a gradient.
◆ QeColorMap()
| QeColorMap::QeColorMap |
( |
QWidget * | parent = nullptr | ) |
|
QeColorMap default constructor.
- Parameters
-
| parent | QWidget that represents the parental relationship in the QObject tree. |
◆ GetStartColor()
| QColor QeColorMap::GetStartColor |
( |
| ) |
const |
GetStartColor returns the Start color of the gradient: position 0.0.
- Returns
- QColor with the color at that position
◆ GetStopColor()
| QColor QeColorMap::GetStopColor |
( |
| ) |
const |
GetStopColor returns the Stop color of the gradient: position 1.0.
- Returns
- QColor with the color at that position
◆ SetStartColor
| void QeColorMap::SetStartColor |
( |
const QColor & | newStartColor | ) |
|
|
slot |
Replaces or sets the color at position 0.0.
- Parameters
-
◆ SetStartValue
| void QeColorMap::SetStartValue |
( |
const double & | newStartValue | ) |
|
|
slot |
Setter for the double to be shown at the start value position in the gradient.
- Parameters
-
◆ SetStopColor
| void QeColorMap::SetStopColor |
( |
const QColor & | newStopColor | ) |
|
|
slot |
Replaces or sets the color at position 1.0.
- Parameters
-
◆ SetStopValue()
| void QeColorMap::SetStopValue |
( |
const double & | newStopValue | ) |
|
Setter for the double to be shown at the stop value position in the gradient.
- Parameters
-
◆ StartValue()
| double QeColorMap::StartValue |
( |
| ) |
const |
StartValue returns the Start Value string.
- Returns
- QString with the value shown at the Start of the gradient
◆ StopValue()
| double QeColorMap::StopValue |
( |
| ) |
const |
StopValue returns the Stop Value string.
- Returns
- QString with the value shown at the Stop of the gradient
◆ startColor
| QColor QeColorMap::startColor |
|
readwrite |
◆ stopColor
| QColor QeColorMap::stopColor |
|
readwrite |
The documentation for this class was generated from the following files:
- widgets/widgets/src/include/elt/cut/widgets/widgets/QeColorMap.hpp
- widgets/widgets/src/QeColorMap.cpp