QGIS API Documentation  3.20.0-Odense (decaadbb31)
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...
 
QDialogButtonBox * buttonBox () const
 Returns a reference to the dialog's button box. 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 98 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 126 of file qgslimitedrandomcolorrampdialog.cpp.

Member Function Documentation

◆ buttonBox()

QDialogButtonBox * QgsLimitedRandomColorRampDialog::buttonBox ( ) const

Returns a reference to the dialog's button box.

Since
QGIS 3.10

Definition at line 145 of file qgslimitedrandomcolorrampdialog.cpp.

◆ 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 116 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 123 of file qgslimitedrandomcolorrampdialog.h.

Property Documentation

◆ ramp

QgsLimitedRandomColorRamp QgsLimitedRandomColorRampDialog::ramp
readwrite

Definition at line 88 of file qgslimitedrandomcolorrampdialog.h.


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