54 void _timeRemainingChanged(
const QVariant &value);
struct __mavlink_message mavlink_message_t
BatteryFactGroupListModel(QObject *parent=nullptr)
FactGroupWithId * _createFactGroupWithId(uint32_t id) final
bool _shouldHandleMessage(const mavlink_message_t &message, QList< uint32_t > &ids) const final
BatteryFactGroup(uint32_t batteryId, QObject *parent=nullptr)
void handleMessage(Vehicle *vehicle, const mavlink_message_t &message) final
Allows a FactGroup to parse incoming messages and fill in values.
Fact * timeRemainingStr()
Fact * percentRemaining()
FactGroupListModel(const char *factGroupNamePrefix, QObject *parent=nullptr)
FactGroupWithId is a FactGroup which has an id Fact which can be used to identify the group.
FactGroupWithId(int updateRateMsecs, const QString &metaDataFile, QObject *parent=nullptr, bool ignoreCamelCase=false)
A Fact is used to hold a single value within the system.
QModelIndex parent(const QModelIndex &child) const override