|
QGIS API Documentation 4.3.0-Master (6313fb5bce0)
|
A custom action to show in the Processing toolbox. More...
#include <qgsprocessingprovideractions.h>
Public Member Functions | |
| QgsProcessingToolboxAction (const QString &name=QString(), const QString &group=QString()) | |
| Constructor for QgsProcessingToolboxAction. | |
| virtual | ~QgsProcessingToolboxAction () |
| QString | actionName () const |
| Returns the action's (translated, user visible) name. | |
| Q_DECL_DEPRECATED QgsDockWidget * | data () const |
| Returns the parent toolbox widget the action will be shown in. | |
| virtual Q_DECL_DEPRECATED void | execute () |
| Executes the action. | |
| virtual Q_DECL_DEPRECATED QIcon | getIcon () const |
| Returns the icon to use for the action. | |
| QString | groupName () const |
| Returns the action's (translated, user visible) group name. | |
| virtual QIcon | icon () const |
| Returns the icon to use for the action. | |
| Q_DECL_DEPRECATED void | setActionName (const QString &name) |
| Sets the action's (translated, user visible) name. | |
| Q_DECL_DEPRECATED void | setData (QgsDockWidget *widget) |
| Sets the parent toolbox widget the action will be shown in. | |
| Q_DECL_DEPRECATED void | setGroupName (const QString &group) |
| Sets the action's (translated, user visible) group name. | |
| virtual void | trigger (const QgsProcessingActionContext &context) |
| Triggers the action. | |
A custom action to show in the Processing toolbox.
Definition at line 92 of file qgsprocessingprovideractions.h.
| QgsProcessingToolboxAction::QgsProcessingToolboxAction | ( | const QString & | name = QString(), |
| const QString & | group = QString() ) |
Constructor for QgsProcessingToolboxAction.
Definition at line 61 of file qgsprocessingprovideractions.cpp.
|
virtualdefault |
|
inline |
Returns the action's (translated, user visible) name.
Definition at line 106 of file qgsprocessingprovideractions.h.
| QgsDockWidget * QgsProcessingToolboxAction::data | ( | ) | const |
Returns the parent toolbox widget the action will be shown in.
Definition at line 123 of file qgsprocessingprovideractions.cpp.
|
virtual |
Executes the action.
Definition at line 113 of file qgsprocessingprovideractions.cpp.
|
virtual |
Returns the icon to use for the action.
Definition at line 83 of file qgsprocessingprovideractions.cpp.
|
inline |
Returns the action's (translated, user visible) group name.
Definition at line 118 of file qgsprocessingprovideractions.h.
|
virtual |
Returns the icon to use for the action.
Definition at line 68 of file qgsprocessingprovideractions.cpp.
|
inline |
Sets the action's (translated, user visible) name.
Definition at line 113 of file qgsprocessingprovideractions.h.
| void QgsProcessingToolboxAction::setData | ( | QgsDockWidget * | widget | ) |
Sets the parent toolbox widget the action will be shown in.
Definition at line 96 of file qgsprocessingprovideractions.cpp.
|
inline |
Sets the action's (translated, user visible) group name.
Definition at line 125 of file qgsprocessingprovideractions.h.
|
virtual |
Triggers the action.
Definition at line 101 of file qgsprocessingprovideractions.cpp.