QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
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. | |
Public Member Functions | |
QgsPresetColorRampDialog (const QgsPresetSchemeColorRamp &ramp, QWidget *parent=nullptr) | |
Constructor for QgsPresetColorRampDialog. | |
QDialogButtonBox * | buttonBox () const |
Returns a reference to the dialog's button box. | |
QgsPresetSchemeColorRamp | ramp () const |
Returns a color ramp representing the current settings from the dialog. | |
void | setRamp (const QgsPresetSchemeColorRamp &ramp) |
Sets the color ramp to show in the dialog. | |
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 112 of file qgspresetcolorrampdialog.cpp.
QDialogButtonBox * QgsPresetColorRampDialog::buttonBox | ( | ) | const |
Returns a reference to the dialog's button box.
Definition at line 130 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.