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 62 of file AbstractAction.h.
 
◆ AbstractAction() [1/2]
      
        
          | te::qt::plugins::vp::AbstractAction::AbstractAction  | 
          ( | 
          QMenu *  | 
          menu | ) | 
           | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | menu | The parent menu object.  | 
  
   
 
 
◆ AbstractAction() [2/2]
      
        
          | te::qt::plugins::vp::AbstractAction::AbstractAction  | 
          ( | 
          QMenu *  | 
          menu,  | 
        
        
           | 
           | 
          const std::string &  | 
          operationName  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | menu | The parent menu object.  | 
  
   
 
 
◆ ~AbstractAction()
  
  
      
        
          | virtual te::qt::plugins::vp::AbstractAction::~AbstractAction  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ addNewLayer()
Add a new layer into layer explorer widget. 
- Parameters
 - 
  
    | layer | The layer auto pointer  | 
  
   
 
 
◆ configSettings()
  
  
      
        
          | void te::qt::plugins::vp::AbstractAction::configSettings  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ createAction() [1/2]
◆ createAction() [2/2]
  
  
      
        
          | 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.  | 
  
   
 
 
◆ createActionByName()
  
  
      
        
          | void te::qt::plugins::vp::AbstractAction::createActionByName  | 
          ( | 
          const std::string &  | 
          operationName | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Create and set the actions parameters. 
- Parameters
 - 
  
  
 
 
 
◆ createSpatialIndex()
◆ getAction()
  
  
      
        
          | QAction * te::qt::plugins::vp::AbstractAction::getAction  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getLayers()
Get the list of layers from app. 
- Returns
 - The list pf layer auto pointers 
 
 
 
◆ hasShapeFileSpatialIndex()
  
  
      
        
          | bool te::qt::plugins::vp::AbstractAction::hasShapeFileSpatialIndex  | 
          ( | 
          const QString &  | 
          path | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ onActionActivated
  
  
      
        
          | virtual void te::qt::plugins::vp::AbstractAction::onActionActivated  | 
          ( | 
          bool  | 
          checked | ) | 
           | 
         
       
   | 
  
protectedvirtualslot   | 
  
 
Slot function used when a action was selected. 
- Parameters
 - 
  
    | checked | Flag used in case a toggle action.  | 
  
   
 
 
◆ showDialog()
  
  
      
        
          | void te::qt::plugins::vp::AbstractAction::showDialog  | 
          ( | 
          const std::string &  | 
          operationName | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ triggered
◆ m_action
  
  
      
        
          | QAction* te::qt::plugins::vp::AbstractAction::m_action | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_menu
  
  
      
        
          | QMenu* te::qt::plugins::vp::AbstractAction::m_menu | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_operationName
  
  
      
        
          | std::string te::qt::plugins::vp::AbstractAction::m_operationName | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/plugins/vp/AbstractAction.h