QGIS/python/core/auto_additions/qgsabstractsensor.py
Nyall Dawson 989e62a80f Handle docstrings for c++ structs
sip doesn't support the docstring directive for structs (only classes),
so patch these back in via sipify magic
2024-08-16 07:28:29 +10:00

7 lines
771 B
Python

# The following has been generated automatically from src/core/sensor/qgsabstractsensor.h
try:
QgsAbstractSensor.__attribute_docs__ = {'lastValue': 'Last captured sensor value stored as a QVariant.\n\n.. note::\n\n The member can store multiple values if the sensor passes on a QVariantMap.', 'lastTimestamp': 'Timestamp of last captured sensor value', 'nameChanged': 'Emitted when the sensor name has changed.\n', 'statusChanged': 'Emitted when the sensor status has changed.\n', 'dataChanged': 'Emitted when the captured sensor data has changed.\n', 'errorOccurred': 'Emitted when an error has occurred. The ``errorString`` describes the error.\n'}
except NameError:
pass
QgsAbstractSensor.SensorData.__doc__ = """Contains details of a sensor data capture"""