#include <iAction.h>
Inherited by igor::iActionApplicationStop.
◆ iAction()
igor::iAction::iAction |
( |
const iaString & |
name | ) |
|
init members
- Parameters
-
name | the identifier of this action |
must be a unique name so it can be registered with the action manager
◆ ~iAction()
virtual igor::iAction::~iAction |
( |
| ) |
|
|
virtualdefault |
◆ execute()
◆ getBrief()
const iaString & igor::iAction::getBrief |
( |
| ) |
const |
- Returns
- the brief description
◆ getDescription()
const iaString & igor::iAction::getDescription |
( |
| ) |
const |
- Returns
- the full description
◆ getIcon()
const iaString & igor::iAction::getIcon |
( |
| ) |
const |
- Returns
- the icon texture of this action
◆ getName()
iaString igor::iAction::getName |
( |
| ) |
const |
- Returns
- the action identifier
◆ isCompatible()
virtual bool igor::iAction::isCompatible |
( |
const iActionContext & |
context | ) |
|
|
pure virtual |
- Returns
- true if this action will execute with given context
- Parameters
-
context | the context the action was called with |
Implemented in igor::iActionApplicationStop.
◆ setDescription()
void igor::iAction::setDescription |
( |
const iaString & |
brief, |
|
|
const iaString & |
description = "" |
|
) |
| |
sets text of action
- Parameters
-
brief | the brief description |
description | the full description |
◆ setIcon()
void igor::iAction::setIcon |
( |
const iaString & |
alias | ) |
|
sets icon of the action
- Parameters
-
The documentation for this class was generated from the following files:
- /home/maddin/dev/Igor/src/igor/igor/ui/actions/iAction.h
- /home/maddin/dev/Igor/src/igor/igor/ui/actions/iAction.cpp