Interface for map decorations.
More...
#include <qgsmapdecoration.h>
|
void | setDisplayName (const QString &name) |
| Sets the map decoration display name.
|
|
Interface for map decorations.
- Since
- QGIS 3.0
Definition at line 34 of file qgsmapdecoration.h.
◆ QgsMapDecoration()
QgsMapDecoration::QgsMapDecoration |
( |
| ) |
|
|
default |
◆ ~QgsMapDecoration()
virtual QgsMapDecoration::~QgsMapDecoration |
( |
| ) |
|
|
virtualdefault |
◆ displayName()
const QString QgsMapDecoration::displayName |
( |
| ) |
const |
|
inline |
Returns the map decoration display name.
- Since
- QGIS 3.14
Definition at line 55 of file qgsmapdecoration.h.
◆ hasFixedMapPosition()
virtual bool QgsMapDecoration::hasFixedMapPosition |
( |
| ) |
const |
|
inlinevirtual |
Returns true
if the decoration is attached to a fixed map position (e.g grid, layout extent), or false
if the annotation uses a position relative to the map canvas (e.g.
title, copyright...)
- Since
- QGIS 3.34
Definition at line 62 of file qgsmapdecoration.h.
◆ render()
Renders a map decoration.
◆ setDisplayName()
void QgsMapDecoration::setDisplayName |
( |
const QString & |
name | ) |
|
|
inlineprotected |
Sets the map decoration display name.
- Since
- QGIS 3.14
Definition at line 70 of file qgsmapdecoration.h.
The documentation for this class was generated from the following file: