This is an abstract class used to register actions into rp pluging.
More...
#include <AbstractAction.h>
This is an abstract class used to register actions into rp pluging.
Definition at line 59 of file AbstractAction.h.
te::qt::plugins::terramobile::AbstractAction::AbstractAction |
( |
QMenu * |
menu | ) |
|
Constructor.
- Parameters
-
menu | The parent menu object. |
virtual te::qt::plugins::terramobile::AbstractAction::~AbstractAction |
( |
| ) |
|
|
virtual |
Add a new layer into layer explorer widget.
- Parameters
-
layer | The layer auto pointer |
void te::qt::plugins::terramobile::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. |
Get the list of layers from app.
- Returns
- The list pf layer auto pointers
virtual void te::qt::plugins::terramobile::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::terramobile::AbstractAction::m_action |
|
protected |
QMenu* te::qt::plugins::terramobile::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/mobile/AbstractAction.h