QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Contains information about unusable URIs which aren't handled by any registered providers. More...
#include <qgsproviderregistry.h>
Public Member Functions | |
UnusableUriDetails (const QString &uri=QString(), const QString &warning=QString(), const QList< QgsMapLayerType > &layerTypes=QList< QgsMapLayerType >()) | |
Constructor for UnusableUriDetails for the given uri, with the specified user-friendly, translated warning. More... | |
Public Attributes | |
QString | detailedWarning |
Contains a longer, user-friendly, translated message advising why the URI is not usable. More... | |
QList< QgsMapLayerType > | layerTypes |
Contains a list of map layer types which are usually valid options for opening the target URI. More... | |
QString | uri |
URI which could not be handled. More... | |
QString | warning |
Contains a short, user-friendly, translated message advising why the URI is not usable. More... | |
Contains information about unusable URIs which aren't handled by any registered providers.
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 380 of file qgsproviderregistry.h.
|
inline |
Constructor for UnusableUriDetails for the given uri, with the specified user-friendly, translated warning.
The optional layerTypes argument can be used to specify layer types which are usually valid options for opening the URI.
Definition at line 390 of file qgsproviderregistry.h.
QString QgsProviderRegistry::UnusableUriDetails::detailedWarning |
Contains a longer, user-friendly, translated message advising why the URI is not usable.
Definition at line 409 of file qgsproviderregistry.h.
QList<QgsMapLayerType> QgsProviderRegistry::UnusableUriDetails::layerTypes |
Contains a list of map layer types which are usually valid options for opening the target URI.
Definition at line 415 of file qgsproviderregistry.h.
QString QgsProviderRegistry::UnusableUriDetails::uri |
URI which could not be handled.
Definition at line 399 of file qgsproviderregistry.h.
QString QgsProviderRegistry::UnusableUriDetails::warning |
Contains a short, user-friendly, translated message advising why the URI is not usable.
Definition at line 404 of file qgsproviderregistry.h.