mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
13 lines
1.1 KiB
Python
13 lines
1.1 KiB
Python
# The following has been generated automatically from src/gui/editorwidgets/qgsjsoneditwidget.h
|
|
# monkey patching scoped based enum
|
|
QgsJsonEditWidget.View.Text.__doc__ = "JSON data displayed as text."
|
|
QgsJsonEditWidget.View.Tree.__doc__ = "JSON data displayed as tree. Tree view is disabled for invalid JSON data."
|
|
QgsJsonEditWidget.View.__doc__ = "View mode, text or tree.\n\n" + '* ``Text``: ' + QgsJsonEditWidget.View.Text.__doc__ + '\n' + '* ``Tree``: ' + QgsJsonEditWidget.View.Tree.__doc__
|
|
# --
|
|
# monkey patching scoped based enum
|
|
QgsJsonEditWidget.FormatJson.Indented.__doc__ = "JSON data formatted with regular indentation"
|
|
QgsJsonEditWidget.FormatJson.Compact.__doc__ = "JSON data formatted as a compact one line string"
|
|
QgsJsonEditWidget.FormatJson.Disabled.__doc__ = "JSON data is not formatted"
|
|
QgsJsonEditWidget.FormatJson.__doc__ = "Format mode in the text view\n\n" + '* ``Indented``: ' + QgsJsonEditWidget.FormatJson.Indented.__doc__ + '\n' + '* ``Compact``: ' + QgsJsonEditWidget.FormatJson.Compact.__doc__ + '\n' + '* ``Disabled``: ' + QgsJsonEditWidget.FormatJson.Disabled.__doc__
|
|
# --
|