| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
A dialog which allows users to modify the properties of a QgsPresetSchemeColorRamp. More...
#include <qgspresetcolorrampdialog.h>

Signals | |
| void | changed () | 
| Emitted when the dialog settings change.   | |
Public Member Functions | |
| QgsPresetColorRampDialog (const QgsPresetSchemeColorRamp &ramp, QWidget *parent=nullptr) | |
| Constructor for QgsPresetColorRampDialog.   | |
| QDialogButtonBox * | buttonBox () const | 
| Returns a reference to the dialog's button box.   | |
| QgsPresetSchemeColorRamp | ramp () const | 
| Returns a color ramp representing the current settings from the dialog.   | |
| void | setRamp (const QgsPresetSchemeColorRamp &ramp) | 
| Sets the color ramp to show in the dialog.   | |
Properties | |
| QgsPresetSchemeColorRamp | ramp | 
A dialog which allows users to modify the properties of a QgsPresetSchemeColorRamp.
Definition at line 82 of file qgspresetcolorrampdialog.h.
| QgsPresetColorRampDialog::QgsPresetColorRampDialog | ( | const QgsPresetSchemeColorRamp & | ramp, | 
| QWidget * | parent = nullptr  | 
        ||
| ) | 
Constructor for QgsPresetColorRampDialog.
| ramp | initial ramp to show in dialog | 
| parent | parent widget | 
Definition at line 112 of file qgspresetcolorrampdialog.cpp.
| QDialogButtonBox * QgsPresetColorRampDialog::buttonBox | ( | ) | const | 
Returns a reference to the dialog's button box.
Definition at line 130 of file qgspresetcolorrampdialog.cpp.
      
  | 
  signal | 
Emitted when the dialog settings change.
      
  | 
  inline | 
Returns a color ramp representing the current settings from the dialog.
Definition at line 99 of file qgspresetcolorrampdialog.h.
      
  | 
  inline | 
Sets the color ramp to show in the dialog.
| ramp | color ramp | 
Definition at line 106 of file qgspresetcolorrampdialog.h.
      
  | 
  readwrite | 
Definition at line 85 of file qgspresetcolorrampdialog.h.