QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
Class for metadata formatter. More...
#include <qgslayermetadataformatter.h>
Public Member Functions | |
QgsLayerMetadataFormatter (const QgsLayerMetadata &metadata) | |
Constructor for QgsLayerMetadataFormatter. | |
QString | accessSectionHtml () const |
Formats the "Access" section according to a metadata object. | |
QString | contactsSectionHtml () const |
Formats the "Contacts" section according to a metadata object. | |
QString | extentSectionHtml (const bool showSpatialExtent=true) const |
Formats the "Extents" section according to a metadata object (extent and temporal). | |
QString | historySectionHtml () const |
Formats the "History" section according to a metadata object. | |
QString | identificationSectionHtml () const |
Formats the "Identification" section according to a metadata object. | |
QString | linksSectionHtml () const |
Formats the "Links" section according to a metadata object. | |
Class for metadata formatter.
Definition at line 32 of file qgslayermetadataformatter.h.
QgsLayerMetadataFormatter::QgsLayerMetadataFormatter | ( | const QgsLayerMetadata & | metadata | ) |
Constructor for QgsLayerMetadataFormatter.
Definition at line 22 of file qgslayermetadataformatter.cpp.
QString QgsLayerMetadataFormatter::accessSectionHtml | ( | ) | const |
Formats the "Access" section according to a metadata object.
This will return a HTML table.
Definition at line 27 of file qgslayermetadataformatter.cpp.
QString QgsLayerMetadataFormatter::contactsSectionHtml | ( | ) | const |
Formats the "Contacts" section according to a metadata object.
This will return a HTML table.
Definition at line 50 of file qgslayermetadataformatter.cpp.
QString QgsLayerMetadataFormatter::extentSectionHtml | ( | const bool | showSpatialExtent = true | ) | const |
Formats the "Extents" section according to a metadata object (extent and temporal).
This will return a HTML table.
showSpatialExtent | flag if the spatial extent needs to be displayed. Default to true . |
Definition at line 110 of file qgslayermetadataformatter.cpp.
QString QgsLayerMetadataFormatter::historySectionHtml | ( | ) | const |
Formats the "History" section according to a metadata object.
This will return a HTML table.
Definition at line 232 of file qgslayermetadataformatter.cpp.
QString QgsLayerMetadataFormatter::identificationSectionHtml | ( | ) | const |
Formats the "Identification" section according to a metadata object.
This will return a HTML table.
Definition at line 183 of file qgslayermetadataformatter.cpp.
QString QgsLayerMetadataFormatter::linksSectionHtml | ( | ) | const |
Formats the "Links" section according to a metadata object.
This will return a HTML table.
Definition at line 258 of file qgslayermetadataformatter.cpp.