QGIS API Documentation 3.39.0-Master (132cbd6f1b5)
|
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. | |
Public Member Functions | |
QgsColorBrewerColorRampDialog (const QgsColorBrewerColorRamp &ramp, QWidget *parent=nullptr) | |
Constructor for QgsColorBrewerColorRampDialog. | |
QDialogButtonBox * | buttonBox () const |
Returns a reference to the dialog's button box. | |
QgsColorBrewerColorRamp | ramp () const |
Returns a color ramp representing the current settings from the dialog. | |
void | setRamp (const QgsColorBrewerColorRamp &ramp) |
Sets the color ramp to show in the dialog. | |
Properties | |
QgsColorBrewerColorRamp | ramp |
A dialog which allows users to modify the properties of a QgsColorBrewerColorRamp.
Definition at line 84 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 102 of file qgscolorbrewercolorrampdialog.h.
|
inline |
Sets the color ramp to show in the dialog.
ramp | color ramp |
Definition at line 109 of file qgscolorbrewercolorrampdialog.h.
|
readwrite |
Definition at line 87 of file qgscolorbrewercolorrampdialog.h.