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
parentitem.The
pathargument gives the item path in the browser tree. Thepathstring can take any form, butQgsDataItemitems pointing to different logical locations should always use a different itempath. TheconnectionUriargument is the connection part of the layer URI that it is used internally to create a connection and retrieve fields information. TheproviderKeystring can be used to specify the key for theQgsDataItemProviderthat created this item.- Parameters:
 parent (Optional[QgsDataItem])
path (Optional[str])
connectionUri (Optional[str])
providerKey (Optional[str])