QGIS API Documentation  3.8.0-Zanzibar (11aff65)
Signals | Public Member Functions | Properties | List of all members
QgsLimitedRandomColorRampDialog Class Reference

A dialog which allows users to modify the properties of a QgsLimitedRandomColorRamp. More...

#include <qgslimitedrandomcolorrampdialog.h>

Inheritance diagram for QgsLimitedRandomColorRampDialog:
Inheritance graph
[legend]

Signals

void changed ()
 Emitted when the dialog settings change. More...
 

Public Member Functions

 QgsLimitedRandomColorRampDialog (const QgsLimitedRandomColorRamp &ramp, QWidget *parent=nullptr)
 Constructor for QgsLimitedRandomColorRampDialog. More...
 
QgsLimitedRandomColorRamp ramp () const
 Returns a color ramp representing the current settings from the dialog. More...
 
void setRamp (const QgsLimitedRandomColorRamp &ramp)
 Sets the color ramp to show in the dialog. More...
 

Properties

QgsLimitedRandomColorRamp ramp
 

Detailed Description

A dialog which allows users to modify the properties of a QgsLimitedRandomColorRamp.

Since
QGIS 3.0

Definition at line 96 of file qgslimitedrandomcolorrampdialog.h.

Constructor & Destructor Documentation

◆ QgsLimitedRandomColorRampDialog()

QgsLimitedRandomColorRampDialog::QgsLimitedRandomColorRampDialog ( const QgsLimitedRandomColorRamp ramp,
QWidget *  parent = nullptr 
)

Constructor for QgsLimitedRandomColorRampDialog.

Parameters
rampinitial ramp to show in dialog
parentparent widget

Definition at line 119 of file qgslimitedrandomcolorrampdialog.cpp.

Member Function Documentation

◆ changed

void QgsLimitedRandomColorRampDialog::changed ( )
signal

Emitted when the dialog settings change.

◆ ramp()

QgsLimitedRandomColorRamp QgsLimitedRandomColorRampDialog::ramp ( ) const
inline

Returns a color ramp representing the current settings from the dialog.

See also
setRamp()

Definition at line 114 of file qgslimitedrandomcolorrampdialog.h.

◆ setRamp()

void QgsLimitedRandomColorRampDialog::setRamp ( const QgsLimitedRandomColorRamp ramp)
inline

Sets the color ramp to show in the dialog.

Parameters
rampcolor ramp
See also
ramp()

Definition at line 121 of file qgslimitedrandomcolorrampdialog.h.

Property Documentation

◆ ramp

QgsLimitedRandomColorRamp QgsLimitedRandomColorRampDialog::ramp
readwrite

Definition at line 99 of file qgslimitedrandomcolorrampdialog.h.


The documentation for this class was generated from the following files: