| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
A dialog which allows users to modify the properties of a QgsPresetSchemeColorRamp. More...
#include <qgspresetcolorrampdialog.h>

| Signals | |
| void | changed () | 
| Emitted when the dialog settings change.  More... | |
| Public Member Functions | |
| QgsPresetColorRampDialog (const QgsPresetSchemeColorRamp &ramp, QWidget *parent=nullptr) | |
| Constructor for QgsPresetColorRampDialog.  More... | |
| QDialogButtonBox * | buttonBox () const | 
| Returns a reference to the dialog's button box.  More... | |
| QgsPresetSchemeColorRamp | ramp () const | 
| Returns a color ramp representing the current settings from the dialog.  More... | |
| void | setRamp (const QgsPresetSchemeColorRamp &ramp) | 
| Sets the color ramp to show in the dialog.  More... | |
| Properties | |
| QgsPresetSchemeColorRamp | ramp | 
A dialog which allows users to modify the properties of a QgsPresetSchemeColorRamp.
Definition at line 86 of file qgspresetcolorrampdialog.h.
| QgsPresetColorRampDialog::QgsPresetColorRampDialog | ( | const QgsPresetSchemeColorRamp & | ramp, | 
| QWidget * | parent = nullptr | ||
| ) | 
Constructor for QgsPresetColorRampDialog.
| ramp | initial ramp to show in dialog | 
| parent | parent widget | 
Definition at line 109 of file qgspresetcolorrampdialog.cpp.
| QDialogButtonBox * QgsPresetColorRampDialog::buttonBox | ( | ) | const | 
Returns a reference to the dialog's button box.
Definition at line 127 of file qgspresetcolorrampdialog.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 qgspresetcolorrampdialog.h.
| 
 | inline | 
Sets the color ramp to show in the dialog.
| ramp | color ramp | 
Definition at line 111 of file qgspresetcolorrampdialog.h.
| 
 | readwrite | 
Definition at line 77 of file qgspresetcolorrampdialog.h.