QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
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 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 111 of file qgspresetcolorrampdialog.cpp.
QDialogButtonBox * QgsPresetColorRampDialog::buttonBox | ( | ) | const |
Returns a reference to the dialog's button box.
Definition at line 129 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 89 of file qgspresetcolorrampdialog.h.