QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A dialog which allows users to modify the properties of a QgsColorBrewerColorRamp. More...
#include <qgscolorbrewercolorrampdialog.h>
Signals | |
void | changed () |
Emitted when the dialog settings change. More... | |
Public Member Functions | |
QgsColorBrewerColorRampDialog (const QgsColorBrewerColorRamp &ramp, QWidget *parent=nullptr) | |
Constructor for QgsColorBrewerColorRampDialog. More... | |
QDialogButtonBox * | buttonBox () const |
Returns a reference to the dialog's button box. More... | |
QgsColorBrewerColorRamp | ramp () const |
Returns a color ramp representing the current settings from the dialog. More... | |
void | setRamp (const QgsColorBrewerColorRamp &ramp) |
Sets the color ramp to show in the dialog. More... | |
Properties | |
QgsColorBrewerColorRamp | ramp |
A dialog which allows users to modify the properties of a QgsColorBrewerColorRamp.
Definition at line 86 of file qgscolorbrewercolorrampdialog.h.
QgsColorBrewerColorRampDialog::QgsColorBrewerColorRampDialog | ( | const QgsColorBrewerColorRamp & | ramp, |
QWidget * | parent = nullptr |
||
) |
Constructor for QgsColorBrewerColorRampDialog.
ramp | initial ramp to show in dialog |
parent | parent widget |
Definition at line 125 of file qgscolorbrewercolorrampdialog.cpp.
QDialogButtonBox * QgsColorBrewerColorRampDialog::buttonBox | ( | ) | const |
Returns a reference to the dialog's button box.
Definition at line 142 of file qgscolorbrewercolorrampdialog.cpp.
|
signal |
Emitted when the dialog settings change.
|
inline |
Returns a color ramp representing the current settings from the dialog.
Definition at line 104 of file qgscolorbrewercolorrampdialog.h.
|
inline |
Sets the color ramp to show in the dialog.
ramp | color ramp |
Definition at line 111 of file qgscolorbrewercolorrampdialog.h.
|
readwrite |
Definition at line 77 of file qgscolorbrewercolorrampdialog.h.