QGIS API Documentation  3.0.2-Girona (307d082)
Public Member Functions | List of all members
QgsLayerMetadataFormatter Class Reference

Class for metadata formatter. More...

#include <qgslayermetadataformatter.h>

Public Member Functions

 QgsLayerMetadataFormatter (const QgsLayerMetadata &metadata)
 Constructor for QgsLayerMetadataFormatter. More...
 
QString accessSectionHtml () const
 Formats the "Access" section according to a metadata object. More...
 
QString contactsSectionHtml () const
 Formats the "Contacts" section according to a metadata object. More...
 
QString extentSectionHtml () const
 Formats the "Extents" section according to a metadata object. More...
 
QString historySectionHtml () const
 Formats the "History" section according to a metadata object. More...
 
QString identificationSectionHtml () const
 Formats the "Identification" section according to a metadata object. More...
 
QString linksSectionHtml () const
 Formats the "Links" section according to a metadata object. More...
 

Detailed Description

Class for metadata formatter.

Since
QGIS 3.0

Definition at line 31 of file qgslayermetadataformatter.h.

Constructor & Destructor Documentation

◆ QgsLayerMetadataFormatter()

QgsLayerMetadataFormatter::QgsLayerMetadataFormatter ( const QgsLayerMetadata metadata)

Constructor for QgsLayerMetadataFormatter.

Definition at line 21 of file qgslayermetadataformatter.cpp.

Member Function Documentation

◆ accessSectionHtml()

QString QgsLayerMetadataFormatter::accessSectionHtml ( ) const

Formats the "Access" section according to a metadata object.

This will return a HTML table.

Definition at line 26 of file qgslayermetadataformatter.cpp.

◆ contactsSectionHtml()

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.

◆ extentSectionHtml()

QString QgsLayerMetadataFormatter::extentSectionHtml ( ) const

Formats the "Extents" section according to a metadata object.

This will return a HTML table.

Definition at line 110 of file qgslayermetadataformatter.cpp.

◆ historySectionHtml()

QString QgsLayerMetadataFormatter::historySectionHtml ( ) const

Formats the "History" section according to a metadata object.

This will return a HTML table.

Definition at line 228 of file qgslayermetadataformatter.cpp.

◆ identificationSectionHtml()

QString QgsLayerMetadataFormatter::identificationSectionHtml ( ) const

Formats the "Identification" section according to a metadata object.

This will return a HTML table.

Definition at line 179 of file qgslayermetadataformatter.cpp.

◆ linksSectionHtml()

QString QgsLayerMetadataFormatter::linksSectionHtml ( ) const

Formats the "Links" section according to a metadata object.

This will return a HTML table.

Definition at line 254 of file qgslayermetadataformatter.cpp.


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