Class: QgsNewAuxiliaryFieldDialog¶
A dialog to create a new auxiliary field
Class Hierarchy¶
Base classes¶
Methods
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 enabledparent (Optional[QWidget] = None) – Parent window
- propertyDefinition(self) QgsPropertyDefinition [source]¶
Returns the underlying property definition.
- Return type: