55 SensorType = Qt::UserRole + 1,
71 QVariant data(
const QModelIndex &index,
int role )
const override;
72 bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole )
override;
73 Qt::ItemFlags flags(
const QModelIndex &index )
const override;
74 QVariant headerData(
int section, Qt::Orientation orientation,
75 int role = Qt::DisplayRole )
const override;
76 QModelIndex index(
int row,
int column,
77 const QModelIndex &parent = QModelIndex() )
const override;
78 QModelIndex parent(
const QModelIndex &index )
const override;
79 int rowCount(
const QModelIndex &parent = QModelIndex() )
const override;
80 int columnCount(
const QModelIndex &parent = QModelIndex() )
const override;
84 void sensorAdded(
const QString &
id );
85 void sensorRemoved(
const QString &
id );
86 void sensorNameChanged(
const QString &
id );
87 void sensorStatusChanged(
const QString &
id );
88 void sensorDataCaptured(
const QString &
id );
93 QStringList mSensorIds;