QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
A dialog which allows users to modify the properties of a QgsLimitedRandomColorRamp. More...
#include <qgslimitedrandomcolorrampdialog.h>
Signals | |
void | changed () |
Emitted when the dialog settings change. More... | |
Public Member Functions | |
QgsLimitedRandomColorRampDialog (const QgsLimitedRandomColorRamp &ramp, QWidget *parent=nullptr) | |
Constructor for QgsLimitedRandomColorRampDialog. More... | |
QDialogButtonBox * | buttonBox () const |
Returns a reference to the dialog's button box. More... | |
QgsLimitedRandomColorRamp | ramp () const |
Returns a color ramp representing the current settings from the dialog. More... | |
void | setRamp (const QgsLimitedRandomColorRamp &ramp) |
Sets the color ramp to show in the dialog. More... | |
Properties | |
QgsLimitedRandomColorRamp | ramp |
A dialog which allows users to modify the properties of a QgsLimitedRandomColorRamp.
Definition at line 98 of file qgslimitedrandomcolorrampdialog.h.
QgsLimitedRandomColorRampDialog::QgsLimitedRandomColorRampDialog | ( | const QgsLimitedRandomColorRamp & | ramp, |
QWidget * | parent = nullptr |
||
) |
Constructor for QgsLimitedRandomColorRampDialog.
ramp | initial ramp to show in dialog |
parent | parent widget |
Definition at line 119 of file qgslimitedrandomcolorrampdialog.cpp.
QDialogButtonBox * QgsLimitedRandomColorRampDialog::buttonBox | ( | ) | const |
Returns a reference to the dialog's button box.
Definition at line 135 of file qgslimitedrandomcolorrampdialog.cpp.
|
signal |
Emitted when the dialog settings change.
|
inline |
Returns a color ramp representing the current settings from the dialog.
Definition at line 116 of file qgslimitedrandomcolorrampdialog.h.
|
inline |
Sets the color ramp to show in the dialog.
ramp | color ramp |
Definition at line 123 of file qgslimitedrandomcolorrampdialog.h.
|
readwrite |
Definition at line 101 of file qgslimitedrandomcolorrampdialog.h.