| 
    QGIS API Documentation
    3.6.0-Noosa (5873452)
    
   | 
 
A dialog which allows users to modify the properties of a QgsCptCityColorRamp. More...
#include <qgscptcitycolorrampdialog.h>

Signals | |
| void | changed () | 
| Emitted when the dialog settings change.  More... | |
Public Member Functions | |
| QgsCptCityColorRampDialog (const QgsCptCityColorRamp &ramp, QWidget *parent=nullptr) | |
| Constructor for QgsCptCityColorRampDialog.  More... | |
| bool | eventFilter (QObject *obj, QEvent *event) override | 
| QgsCptCityColorRamp | ramp () const | 
| Returns a color ramp representing the current settings from the dialog.  More... | |
| bool | saveAsGradientRamp () const | 
| Returns true if the ramp should be converted to a QgsGradientColorRamp.  More... | |
| QString | selectedName () const | 
| Returns the name of the ramp currently selected in the dialog.  More... | |
| void | setRamp (const QgsCptCityColorRamp &ramp) | 
| Sets the color ramp to show in the dialog.  More... | |
Properties | |
| QgsCptCityColorRamp | ramp | 
A dialog which allows users to modify the properties of a QgsCptCityColorRamp.
Definition at line 42 of file qgscptcitycolorrampdialog.h.
| QgsCptCityColorRampDialog::QgsCptCityColorRampDialog | ( | const QgsCptCityColorRamp & | ramp, | 
| QWidget * | parent = nullptr  | 
        ||
| ) | 
Constructor for QgsCptCityColorRampDialog.
| ramp | initial ramp to show in dialog | 
| parent | parent widget | 
Definition at line 39 of file qgscptcitycolorrampdialog.cpp.
      
  | 
  signal | 
Emitted when the dialog settings change.
      
  | 
  override | 
Definition at line 545 of file qgscptcitycolorrampdialog.cpp.
      
  | 
  inline | 
Returns a color ramp representing the current settings from the dialog.
Definition at line 60 of file qgscptcitycolorrampdialog.h.
| bool QgsCptCityColorRampDialog::saveAsGradientRamp | ( | ) | const | 
Returns true if the ramp should be converted to a QgsGradientColorRamp.
Definition at line 500 of file qgscptcitycolorrampdialog.cpp.
      
  | 
  inline | 
Returns the name of the ramp currently selected in the dialog.
Definition at line 72 of file qgscptcitycolorrampdialog.h.
| void QgsCptCityColorRampDialog::setRamp | ( | const QgsCptCityColorRamp & | ramp | ) | 
Sets the color ramp to show in the dialog.
| ramp | color ramp | 
Definition at line 131 of file qgscptcitycolorrampdialog.cpp.
      
  | 
  readwrite | 
Definition at line 45 of file qgscptcitycolorrampdialog.h.
 1.8.13