QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
An interface 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...
#include <qgsproviderregistry.h>
Public Member Functions | |
virtual | ~UnusableUriHandlerInterface ()=default |
virtual UnusableUriDetails | details (const QString &uri) const =0 |
Returns the details for advising the user why the uri is not usable. | |
virtual bool | matchesUri (const QString &uri) const =0 |
Returns true if the handle is an unusable URI handler for the specified uri. | |
An interface 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.
For example, if a QGIS install is built without the PDAL library then las/laz files are unusable. This class can then be used to construct friendly warnings to users advising them why the las/laz files cannot be used on their QGIS build.
Definition at line 517 of file qgsproviderregistry.h.
|
virtualdefault |
|
pure virtual |
Returns the details for advising the user why the uri is not usable.
|
pure virtual |
Returns true
if the handle is an unusable URI handler for the specified uri.