This is an abstract class used to register actions into st pluging.
More...
#include <AbstractAction.h>
|
void | createAction (std::string name, std::string pixmap="") |
| Create and set the actions parameters. More...
|
|
This is an abstract class used to register actions into st pluging.
Definition at line 59 of file AbstractAction.h.
te::qt::plugins::st::AbstractAction::AbstractAction |
( |
QMenu * |
menu | ) |
|
Constructor.
- Parameters
-
menu | The parent menu object. |
virtual te::qt::plugins::st::AbstractAction::~AbstractAction |
( |
| ) |
|
|
virtual |
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. |
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. |
QAction* te::qt::plugins::st::AbstractAction::m_action |
|
protected |
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_master/src/terralib/qt/plugins/st/AbstractAction.h