| 
    QGIS API Documentation
    3.26.3-Buenos Aires (65e4edfdad)
    
   | 
 
A dialog which allows users to modify the properties of a QgsGradientColorRamp. More...
#include <qgsgradientcolorrampdialog.h>

Public Slots | |
| void | setColor1 (const QColor &color) | 
| Sets the start color for the gradient ramp.  More... | |
| void | setColor2 (const QColor &color) | 
| Sets the end color for the gradient ramp.  More... | |
Signals | |
| void | changed () | 
| Emitted when the dialog settings change.  More... | |
Public Member Functions | |
| QgsGradientColorRampDialog (const QgsGradientColorRamp &ramp, QWidget *parent=nullptr) | |
| Constructor for QgsGradientColorRampDialog.  More... | |
| ~QgsGradientColorRampDialog () override | |
| QDialogButtonBox * | buttonBox () const | 
| Returns a reference to the dialog's button box.  More... | |
| QgsGradientColorRamp | ramp () const | 
| Returns a color ramp representing the current settings from the dialog.  More... | |
| void | setRamp (const QgsGradientColorRamp &ramp) | 
| Sets the color ramp to show in the dialog.  More... | |
Properties | |
| QgsGradientColorRamp | ramp | 
A dialog which allows users to modify the properties of a QgsGradientColorRamp.
Definition at line 38 of file qgsgradientcolorrampdialog.h.
| QgsGradientColorRampDialog::QgsGradientColorRampDialog | ( | const QgsGradientColorRamp & | ramp, | 
| QWidget * | parent = nullptr  | 
        ||
| ) | 
Constructor for QgsGradientColorRampDialog.
| ramp | initial ramp to show in dialog | 
| parent | parent widget | 
Definition at line 47 of file qgsgradientcolorrampdialog.cpp.
      
  | 
  override | 
Definition at line 192 of file qgsgradientcolorrampdialog.cpp.
| QDialogButtonBox * QgsGradientColorRampDialog::buttonBox | ( | ) | const | 
Returns a reference to the dialog's button box.
Definition at line 213 of file qgsgradientcolorrampdialog.cpp.
      
  | 
  signal | 
Emitted when the dialog settings change.
      
  | 
  inline | 
Returns a color ramp representing the current settings from the dialog.
Definition at line 57 of file qgsgradientcolorrampdialog.h.
      
  | 
  slot | 
Sets the start color for the gradient ramp.
Definition at line 620 of file qgsgradientcolorrampdialog.cpp.
      
  | 
  slot | 
Sets the end color for the gradient ramp.
Definition at line 626 of file qgsgradientcolorrampdialog.cpp.
| void QgsGradientColorRampDialog::setRamp | ( | const QgsGradientColorRamp & | ramp | ) | 
Sets the color ramp to show in the dialog.
| ramp | color ramp | 
Definition at line 202 of file qgsgradientcolorrampdialog.cpp.
      
  | 
  readwrite | 
Definition at line 41 of file qgsgradientcolorrampdialog.h.
 1.8.17