| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
Stores GUI metadata about one sensor class. More...
#include <qgssensorguiregistry.h>

Public Member Functions | |
| QgsSensorAbstractGuiMetadata (const QString &type, const QString &visibleName) | |
| Constructor for QgsSensorAbstractGuiMetadata with the specified class type.   | |
| virtual | ~QgsSensorAbstractGuiMetadata ()=default | 
| virtual QgsAbstractSensor * | createSensor (QObject *parent) | 
| Creates an instance of the corresponding sensor type.   | |
| virtual QgsAbstractSensorWidget * | createSensorWidget (QgsAbstractSensor *sensor) | 
| Creates a configuration widget for an sensor of this type.   | |
| virtual QIcon | creationIcon () const | 
| Returns an icon representing creation of the sensor type.   | |
| QString | type () const | 
| Returns the unique type code for the sensor class.   | |
| QString | visibleName () const | 
| Returns a translated, user visible name identifying the corresponding sensor.   | |
Stores GUI metadata about one sensor class.
This is a companion to QgsSensorAbstractMetadata, storing only the components related to the GUI behavior of sensor.
Definition at line 37 of file qgssensorguiregistry.h.
      
  | 
  inline | 
Constructor for QgsSensorAbstractGuiMetadata with the specified class type.
visibleName should be set to a translated, user visible name identifying the corresponding sensor type.
Definition at line 45 of file qgssensorguiregistry.h.
      
  | 
  virtualdefault | 
      
  | 
  inlinevirtual | 
Creates an instance of the corresponding sensor type.
Reimplemented in QgsSensorGuiMetadata.
Definition at line 94 of file qgssensorguiregistry.h.
      
  | 
  inlinevirtual | 
Creates a configuration widget for an sensor of this type.
Can return nullptr if no configuration GUI is required. 
Reimplemented in QgsSensorGuiMetadata.
Definition at line 85 of file qgssensorguiregistry.h.
      
  | 
  inlinevirtual | 
Returns an icon representing creation of the sensor type.
Reimplemented in QgsSensorGuiMetadata.
Definition at line 65 of file qgssensorguiregistry.h.
      
  | 
  inline | 
Returns the unique type code for the sensor class.
Definition at line 55 of file qgssensorguiregistry.h.
      
  | 
  inline | 
Returns a translated, user visible name identifying the corresponding sensor.
Definition at line 60 of file qgssensorguiregistry.h.