16#ifndef QGSPRESETCOLORRAMPDIALOG_H
17#define QGSPRESETCOLORRAMPDIALOG_H
23#include "ui_qgspresetcolorrampwidgetbase.h"
26class QDialogButtonBox;
69 void mButtonAddColor_clicked();
71 void newColorChanged(
const QColor &color );
117 QDialogButtonBox *buttonBox()
const;
127 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.