QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Abstract interface for project storage GUI - to be implemented by various backends and registered in QgsProjectStorageGuiRegistry. More...
#include <qgsprojectstorageguiprovider.h>
Public Member Functions | |
virtual | ~QgsProjectStorageGuiProvider ()=default |
virtual QString | showLoadGui () |
Opens GUI to allow user to select a project to be loaded (GUI specific to this storage type). More... | |
virtual QString | showSaveGui () |
Opens GUI to allow user to select where a project should be saved (GUI specific to this storage type). More... | |
virtual QString | type ()=0 |
Unique identifier of the project storage type. More... | |
virtual QString | visibleName () |
Returns human-readable name of the storage. More... | |
Abstract interface for project storage GUI - to be implemented by various backends and registered in QgsProjectStorageGuiRegistry.
Definition at line 31 of file qgsprojectstorageguiprovider.h.
|
virtualdefault |
|
inlinevirtual |
Opens GUI to allow user to select a project to be loaded (GUI specific to this storage type).
Returns project URI if user has picked a project or empty string if the GUI was canceled.
Definition at line 53 of file qgsprojectstorageguiprovider.h.
|
inlinevirtual |
Opens GUI to allow user to select where a project should be saved (GUI specific to this storage type).
Returns project URI if user has picked a destination or empty string if the GUI was canceled.
Definition at line 59 of file qgsprojectstorageguiprovider.h.
|
pure virtual |
Unique identifier of the project storage type.
If type() returns "memory", all project file names starting with "memory:" will have read/write redirected through that storage implementation.
|
inlinevirtual |
Returns human-readable name of the storage.
Used as the menu item text in QGIS. Empty name indicates that the storage does not implement GUI support (showLoadGui() and showSaveGui()). The name may be translatable and ideally unique as well.
Definition at line 47 of file qgsprojectstorageguiprovider.h.