16 #ifndef QGsLIMITEDRANDOMCOLORRAMPDIALOG_H
17 #define QGsLIMITEDRANDOMCOLORRAMPDIALOG_H
23 #include "ui_qgslimitedrandomcolorrampwidgetbase.h"
26 class QDialogButtonBox;
69 void setCount(
int val );
71 void setHue1(
int val );
73 void setHue2(
int val );
75 void setSat1(
int val );
77 void setSat2(
int val );
79 void setVal1(
int val );
81 void setVal2(
int val );
129 QDialogButtonBox *buttonBox()
const;
139 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.