QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
Contains utility functions for working with layer notes. More...
#include <qgslayernotesutils.h>
Static Public Member Functions | |
static bool | layerHasNotes (const QgsMapLayer *layer) |
Returns true if the specified layer has notes available. | |
static QString | layerNotes (const QgsMapLayer *layer) |
Returns the notes for the specified layer. | |
static void | removeNotes (QgsMapLayer *layer) |
Removes any notes for the specified layer. | |
static void | setLayerNotes (QgsMapLayer *layer, const QString ¬es) |
Sets the notes for the specified layer, where notes is a HTML formatted string. | |
Contains utility functions for working with layer notes.
Definition at line 31 of file qgslayernotesutils.h.
|
static |
Returns true
if the specified layer has notes available.
Definition at line 38 of file qgslayernotesutils.cpp.
|
static |
Returns the notes for the specified layer.
The returned string is a HTML formatted set of user notations for the layer.
Definition at line 19 of file qgslayernotesutils.cpp.
|
static |
Removes any notes for the specified layer.
Definition at line 46 of file qgslayernotesutils.cpp.
|
static |
Sets the notes for the specified layer, where notes is a HTML formatted string.
Definition at line 27 of file qgslayernotesutils.cpp.