QGIS/python/core/auto_additions/qgsabstractsensor.py
Nyall Dawson 3f481b568e Record header subfolders as __group__ attribute in PyQGIS classes
This will allow us to logically create subgroups for PyQGIS modules
in the API reference guide
2024-08-17 20:13:12 +10:00

15 lines
936 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"""
try:
QgsAbstractSensor.__group__ = ['sensor']
except NameError:
pass
try:
QgsAbstractSensor.SensorData.__group__ = ['sensor']
except NameError:
pass