mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
This generalizes the logic from QgsLayoutManager, so that additional manager classes handling other object types can be added without incurring a lot of near-duplicate code. This is a step toward allowing storage of elevation profiles within projects.
13 lines
1015 B
Python
13 lines
1015 B
Python
# The following has been generated automatically from src/core/project/qgsprojectstoredobjectmanager.h
|
|
try:
|
|
QgsProjectStoredObjectManagerBase.__attribute_docs__ = {'objectAboutToBeAdded': 'Emitted when an object is about to be added to the manager\n', 'objectAdded': 'Emitted when an object has been added to the manager\n', 'objectRemoved': 'Emitted when an object was removed from the manager\n', 'objectAboutToBeRemoved': 'Emitted when an object is about to be removed from the manager\n'}
|
|
QgsProjectStoredObjectManagerBase.__signal_arguments__ = {'objectAboutToBeAdded': ['name: str'], 'objectAdded': ['name: str'], 'objectRemoved': ['name: str'], 'objectAboutToBeRemoved': ['name: str']}
|
|
QgsProjectStoredObjectManagerBase.__group__ = ['project']
|
|
except (NameError, AttributeError):
|
|
pass
|
|
try:
|
|
QgsAbstractProjectStoredObjectManager.__virtual_methods__ = ['setupObjectConnections']
|
|
QgsAbstractProjectStoredObjectManager.__group__ = ['project']
|
|
except (NameError, AttributeError):
|
|
pass
|