Class: QgsConnectionsRootItem¶
A Collection that represents a root group of connections from a single data provider
Added in version 3.16.
Class Hierarchy¶
Base classes¶
A Collection: logical collection of layers or subcollections, e.g. GRASS location/mapset, database? wms source?  | 
|
Base class for all items in the model.  | 
|
- class qgis.core.QgsConnectionsRootItem[source]¶
 Bases:
QgsDataCollectionItem- __init__(parent: QgsDataItem | None, name: str | None, path: str | None = '', providerKey: str | None = '')
 Constructor for QgsConnectionsRootItem, with the specified
parentitem.The
nameargument specifies the text to show in the model for the item. A translated string should be used wherever appropriate.The
pathargument gives the item path in the browser tree. Thepathstring can take any form, butQgsSchemaItemitems pointing to different logical locations should always use a different itempath.The optional
providerKeystring can be used to specify the key for theQgsDataItemProviderthat created this item.- Parameters:
 parent (Optional[QgsDataItem])
name (Optional[str])
path (Optional[str] = '')
providerKey (Optional[str] = '')