16#ifndef QGSPRESETCOLORRAMPDIALOG_H
17#define QGSPRESETCOLORRAMPDIALOG_H
19#include "ui_qgspresetcolorrampwidgetbase.h"
28class QDialogButtonBox;
70 void mButtonAddColor_clicked();
72 void newColorChanged(
const QColor &color );
116 QDialogButtonBox *buttonBox()
const;
125 QDialogButtonBox *mButtonBox =
nullptr;
QgsPresetSchemeColorRamp ramp() const
Returns a color ramp representing the current settings from the dialog.
QgsPresetSchemeColorRamp ramp
void changed()
Emitted when the dialog settings change.
void setRamp(const QgsPresetSchemeColorRamp &ramp)
Sets the color ramp to show in the dialog.
QgsPresetColorRampDialog(const QgsPresetSchemeColorRamp &ramp, QWidget *parent=nullptr)
Constructor for QgsPresetColorRampDialog.
A scheme based color ramp consisting of a list of predefined colors.