QGIS API Documentation  2.99.0-Master (7d4f81d)
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=0)
 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 91 of file qgslimitedrandomcolorrampdialog.h.

Constructor & Destructor Documentation

◆ QgsLimitedRandomColorRampDialog()

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

Constructor for QgsLimitedRandomColorRampDialog.

Parameters
rampinitial ramp to show in dialog
parentparent widget

Definition at line 118 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 107 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 113 of file qgslimitedrandomcolorrampdialog.h.

Property Documentation

◆ ramp

QgsLimitedRandomColorRamp QgsLimitedRandomColorRampDialog::ramp
readwrite

Definition at line 94 of file qgslimitedrandomcolorrampdialog.h.


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