![]() |
Scanframe Modular Application 0.1.0
|
#include <AmplitudePalette.h>
Public Member Functions | |
AmplitudePalette (const Parameters &) | |
Interface constructor. | |
void | addPropertyPages (PropertySheetDialog *sheet) override |
Overridden from base class. | |
ColorTable | getColorTable () const override |
Gets the color table of the implementation. | |
qreal | getCurveLevel (qreal x) const override |
Gets calculated level for color shifts. | |
double | getCalibLevel () const |
Property getter. | |
void | setCalibLevel (double value) |
Property setter. | |
![]() | |
PaletteInterface (const Parameters &) | |
Constructor for passing general structure for derived classes. | |
~PaletteInterface () override=default | |
Virtual destructor for derived classes. | |
virtual void | setSizes (qsizetype colorsUsed, qsizetype colorsSize) |
Sets the size of the color table of the implementation. | |
![]() | |
Persistent (QObject *obj) | |
Constructor. | |
void | setSourceObject (QObject *obj) |
QStringList | getProperties () const |
Gets the properties from the object as a string list to store as settings. | |
void | setProperties (const QStringList &) const |
Sets the properties of the object as a string list settings. | |
Properties | |
QColor | colorFrom |
QColor | colorTo |
QColor | colorCalib |
QColor | colorOver |
double | calibLevel |
double | sizeCalib |
sf::gii::IdType | idCalibMin |
sf::gii::IdType | idCalibMax |
sf::gii::IdType | idCalibPos |
Additional Inherited Members | |
![]() | |
QMap< int, const char * > | getObjectProperties (const QObject *obj) const |
Gets a mapped property list af all properties of the object. | |
![]() | |
Parameters::Callback | _callback |
qsizetype | _colorsSize {256} |
qsizetype | _colorsUsed {_colorsSize} |
|
explicit |
Interface constructor.
|
overridevirtual |
Overridden from base class.
Reimplemented from sf::PaletteInterface.
double sf::AmplitudePalette::getCalibLevel | ( | ) | const |
Property getter.
|
overridevirtual |
Gets the color table of the implementation.
Implements sf::PaletteInterface.
|
overridevirtual |
Gets calculated level for color shifts.
Used in calculation of colors and drawing a curve when configuring.
x | Value between 0.0 and 1.0. |
Implements sf::PaletteInterface.
void sf::AmplitudePalette::setCalibLevel | ( | double | value | ) |
Property setter.
|
readwrite |
Calibration properties
|
readwrite |
|
readwrite |
Color properties
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
Calibration id properties.
|
readwrite |
|
readwrite |