Class: QgsProjectStoredObjectManagerBase¶
Manages storage of a set of objects attached to a
QgsProject
.
QgsProjectStoredObjectManagerBase
handles the storage,
serializing and deserializing of attached objects.
QgsProjectStoredObjectManagerBase
retains ownership of all
the objects contained in the manager.
Added in version 4.0.
Class Hierarchy¶
Base classes¶
Subclasses¶
Manages storage of a set of elevation profiles. |
|
Manages storage of a set of layouts. |
Methods
Marks the project as dirty. |
Signals
Emitted when an object is about to be added to the manager |
|
Emitted when an object is about to be removed from the manager |
|
Emitted when an object has been added to the manager |
|
Emitted when an object was removed from the manager |
- class qgis.core.QgsProjectStoredObjectManagerBase[source]¶
Bases:
QObject
- __init__(project: QgsProject | None = None)
Constructor for QgsProjectStoredObjectManagerBase, for objects attached to the specified
project
.- Parameters:
project (Optional[QgsProject] = None)
- signal objectAboutToBeAdded(name: str)[source]¶
Emitted when an object is about to be added to the manager
- Parameters:
name (str)
- signal objectAboutToBeRemoved(name: str)[source]¶
Emitted when an object is about to be removed from the manager
- Parameters:
name (str)