|
QGIS API Documentation 4.1.0-Master (64dc32379c2)
|
Background settings for a two-color vertical gradient rendered behind the 3D scene. More...
#include <qgsfixedgradientbackgroundsettings.h>

Public Member Functions | |
| QgsFixedGradientBackgroundSettings ()=default | |
| QColor | bottomColor () const |
| Returns the color at the bottom of the gradient. | |
| QgsFixedGradientBackgroundSettings * | clone () const override |
| Returns a deep copy of this background settings object. | |
| void | readXml (const QDomElement &element, const QgsReadWriteContext &context) override |
| Reads settings from a DOM element. | |
| void | setBottomColor (const QColor &color) |
| Sets the color at the bottom of the gradient. | |
| void | setTopColor (const QColor &color) |
| Sets the color at the top of the gradient. | |
| QColor | topColor () const |
| Returns the color at the top of the gradient. | |
| Qgis::Map3DBackgroundType | type () const override |
| Returns the unique type for this background settings class. | |
| void | writeXml (QDomElement &element, const QgsReadWriteContext &context) const override |
| Writes settings to a DOM element. | |
| Public Member Functions inherited from QgsAbstract3DMapBackgroundSettings | |
| virtual | ~QgsAbstract3DMapBackgroundSettings ()=default |
Background settings for a two-color vertical gradient rendered behind the 3D scene.
Definition at line 31 of file qgsfixedgradientbackgroundsettings.h.
|
default |
|
inline |
Returns the color at the bottom of the gradient.
Definition at line 61 of file qgsfixedgradientbackgroundsettings.h.
|
overridevirtual |
Returns a deep copy of this background settings object.
Implements QgsAbstract3DMapBackgroundSettings.
Definition at line 26 of file qgsfixedgradientbackgroundsettings.cpp.
|
overridevirtual |
Reads settings from a DOM element.
Implements QgsAbstract3DMapBackgroundSettings.
Definition at line 32 of file qgsfixedgradientbackgroundsettings.cpp.
|
inline |
Sets the color at the bottom of the gradient.
Definition at line 68 of file qgsfixedgradientbackgroundsettings.h.
|
inline |
Sets the color at the top of the gradient.
Definition at line 54 of file qgsfixedgradientbackgroundsettings.h.
|
inline |
Returns the color at the top of the gradient.
Definition at line 47 of file qgsfixedgradientbackgroundsettings.h.
|
inlineoverridevirtual |
Returns the unique type for this background settings class.
Implements QgsAbstract3DMapBackgroundSettings.
Definition at line 36 of file qgsfixedgradientbackgroundsettings.h.
|
overridevirtual |
Writes settings to a DOM element.
Implements QgsAbstract3DMapBackgroundSettings.
Definition at line 38 of file qgsfixedgradientbackgroundsettings.cpp.