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