16#ifndef QGSSENSORGUIREGISTRY_H 
   17#define QGSSENSORGUIREGISTRY_H 
   48      , mVisibleName( visibleName )
 
 
   56    QString 
type()
 const { 
return mType; }
 
 
  124      , mIcon( creationIcon )
 
  125      , mWidgetFunc( pfWidget )
 
  126      , mCreateFunc( pfCreateFunc )
 
 
 
  248    QMap<QString, QString> sensorTypes() const;
 
  256    void sensorAdded( const QString &type, const QString &name );
 
  264    QMap<QString, QgsSensorAbstractGuiMetadata *> mMetadata;
 
 
An abstract base class for sensor classes.
 
static QIcon getThemeIcon(const QString &name, const QColor &fillColor=QColor(), const QColor &strokeColor=QColor())
Helper to get a theme icon.
 
Registry of available sensor GUI behavior.
 
QgsSensorGuiRegistry(const QgsSensorGuiRegistry &rh)=delete
QgsSensorGuiRegistry cannot be copied.
 
QgsSensorGuiRegistry & operator=(const QgsSensorGuiRegistry &rh)=delete
QgsSensorGuiRegistry cannot be copied.
 
std::function< QgsAbstractSensorWidget *(QgsAbstractSensor *sensor)> QgsSensorWidgetFunc
Sensor configuration widget creation function.
 
std::function< QgsAbstractSensor *(QObject *parent)> QgsSensorCreateFunc
Sensor creation function.