QGIS/python/core/auto_additions/qgsrasterattributetable.py
2025-04-03 01:05:31 +10:00

27 lines
1.8 KiB
Python

# The following has been generated automatically from src/core/raster/qgsrasterattributetable.h
try:
QgsRasterAttributeTable.UsageInformation.__attribute_docs__ = {'description': 'Usage description', 'unique': 'Usage must be unique', 'required': 'Usage is required', 'isColor': 'Usage is part of a color component', 'isRamp': 'Usage is part of a ramp component', 'supported': 'Usage is supported', 'maybeClass': 'May be suitable for classification', 'allowedTypes': 'Usage allowed types'}
QgsRasterAttributeTable.UsageInformation.__annotations__ = {'description': str, 'unique': bool, 'required': bool, 'isColor': bool, 'isRamp': bool, 'supported': bool, 'maybeClass': bool, 'allowedTypes': 'List[QMetaType.Type]'}
QgsRasterAttributeTable.UsageInformation.__group__ = ['raster']
except (NameError, AttributeError):
pass
try:
QgsRasterAttributeTable.MinMaxClass.__attribute_docs__ = {'minMaxValues': 'List of values for the class'}
QgsRasterAttributeTable.MinMaxClass.__annotations__ = {'minMaxValues': 'List[float]'}
QgsRasterAttributeTable.MinMaxClass.__group__ = ['raster']
except (NameError, AttributeError):
pass
try:
QgsRasterAttributeTable.guessFieldUsage = staticmethod(QgsRasterAttributeTable.guessFieldUsage)
QgsRasterAttributeTable.usageName = staticmethod(QgsRasterAttributeTable.usageName)
QgsRasterAttributeTable.valueAndColorFieldUsages = staticmethod(QgsRasterAttributeTable.valueAndColorFieldUsages)
QgsRasterAttributeTable.createFromRaster = staticmethod(QgsRasterAttributeTable.createFromRaster)
QgsRasterAttributeTable.usageInformation = staticmethod(QgsRasterAttributeTable.usageInformation)
QgsRasterAttributeTable.__group__ = ['raster']
except (NameError, AttributeError):
pass
try:
QgsRasterAttributeTable.Field.__group__ = ['raster']
except (NameError, AttributeError):
pass