QGIS/python/PyQt6/core/auto_additions/qgsrasterfilewriter.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

14 lines
1.0 KiB
Python

# The following has been generated automatically from src/core/raster/qgsrasterfilewriter.h
QgsRasterFileWriter.SortRecommended = QgsRasterFileWriter.RasterFormatOption.SortRecommended
QgsRasterFileWriter.RasterFormatOptions = lambda flags=0: QgsRasterFileWriter.RasterFormatOption(flags)
try:
QgsRasterFileWriter.__attribute_docs__ = {'driverName': 'Unique driver name', 'filterString': 'Filter string for file picker dialogs'}
except NameError:
pass
QgsRasterFileWriter.filterForDriver = staticmethod(QgsRasterFileWriter.filterForDriver)
QgsRasterFileWriter.supportedFiltersAndFormats = staticmethod(QgsRasterFileWriter.supportedFiltersAndFormats)
QgsRasterFileWriter.supportedFormatExtensions = staticmethod(QgsRasterFileWriter.supportedFormatExtensions)
QgsRasterFileWriter.driverForExtension = staticmethod(QgsRasterFileWriter.driverForExtension)
QgsRasterFileWriter.extensionsForFormat = staticmethod(QgsRasterFileWriter.extensionsForFormat)
QgsRasterFileWriter.FilterFormatDetails.__doc__ = """Details of available filters and formats."""