16#ifndef QGSPRESETCOLORRAMPDIALOG_H
17#define QGSPRESETCOLORRAMPDIALOG_H
23#include "ui_qgspresetcolorrampwidgetbase.h"
26class QDialogButtonBox;
67 void mButtonAddColor_clicked();
69 void newColorChanged(
const QColor &color );
112 QDialogButtonBox *buttonBox()
const;
121 QDialogButtonBox *mButtonBox =
nullptr;
A dialog which allows users to modify the properties of a QgsPresetSchemeColorRamp.
QgsPresetSchemeColorRamp ramp() const
Returns a color ramp representing the current settings from the dialog.
void changed()
Emitted when the dialog settings change.
void setRamp(const QgsPresetSchemeColorRamp &ramp)
Sets the color ramp to show in the dialog.
A scheme based color ramp consisting of a list of predefined colors.