mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
[processing] Add flag for algorithms with known issues
This commit is contained in:
parent
9f1fcb72d4
commit
c0640c67b0
@ -45,6 +45,7 @@ Abstract base class for processing algorithms.
|
|||||||
FlagNoThreading,
|
FlagNoThreading,
|
||||||
FlagDisplayNameIsLiteral,
|
FlagDisplayNameIsLiteral,
|
||||||
FlagSupportsInPlaceEdits,
|
FlagSupportsInPlaceEdits,
|
||||||
|
FlagKnownIssues,
|
||||||
FlagDeprecated,
|
FlagDeprecated,
|
||||||
};
|
};
|
||||||
typedef QFlags<QgsProcessingAlgorithm::Flag> Flags;
|
typedef QFlags<QgsProcessingAlgorithm::Flag> Flags;
|
||||||
|
@ -75,6 +75,7 @@ class CORE_EXPORT QgsProcessingAlgorithm
|
|||||||
FlagNoThreading = 1 << 6, //!< Algorithm is not thread safe and cannot be run in a background thread, e.g. for algorithms which manipulate the current project, layer selections, or with external dependencies which are not thread-safe.
|
FlagNoThreading = 1 << 6, //!< Algorithm is not thread safe and cannot be run in a background thread, e.g. for algorithms which manipulate the current project, layer selections, or with external dependencies which are not thread-safe.
|
||||||
FlagDisplayNameIsLiteral = 1 << 7, //!< Algorithm's display name is a static literal string, and should not be translated or automatically formatted. For use with algorithms named after commands, e.g. GRASS 'v.in.ogr'.
|
FlagDisplayNameIsLiteral = 1 << 7, //!< Algorithm's display name is a static literal string, and should not be translated or automatically formatted. For use with algorithms named after commands, e.g. GRASS 'v.in.ogr'.
|
||||||
FlagSupportsInPlaceEdits = 1 << 8, //!< Algorithm supports in-place editing
|
FlagSupportsInPlaceEdits = 1 << 8, //!< Algorithm supports in-place editing
|
||||||
|
FlagKnownIssues = 1 << 9, //!< Algorithm has known issues
|
||||||
FlagDeprecated = FlagHideFromToolbox | FlagHideFromModeler, //!< Algorithm is deprecated
|
FlagDeprecated = FlagHideFromToolbox | FlagHideFromModeler, //!< Algorithm is deprecated
|
||||||
};
|
};
|
||||||
Q_DECLARE_FLAGS( Flags, Flag )
|
Q_DECLARE_FLAGS( Flags, Flag )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user