16#ifndef QGSSENSORGUIREGISTRY_H
17#define QGSSENSORGUIREGISTRY_H
48 , mVisibleName( visibleName )
56 QString
type()
const {
return mType; }
125 , mIcon( creationIcon )
126 , mWidgetFunc( pfWidget )
127 , mCreateFunc( pfCreateFunc )
249 QMap<QString, QString> sensorTypes() const;
257 void sensorAdded( const QString &type, const QString &name );
265 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.