Class: QgsNewAuxiliaryFieldDialog

A dialog to create a new auxiliary field.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.gui.QgsNewAuxiliaryFieldDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

propertyDefinition

Returns the underlying property definition.

class qgis.gui.QgsNewAuxiliaryFieldDialog[source]

Bases: QDialog

__init__(definition: QgsPropertyDefinition, layer: QgsVectorLayer | None, nameOnly: bool = True, parent: QWidget | None = None)

Constructor.

Parameters:
  • definition (QgsPropertyDefinition) – The property definition to use to create the auxiliary field

  • layer (Optional[QgsVectorLayer]) – The vector layer for which the auxiliary layer has to be created

  • nameOnly (bool = True) – True to indicate that only the name widget is enabled

  • parent (Optional[QWidget] = None) – Parent window

propertyDefinition(self) QgsPropertyDefinition[source]

Returns the underlying property definition.

Return type:

QgsPropertyDefinition