QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
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. More... | |
virtual bool | matchesUri (const QString &uri) const =0 |
Returns true if the handle is an unusable URI handler for the specified uri. More... | |
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 521 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.