QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsLimitedRandomColorRampDialog Class Reference

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

#include <qgslimitedrandomcolorrampdialog.h>

Inheritance diagram for QgsLimitedRandomColorRampDialog:

Signals

void changed ()
 Emitted when the dialog settings change.

Public Member Functions

 QgsLimitedRandomColorRampDialog (const QgsLimitedRandomColorRamp &ramp, QWidget *parent=nullptr)
 Constructor for QgsLimitedRandomColorRampDialog.
QDialogButtonBox * buttonBox () const
 Returns a reference to the dialog's button box.
QgsLimitedRandomColorRamp ramp () const
 Returns a color ramp representing the current settings from the dialog.
void setRamp (const QgsLimitedRandomColorRamp &ramp)
 Sets the color ramp to show in the dialog.

Properties

QgsLimitedRandomColorRamp ramp

Detailed Description

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

Definition at line 97 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 127 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 146 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 115 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 122 of file qgslimitedrandomcolorrampdialog.h.

Property Documentation

◆ ramp

QgsLimitedRandomColorRamp QgsLimitedRandomColorRampDialog::ramp
readwrite

Definition at line 100 of file qgslimitedrandomcolorrampdialog.h.


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