16 #ifndef QGSCOLORBREWERCOLORRAMPDIALOG_H    17 #define QGSCOLORBREWERCOLORRAMPDIALOG_H    22 #include "ui_qgscolorbrewercolorrampwidgetbase.h"    27 class QDialogButtonBox;
    70     void populateVariants();
   117     QDialogButtonBox *buttonBox() 
const;
   127     QDialogButtonBox *mButtonBox = 
nullptr;
 
A dialog which allows users to modify the properties of a QgsColorBrewerColorRamp. 
 
QgsColorBrewerColorRamp ramp() const
Returns a color ramp representing the current settings from the dialog. 
 
void setRamp(const QgsColorBrewerColorRamp &ramp)
Sets the color ramp to show in the dialog. 
 
Color ramp utilising "Color Brewer" preset color schemes.