|
| QgsGeometryDegeneratePolygonCheck (QgsGeometryCheckContext *context, const QVariantMap &configuration) |
|
QgsGeometryCheck::CheckType | checkType () const override |
| Returns the check type. More...
|
|
void | collectErrors (const QMap< QString, QgsFeaturePool * > &featurePools, QList< QgsGeometryCheckError * > &errors, QStringList &messages, QgsFeedback *feedback, const LayerFeatureIds &ids=LayerFeatureIds()) const override |
| The main worker method. More...
|
|
QList< QgsWkbTypes::GeometryType > | compatibleGeometryTypes () const override |
| A list of geometry types for which this check can be performed. More...
|
|
QString | description () const override |
| Returns a human readable description for this check. More...
|
|
void | fixError (const QMap< QString, QgsFeaturePool * > &featurePools, QgsGeometryCheckError *error, int method, const QMap< QString, int > &mergeAttributeIndices, Changes &changes) const override |
| Fixes the error error with the specified method. More...
|
|
QString | id () const override |
| Returns an id for this check. More...
|
|
Q_DECL_DEPRECATED QStringList | resolutionMethods () const override |
| Returns a list of descriptions for available resolutions for errors. More...
|
|
| QgsGeometryCheck (const QgsGeometryCheckContext *context, const QVariantMap &configuration) |
| Create a new geometry check. More...
|
|
virtual | ~QgsGeometryCheck ()=default |
|
virtual QList< QgsGeometryCheckResolutionMethod > | availableResolutionMethods () const |
| Returns a list of available resolution methods. More...
|
|
virtual CheckType | checkType () const =0 |
| Returns the check type. More...
|
|
virtual void | collectErrors (const QMap< QString, QgsFeaturePool * > &featurePools, QList< QgsGeometryCheckError * > &errors, QStringList &messages, QgsFeedback *feedback, const LayerFeatureIds &ids=QgsGeometryCheck::LayerFeatureIds()) const =0 |
| The main worker method. More...
|
|
virtual QList< QgsWkbTypes::GeometryType > | compatibleGeometryTypes () const =0 |
| A list of geometry types for which this check can be performed. More...
|
|
template<class T > |
T | configurationValue (const QString &name, const QVariant &defaultValue=QVariant()) |
| Returns the configuration value with the name, saved in the QGIS settings for this geometry check. More...
|
|
const QgsGeometryCheckContext * | context () const |
| Returns the context. More...
|
|
virtual QString | description () const =0 |
| Returns a human readable description for this check. More...
|
|
virtual void | fixError (const QMap< QString, QgsFeaturePool * > &featurePools, QgsGeometryCheckError *error, int method, const QMap< QString, int > &mergeAttributeIndices, Changes &changes) const |
| Fixes the error error with the specified method. More...
|
|
virtual QgsGeometryCheck::Flags | flags () const |
| Flags for this geometry check. More...
|
|
virtual QString | id () const =0 |
| Returns an id for this check. More...
|
|
virtual bool | isCompatible (QgsVectorLayer *layer) const |
| Returns if this geometry check is compatible with layer. More...
|
|
virtual void | prepare (const QgsGeometryCheckContext *context, const QVariantMap &configuration) |
| Will be run in the main thread before collectErrors() is called (which may be run from a background thread). More...
|
|
virtual Q_DECL_DEPRECATED QStringList | resolutionMethods () const |
| Returns a list of descriptions for available resolutions for errors. More...
|
|