mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-10 00:04:23 -04:00
This will allow us to logically create subgroups for PyQGIS modules in the API reference guide
23 lines
1.4 KiB
Python
23 lines
1.4 KiB
Python
# The following has been generated automatically from src/gui/editorwidgets/core/qgswidgetwrapper.h
|
|
# monkey patching scoped based enum
|
|
QgsWidgetWrapper.RootPath = QgsWidgetWrapper.Property.RootPath
|
|
QgsWidgetWrapper.RootPath.is_monkey_patched = True
|
|
QgsWidgetWrapper.RootPath.__doc__ = "Root path for external resource"
|
|
QgsWidgetWrapper.DocumentViewerContent = QgsWidgetWrapper.Property.DocumentViewerContent
|
|
QgsWidgetWrapper.DocumentViewerContent.is_monkey_patched = True
|
|
QgsWidgetWrapper.DocumentViewerContent.__doc__ = "Document type for external resource"
|
|
QgsWidgetWrapper.StorageUrl = QgsWidgetWrapper.Property.StorageUrl
|
|
QgsWidgetWrapper.StorageUrl.is_monkey_patched = True
|
|
QgsWidgetWrapper.StorageUrl.__doc__ = "Storage URL for external resource"
|
|
QgsWidgetWrapper.Property.__doc__ = "Data defined properties for different editor widgets.\n\n" + '* ``RootPath``: ' + QgsWidgetWrapper.Property.RootPath.__doc__ + '\n' + '* ``DocumentViewerContent``: ' + QgsWidgetWrapper.Property.DocumentViewerContent.__doc__ + '\n' + '* ``StorageUrl``: ' + QgsWidgetWrapper.Property.StorageUrl.__doc__
|
|
# --
|
|
try:
|
|
QgsWidgetWrapper.__attribute_docs__ = {'contextChanged': 'Signal when :py:class:`QgsAttributeEditorContext` mContext changed\n\n.. versionadded:: 3.4\n'}
|
|
except NameError:
|
|
pass
|
|
QgsWidgetWrapper.fromWidget = staticmethod(QgsWidgetWrapper.fromWidget)
|
|
try:
|
|
QgsWidgetWrapper.__group__ = ['editorwidgets', 'core']
|
|
except NameError:
|
|
pass
|