|
| ~QgsProviderRegistry () |
|
bool | createDb (const QString &providerKey, const QString &dbPath, QString &errCause) |
| Creates database by the provider on the path. More...
|
|
Qgis::VectorExportResult | createEmptyLayer (const QString &providerKey, const QString &uri, const QgsFields &fields, QgsWkbTypes::Type wkbType, const QgsCoordinateReferenceSystem &srs, bool overwrite, QMap< int, int > &oldToNewAttrIdxMap, QString &errorMessage, const QMap< QString, QVariant > *options) |
| Creates new empty vector layer. More...
|
|
QgsDataProvider * | createProvider (const QString &providerKey, const QString &dataSource, const QgsDataProvider::ProviderOptions &options=QgsDataProvider::ProviderOptions(), QgsDataProvider::ReadFlags flags=QgsDataProvider::ReadFlags()) |
| Creates a new instance of a provider. More...
|
|
Q_DECL_DEPRECATED QLibrary * | createProviderLibrary (const QString &providerKey) const |
| Returns a new QLibrary for the specified providerKey. More...
|
|
QgsRasterDataProvider * | createRasterDataProvider (const QString &providerKey, const QString &uri, const QString &format, int nBands, Qgis::DataType type, int width, int height, double *geoTransform, const QgsCoordinateReferenceSystem &crs, const QStringList &createOptions=QStringList()) |
| Creates new instance of raster data provider. More...
|
|
Q_DECL_DEPRECATED QWidget * | createSelectionWidget (const QString &providerKey, QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags(), QgsProviderRegistry::WidgetMode widgetMode=QgsProviderRegistry::WidgetMode::None) |
| Returns a new widget for selecting layers from a provider. More...
|
|
QgsTransaction * | createTransaction (const QString &providerKey, const QString &connString) |
| Returns new instance of transaction. More...
|
|
QString | databaseDrivers () const |
| Returns a string containing the available database drivers. More...
|
|
QList< QgsDataItemProvider * > | dataItemProviders (const QString &providerKey) const |
| Returns list of data item providers of the provider. More...
|
|
QVariantMap | decodeUri (const QString &providerKey, const QString &uri) |
| Breaks a provider data source URI into its component paths (e.g. More...
|
|
bool | deleteStyleById (const QString &providerKey, const QString &uri, const QString &styleId, QString &errCause) |
| Deletes a layer style defined by styleId. More...
|
|
QString | directoryDrivers () const |
| Returns a string containing the available directory drivers. More...
|
|
QString | encodeUri (const QString &providerKey, const QVariantMap &parts) |
| Reassembles a provider data source URI from its component paths (e.g. More...
|
|
QString | fileMeshDatasetFilters () const |
| Returns a file filter string for supported mesh dataset files. More...
|
|
QString | fileMeshFilters () const |
| Returns a file filter string for supported mesh files. More...
|
|
QString | filePointCloudFilters () const |
| Returns a file filter string for supported point clouds. More...
|
|
QString | fileRasterFilters () const |
| Returns a file filter string for supported raster files. More...
|
|
QString | fileVectorFilters () const |
| Returns a file filter string for supported vector files. More...
|
|
Q_DECL_DEPRECATED QFunctionPointer | function (const QString &providerKey, const QString &functionName) const |
| Gets pointer to provider function. More...
|
|
QString | getStyleById (const QString &providerKey, const QString &uri, const QString &styleId, QString &errCause) |
| Gets a layer style defined by styleId. More...
|
|
bool | handleUnusableUri (const QString &uri, UnusableUriDetails &details) const |
| Returns true if the specified uri can potentially be handled by QGIS, if additional dependencies or build-time requirements are present. More...
|
|
Q_DECL_DEPRECATED QString | library (const QString &providerKey) const |
| Returns path for the library of the provider. More...
|
|
QDir | libraryDirectory () const |
| Returns the library directory where plugins are found. More...
|
|
int | listStyles (const QString &providerKey, const QString &uri, QStringList &ids, QStringList &names, QStringList &descriptions, QString &errCause) |
| Lists stored layer styles in the provider defined by providerKey and uri. More...
|
|
QString | loadStyle (const QString &providerKey, const QString &uri, QString &errCause) |
| Loads a layer style defined by uri. More...
|
|
QString | pluginList (bool asHtml=false) const |
| Returns list of provider plugins found. More...
|
|
QList< QgsProviderRegistry::ProviderCandidateDetails > | preferredProvidersForUri (const QString &uri) const |
| Returns the details for the preferred provider(s) for opening the specified uri. More...
|
|
QString | protocolDrivers () const |
| Returns a string containing the available protocol drivers. More...
|
|
Q_DECL_DEPRECATED int | providerCapabilities (const QString &providerKey) const |
| Returns the provider capabilities. More...
|
|
QStringList | providerList () const |
| Returns list of available providers by their keys. More...
|
|
QgsProviderMetadata * | providerMetadata (const QString &providerKey) const |
| Returns metadata of the provider or nullptr if not found. More...
|
|
QSet< QString > | providersForLayerType (QgsMapLayerType type) const |
| Returns a list of the provider keys for available providers which handle the specified layer type. More...
|
|
QList< QPair< QString, QString > > | pyramidResamplingMethods (const QString &providerKey) |
| Returns list of raster pyramid resampling methods. More...
|
|
QList< QgsProviderSublayerDetails > | querySublayers (const QString &uri, Qgis::SublayerQueryFlags flags=Qgis::SublayerQueryFlags(), QgsFeedback *feedback=nullptr) const |
| Queries the specified uri and returns a list of any valid sublayers found in the dataset which can be handled by any registered data provider. More...
|
|
Q_DECL_DEPRECATED void | registerGuis (QWidget *widget) |
|
bool | registerProvider (QgsProviderMetadata *providerMetadata) |
| register a new vector data provider from its providerMetadata More...
|
|
bool | registerUnusableUriHandler (UnusableUriHandlerInterface *handler) |
| Registers an unusable URI handler, used to handle unusable URIs which aren't handled by any registered providers, and construct user-friendly warnings as to why the URI is unusable. More...
|
|
bool | saveLayerMetadata (const QString &providerKey, const QString &uri, const QgsLayerMetadata &metadata, QString &errorMessage) SIP_THROW(QgsNotSupportedException) |
| Saves metadata to the layer corresponding to the specified uri. More...
|
|
bool | saveStyle (const QString &providerKey, const QString &uri, const QString &qmlStyle, const QString &sldStyle, const QString &styleName, const QString &styleDescription, const QString &uiFileContent, bool useAsDefault, QString &errCause) |
| Saves a layer style to provider. More...
|
|
void | setLibraryDirectory (const QDir &path) |
| Sets library directory where to search for plugins. More...
|
|
bool | shouldDeferUriForOtherProviders (const QString &uri, const QString &providerKey) const |
| Returns true if the provider with matching providerKey should defer handling of the specified uri to another provider. More...
|
|
bool | styleExists (const QString &providerKey, const QString &uri, const QString &styleId, QString &errorCause) |
| Returns true if a layer style with the specified styleId exists in the provider defined by providerKey and uri. More...
|
|
bool | uriIsBlocklisted (const QString &uri) const |
| Returns true if the specified uri is known by any registered provider to be something which should be blocklisted from the QGIS interface, e.g. More...
|
|