Base class for shape map tools metadata to be used in QgsMapToolShapeRegistry.  
 More...
#include <qgsmaptoolshaperegistry.h>
Base class for shape map tools metadata to be used in QgsMapToolShapeRegistry. 
- Since
 - QGIS 3.26 
 
Definition at line 78 of file qgsmaptoolshaperegistry.h.
 
◆ QgsMapToolShapeMetadata()
  
  
      
        
          | QgsMapToolShapeMetadata::QgsMapToolShapeMetadata  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
default   | 
  
 
 
◆ ~QgsMapToolShapeMetadata()
  
  
      
        
          | virtual QgsMapToolShapeMetadata::~QgsMapToolShapeMetadata  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualdefault   | 
  
 
 
◆ category()
Returns the shape category of the tool. 
 
 
◆ factory()
Creates the shape map tool for the given parentTool Caller takes ownership of the returned object. 
 
 
◆ icon()
  
  
      
        
          | virtual QIcon QgsMapToolShapeMetadata::icon  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
Icon to be displayed in the toolbar. 
 
 
◆ id()
  
  
      
        
          | virtual QString QgsMapToolShapeMetadata::id  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
Unique ID for the shape map tool. 
 
 
◆ name()
  
  
      
        
          | virtual QString QgsMapToolShapeMetadata::name  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
Translated readable name. 
 
 
The documentation for this class was generated from the following file: