Class: QgsFieldDomainsItem¶
Contains a collection of field domain items.
Added in version 3.26.
Class Hierarchy¶
Base classes¶
Base class for all items in the model. |
|
Methods
Returns the connection URI |
- class qgis.core.QgsFieldDomainsItem[source]¶
Bases:
QgsDataItem
- __init__(parent: QgsDataItem | None, path: str | None, connectionUri: str | None, providerKey: str | None)
Constructor for QgsFieldDomainsItem, with the specified
parent
item.The
path
argument gives the item path in the browser tree. Thepath
string can take any form, butQgsDataItem
items pointing to different logical locations should always use a different itempath
. TheconnectionUri
argument is the connection part of the layer URI that it is used internally to create a connection and retrieve fields information. TheproviderKey
string can be used to specify the key for theQgsDataItemProvider
that created this item.- Parameters:
parent (Optional[QgsDataItem])
path (Optional[str])
connectionUri (Optional[str])
providerKey (Optional[str])