16#ifndef QGsLIMITEDRANDOMCOLORRAMPDIALOG_H
17#define QGsLIMITEDRANDOMCOLORRAMPDIALOG_H
23#include "ui_qgslimitedrandomcolorrampwidgetbase.h"
26class QDialogButtonBox;
68 void setCount(
int val );
70 void setHue1(
int val );
72 void setHue2(
int val );
74 void setSat1(
int val );
76 void setSat2(
int val );
78 void setVal1(
int val );
80 void setVal2(
int val );
127 QDialogButtonBox *buttonBox()
const;
137 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.