Subgroup: other
Class: QgsMetadataWidget¶
-
class
qgis.gui.
QgsMetadataWidget
(parent: QWidget, layer: QgsMapLayer = None)¶ Bases:
PyQt5.QtWidgets.QWidget
Constructor for the wizard.
If
layer
is set, then this constructor automatically sets the widget’s metadata() to match the layer’s metadata..New in version 3.0: Methods
Signals
Attributes
-
acceptMetadata
(self)¶ Saves the metadata to the layer.
-
actionEvent
()¶
-
changeEvent
()¶
-
checkMetadata
(self) → bool¶ Check if values in the wizard are correct.
See also
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
crsChanged
(self)¶ If the CRS is updated.
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metadata
(self) → QgsLayerMetadata¶ Returns a QgsLayerMetadata object representing the current state of the widget.
See also
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
parseLanguages
() → Dict[str, str]¶ Returns a list of languages available by default in the wizard.
-
parseLicenses
() → List[str]¶ Returns a list of licences available by default in the wizard.
-
parseLinkTypes
() → List[str]¶ Returns a list of link types available by default in the wizard.
See also
https()
-
parseMimeTypes
() → List[str]¶ Returns a list of MIME types available by default in the wizard.
See also
https()
-
parseTypes
() → Dict[str, str]¶ Returns a list of types available by default in the wizard.
-
receivers
()¶
-
resizeEvent
()¶
-
saveMetadata
(self, layerMetadata: QgsLayerMetadata)¶ Save all fields in a QgsLayerMetadata object.
See also
See also
See also
-
sender
()¶
-
senderSignalIndex
()¶
-
setMapCanvas
(self, canvas: QgsMapCanvas)¶ Sets a map
canvas
associated with the widget.
-
setMetadata
(self, metadata: QgsLayerMetadata)¶ 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.
See also
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶
-