QGIS API Documentation
3.6.0-Noosa (5873452)
|
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... | |
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 84 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.
|
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 qgspresetcolorrampdialog.h.
|
inline |
Sets the color ramp to show in the dialog.
ramp | color ramp |
Definition at line 109 of file qgspresetcolorrampdialog.h.
|
readwrite |
Definition at line 87 of file qgspresetcolorrampdialog.h.