This is an abstract class used to register actions into st pluging.
More...
#include <AbstractAction.h>
|
| virtual void | onActionActivated (bool checked)=0 |
| | Slot function used when a action was selected.
|
| |
|
| void | createAction (std::string name, std::string pixmap="") |
| | Create and set the actions parameters.
|
| |
|
| QAction * | m_action |
| | Action used to call the process.
|
| |
| QMenu * | m_menu |
| | Parent Menu.
|
| |
This is an abstract class used to register actions into st pluging.
Definition at line 59 of file AbstractAction.h.
◆ AbstractAction()
| te::qt::plugins::st::AbstractAction::AbstractAction |
( |
QMenu * |
menu | ) |
|
Constructor.
- Parameters
-
| menu | The parent menu object. |
◆ ~AbstractAction()
| virtual te::qt::plugins::st::AbstractAction::~AbstractAction |
( |
| ) |
|
|
virtual |
◆ createAction()
| void te::qt::plugins::st::AbstractAction::createAction |
( |
std::string |
name, |
|
|
std::string |
pixmap = "" |
|
) |
| |
|
protected |
Create and set the actions parameters.
- Parameters
-
| name | The action name. |
| pixmap | The action pixmap name. |
◆ onActionActivated
| virtual void te::qt::plugins::st::AbstractAction::onActionActivated |
( |
bool |
checked | ) |
|
|
protectedpure virtualslot |
Slot function used when a action was selected.
- Parameters
-
| checked | Flag used in case a toggle action. |
◆ triggered
◆ m_action
| QAction* te::qt::plugins::st::AbstractAction::m_action |
|
protected |
◆ m_menu
| QMenu* te::qt::plugins::st::AbstractAction::m_menu |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/plugins/st/AbstractAction.h