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::rp::AbstractAction::AbstractAction  | 
          ( | 
          QMenu *  | 
          menu,  | 
        
        
           | 
           | 
          QMenu *  | 
          popupMenu  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | menu | The parent menu object.  | 
  
   
 
 
  
  
      
        
          | virtual te::qt::plugins::rp::AbstractAction::~AbstractAction  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
Add a new layer into layer explorer widget. 
- Parameters
 - 
  
    | layer | The layer auto pointer  | 
  
   
 
 
  
  
      
        
          | void te::qt::plugins::rp::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.  | 
  
   
 
 
  
  
      
        
          | void te::qt::plugins::rp::AbstractAction::createPopUpAction  | 
          ( | 
          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::rp::AbstractAction::getAction  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
Get the selected layer from layer explorer in app. 
- Returns
 - The layer auto pointer 
 
 
 
Get the list of layers from app. 
- Returns
 - The list pf layer auto pointers 
 
 
 
  
  
      
        
          | virtual void te::qt::plugins::rp::AbstractAction::onActionActivated  | 
          ( | 
          bool  | 
          checked | ) | 
           | 
         
       
   | 
  
protectedpure virtualslot   | 
  
 
Slot function used when a action was selected. 
- Parameters
 - 
  
    | checked | Flag used in case a toggle action.  | 
  
   
 
 
  
  
      
        
          | virtual void te::qt::plugins::rp::AbstractAction::onPopUpActionActivated  | 
          ( | 
          bool  | 
          checked | ) | 
           | 
         
       
   | 
  
protectedvirtualslot   | 
  
 
Slot function used when a action was selected from layer pop up. 
- Parameters
 - 
  
    | checked | Flag used in case a toggle action.  | 
  
   
 
 
  
  
      
        
          | QAction* te::qt::plugins::rp::AbstractAction::m_action | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | QMenu* te::qt::plugins::rp::AbstractAction::m_menu | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | QAction* te::qt::plugins::rp::AbstractAction::m_popupAction | 
         
       
   | 
  
protected   | 
  
 
Action used to call the process from pop up layer. 
Definition at line 153 of file AbstractAction.h.
 
 
  
  
      
        
          | QMenu* te::qt::plugins::rp::AbstractAction::m_popupMenu | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: