QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
Public Member Functions | |
QgsLimitedRandomColorRampDialog (const QgsLimitedRandomColorRamp &ramp, QWidget *parent=nullptr) | |
Constructor for QgsLimitedRandomColorRampDialog. | |
QDialogButtonBox * | buttonBox () const |
Returns a reference to the dialog's button box. | |
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. | |
Properties | |
QgsLimitedRandomColorRamp | ramp |
A dialog which allows users to modify the properties of a QgsLimitedRandomColorRamp.
Definition at line 96 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 127 of file qgslimitedrandomcolorrampdialog.cpp.
QDialogButtonBox * QgsLimitedRandomColorRampDialog::buttonBox | ( | ) | const |
Returns a reference to the dialog's button box.
Definition at line 146 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 114 of file qgslimitedrandomcolorrampdialog.h.
|
inline |
Sets the color ramp to show in the dialog.
ramp | color ramp |
Definition at line 121 of file qgslimitedrandomcolorrampdialog.h.
|
readwrite |
Definition at line 99 of file qgslimitedrandomcolorrampdialog.h.