QGIS API Documentation
3.6.0-Noosa (5873452)
|
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... | |
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 85 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 123 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 103 of file qgscolorbrewercolorrampdialog.h.
|
inline |
Sets the color ramp to show in the dialog.
ramp | color ramp |
Definition at line 110 of file qgscolorbrewercolorrampdialog.h.
|
readwrite |
Definition at line 88 of file qgscolorbrewercolorrampdialog.h.