A wizard to edit metadata on a map layer.
More...
#include <qgsmetadatawidget.h>
|
static QMap< QString, QString > | parseLanguages () |
| Returns a list of languages available by default in the wizard. More...
|
|
static QStringList | parseLicenses () |
| Returns a list of licences available by default in the wizard. More...
|
|
static QStringList | parseLinkTypes () |
| Returns a list of link types available by default in the wizard. More...
|
|
static QStringList | parseMimeTypes () |
| Returns a list of MIME types available by default in the wizard. More...
|
|
static QMap< QString, QString > | parseTypes () |
| Returns a list of types available by default in the wizard. More...
|
|
A wizard to edit metadata on a map layer.
- Since
- QGIS 3.0
Definition at line 41 of file qgsmetadatawidget.h.
◆ Mode
Widget modes.
- Since
- QGIS 3.2
Enumerator |
---|
LayerMetadata | Show layer metadata.
|
ProjectMetadata | Show project metadata.
|
Definition at line 52 of file qgsmetadatawidget.h.
◆ QgsMetadataWidget()
QgsMetadataWidget::QgsMetadataWidget |
( |
QWidget *parent |
SIP_TRANSFERTHIS = nullptr , |
|
|
QgsMapLayer * |
layer = nullptr |
|
) |
| |
◆ acceptMetadata()
void QgsMetadataWidget::acceptMetadata |
( |
| ) |
|
◆ checkMetadata()
bool QgsMetadataWidget::checkMetadata |
( |
| ) |
|
◆ crsChanged()
void QgsMetadataWidget::crsChanged |
( |
| ) |
|
◆ metadata()
◆ mode()
Mode QgsMetadataWidget::mode |
( |
| ) |
const |
|
inline |
◆ parseLanguages()
QMap< QString, QString > QgsMetadataWidget::parseLanguages |
( |
| ) |
|
|
static |
◆ parseLicenses()
QStringList QgsMetadataWidget::parseLicenses |
( |
| ) |
|
|
static |
◆ parseLinkTypes()
QStringList QgsMetadataWidget::parseLinkTypes |
( |
| ) |
|
|
static |
◆ parseMimeTypes()
QStringList QgsMetadataWidget::parseMimeTypes |
( |
| ) |
|
|
static |
◆ parseTypes()
QMap< QString, QString > QgsMetadataWidget::parseTypes |
( |
| ) |
|
|
static |
◆ saveMetadata()
◆ setMapCanvas()
void QgsMetadataWidget::setMapCanvas |
( |
QgsMapCanvas * |
canvas | ) |
|
◆ setMetadata()
Sets the metadata to display in the widget.
This method can be called after constructing a QgsMetadataWidget in order to set the displayed metadata to custom, non-layer based metadata.
Calling this method will automatically setMode() to the correct mode corresponding to the specified metadata object.
- See also
- metadata()
Definition at line 165 of file qgsmetadatawidget.cpp.
◆ setMode()
◆ setTitle
void QgsMetadataWidget::setTitle |
( |
const QString & |
title | ) |
|
|
slot |
◆ title()
QString QgsMetadataWidget::title |
( |
| ) |
const |
◆ titleChanged
void QgsMetadataWidget::titleChanged |
( |
const QString & |
title | ) |
|
|
signal |
◆ title
QString QgsMetadataWidget::title |
|
readwrite |
The documentation for this class was generated from the following files: