62 virtual void setSizes(qsizetype colorsUsed, qsizetype colorsSize);
#define SF_DECL_IFACE(InterfaceType, ParamType, FuncName)
Declares a public static function in the class where it is used. Where: InterfaceType: Global typenam...
Definition TClassRegistration.h:71
Base class for the interface.
Definition PaletteInterface.h:20
qsizetype _colorsSize
Definition PaletteInterface.h:81
virtual void setSizes(qsizetype colorsUsed, qsizetype colorsSize)
Sets the size of the color table of the implementation.
Parameters::Callback _callback
Definition PaletteInterface.h:80
qsizetype _colorsUsed
Definition PaletteInterface.h:82
virtual ColorTable getColorTable() const =0
Gets the color table of the implementation.
virtual void addPropertyPages(PropertySheetDialog *sheet)
~PaletteInterface() override=default
Virtual destructor for derived classes.
PaletteInterface(const Parameters &)
Constructor for passing general structure for derived classes.
virtual qreal getCurveLevel(qreal x) const =0
Gets calculated level for color shifts.
Persistent(QObject *obj)
Constructor.
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:15
Encapsulates the std::function() template.
Definition TClosure.h:14
Definition Application.h:10
QList< QRgb > ColorTable
Definition ColorTable.h:11
#define _PAL_CLASS
Definition pal/iface/global.h:35
Structure passed as a constructor argument.
Definition PaletteInterface.h:28
Parameters(const Callback &callback, QObject *parent=nullptr)
Definition PaletteInterface.h:31
Callback _callback
Definition PaletteInterface.h:37
TClosure< void > Callback
Definition PaletteInterface.h:29
QObject * _parent
Definition PaletteInterface.h:36