Class: QgsFieldDomainDialog¶
A dialog for configuration of the properties of a
QgsFieldDomain
.
Added in version 3.26.
Class Hierarchy¶
Base classes¶
Methods
Creates a new field domain using the properties from the dialog. |
|
Sets the current field domain to show properties for in the dialog. |
- class qgis.gui.QgsFieldDomainDialog[source]¶
Bases:
QDialog
- __init__(type: Qgis.FieldDomainType, parent: QWidget | None = None, flags: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())
Constructor for QgsFieldDomainDialog for the given domain
type
, with the specifiedparent
widget and windowflags
.- Parameters:
type (Qgis.FieldDomainType)
parent (Optional[QWidget] = None)
flags (Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())
- createFieldDomain(self) QgsFieldDomain | None [source]¶
Creates a new field domain using the properties from the dialog.
Caller takes ownership of the returned object.
See also
- Return type:
Optional[QgsFieldDomain]
- setFieldDomain(self, domain: QgsFieldDomain | None)[source]¶
Sets the current field domain to show properties for in the dialog.
See also
- Parameters:
domain (Optional[QgsFieldDomain])