Class: QgsVectorTileLayerProperties

Layer properties dialog for vector tile layers.

Added in version 3.28.

QgsVectorTileLayerProperties showing the 'Information' page

QgsVectorTileLayerProperties showing the ‘Information’ page

QgsVectorTileLayerProperties showing the 'Source' page

QgsVectorTileLayerProperties showing the ‘Source’ page

Class Hierarchy

Inheritance diagram of qgis.gui.QgsVectorTileLayerProperties

Base classes

QgsLayerPropertiesDialog

Base class for “layer properties” dialogs, containing common utilities for handling functionality in these dialogs.

QgsOptionsDialogBase

A base dialog for options and properties dialogs that offers vertical tabs.

QDialog

QWidget

QObject

QPaintDevice

Methods

initialize

loadStyle

Loads a saved style when appropriate button is pressed

openUrl

refocusDialog

saveDefaultStyle

Saves the default style when appropriate button is pressed

saveStyleAs

Saves a style when appriate button is pressed

storeCurrentStyleForUndo

Virtual Methods

In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsVectorTileLayerProperties. See the FAQ for more details.

rollback

class qgis.gui.QgsVectorTileLayerProperties[source]

Bases: QgsLayerPropertiesDialog

__init__(lyr: QgsVectorTileLayer | None, canvas: QgsMapCanvas | None, messageBar: QgsMessageBar | None, parent: QWidget | None = None, a4: Qt.WindowFlags | Qt.WindowType = QgsGuiUtils.ModalDialogFlags)

Constructor

Parameters:
initialize()
loadStyle(self)[source]

Loads a saved style when appropriate button is pressed

Added in version 3.30.

openUrl()
refocusDialog()
virtual rollback()
saveDefaultStyle(self)[source]

Saves the default style when appropriate button is pressed

Deprecated since version 3.40: Use saveStyleAsDefault() instead.

saveStyleAs(self)[source]

Saves a style when appriate button is pressed

Deprecated since version 3.40: Use saveStyleToFile() instead.

storeCurrentStyleForUndo()