This is an abstract class used to register actions into vp pluging.  
 More...
#include <AbstractAction.h>
This is an abstract class used to register actions into vp pluging. 
Definition at line 59 of file AbstractAction.h.
      
        
          | te::qt::plugins::vp::AbstractAction::AbstractAction | ( | QMenu * | menu | ) |  | 
      
 
Constructor. 
- Parameters
- 
  
    | menu | The parent menu object. |  
 
 
 
  
  | 
        
          | virtual te::qt::plugins::vp::AbstractAction::~AbstractAction | ( |  | ) |  |  | virtual | 
 
 
Add a new layer into layer explorer widget. 
- Parameters
- 
  
    | layer | The layer auto pointer |  
 
 
 
  
  | 
        
          | void te::qt::plugins::vp::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. |  
 
 
 
  
  | 
        
          | QAction* te::qt::plugins::vp::AbstractAction::getAction | ( |  | ) |  |  | inline | 
 
 
Get the list of layers from app. 
- Returns
- The list pf layer auto pointers 
 
 
  
  | 
        
          | virtual void te::qt::plugins::vp::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::vp::AbstractAction::m_action |  | protected | 
 
 
  
  | 
        
          | QMenu* te::qt::plugins::vp::AbstractAction::m_menu |  | protected | 
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/qt/plugins/vp/AbstractAction.h