QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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;
void changed()
Emitted when the dialog settings change.
Constrained random color ramp, which returns random colors based on preset parameters.
QgsLimitedRandomColorRamp ramp() const
Returns a color ramp representing the current settings from the dialog.
void setRamp(const QgsLimitedRandomColorRamp &ramp)
Sets the color ramp to show in the dialog.
A dialog which allows users to modify the properties of a QgsLimitedRandomColorRamp.