16#ifndef QGsLIMITEDRANDOMCOLORRAMPDIALOG_H
17#define QGsLIMITEDRANDOMCOLORRAMPDIALOG_H
23#include "ui_qgslimitedrandomcolorrampwidgetbase.h"
26class QDialogButtonBox;
67 void setCount(
int val );
69 void setHue1(
int val );
71 void setHue2(
int val );
73 void setSat1(
int val );
75 void setSat2(
int val );
77 void setVal1(
int val );
79 void setVal2(
int val );
124 QDialogButtonBox *buttonBox()
const;
133 QDialogButtonBox *mButtonBox =
nullptr;
A dialog which allows users to modify the properties of a QgsLimitedRandomColorRamp.
void setRamp(const QgsLimitedRandomColorRamp &ramp)
Sets the color ramp to show in the dialog.
void changed()
Emitted when the dialog settings change.
QgsLimitedRandomColorRamp ramp() const
Returns a color ramp representing the current settings from the dialog.
Constrained random color ramp, which returns random colors based on preset parameters.