16#ifndef QGSPROCESSINGPROVIDERACTIONS_H
17#define QGSPROCESSINGPROVIDERACTIONS_H
80 QWidget *mParentWidget =
nullptr;
82 QString mAlgorithmName;
128 SIP_PROPERTY( name = group, get = groupName, set = setGroupName )
134 virtual QIcon icon()
const;
158 SIP_PROPERTY( name = toolbox, get = data, set = setData )
177 mutable
bool mUseDeprecatedLoopBreak = false;
214 virtual QIcon icon()
const;
226 virtual
bool isCompatibleWithAlgorithm( const QString &providerId, const QString &algorithmName );
243 SIP_PROPERTY( name = toolbox, get = getToolbox, set = setToolbox )
261 SIP_PROPERTY( name = itemData, get = getItemData, set = setItemData )
288 bool isSeparator() const;
295 void setIsSeparator(
bool isSeparator );
298 SIP_PROPERTY( name = is_separator, get = isSeparator, set = setIsSeparator )
304 mutable bool mUseDeprecatedLoopBreak =
false;
306 QPointer< QgsDockWidget > mToolboxDockWidget;
309 bool mIsSeparator =
false;
Encapsulates the context in which a Processing action is executed.
void setAlgorithmName(const QString &name)
Sets the name of the algorithm associated with the action.
void setParentWidget(QWidget *widget)
Sets the parent widget to use for dialogs constructed when triggering the action.
QWidget * parentWidget() const
Returns the parent widget to use for dialogs constructed when triggering the action.
QString providerId() const
Returns the ID of the provider associated with the action.
void setProviderId(const QString &id)
Sets the ID of the provider associated with the action.
QString algorithmName() const
Returns the name of the algorithm associated with the action.
Abstract base class for processing algorithms.
Q_DECL_DEPRECATED void setActionName(const QString &name)
Sets the action's (translated, user visible) name.
QgsProcessingToolboxContextAction(const QString &name=QString())
Constructor for QgsProcessingToolboxContextAction.
QString actionName() const
Returns the action's (translated, user visible) name.
virtual ~QgsProcessingToolboxContextAction()
#define SIP_PROPERTY(name, getter, setter)