2020-07-11 15:21:29 +02:00
# The following has been generated automatically from src/core/qgsattributeeditorelement.h
# monkey patching scoped based enum
2020-07-13 07:35:08 +02:00
QgsAttributeEditorRelation . Button . Link . __doc__ = " Link button "
QgsAttributeEditorRelation . Button . Unlink . __doc__ = " Unlink button "
QgsAttributeEditorRelation . Button . SaveChildEdits . __doc__ = " Save child edits button "
QgsAttributeEditorRelation . Button . AddChildFeature . __doc__ = " Add child feature (as in some projects we only want to allow to link/unlink existing features) "
QgsAttributeEditorRelation . Button . DuplicateChildFeature . __doc__ = " Duplicate child feature "
QgsAttributeEditorRelation . Button . DeleteChildFeature . __doc__ = " Delete child feature button "
QgsAttributeEditorRelation . Button . ZoomToChildFeature . __doc__ = " Zoom to child feature "
QgsAttributeEditorRelation . Button . AllButtons . __doc__ = " All buttons "
2020-07-11 15:21:29 +02:00
QgsAttributeEditorRelation . Button . __doc__ = ' Possible buttons shown in the relation editor \n \n .. versionadded:: 3.16 \n \n ' + ' * ``Link``: ' + QgsAttributeEditorRelation . Button . Link . __doc__ + ' \n ' + ' * ``Unlink``: ' + QgsAttributeEditorRelation . Button . Unlink . __doc__ + ' \n ' + ' * ``SaveChildEdits``: ' + QgsAttributeEditorRelation . Button . SaveChildEdits . __doc__ + ' \n ' + ' * ``AddChildFeature``: ' + QgsAttributeEditorRelation . Button . AddChildFeature . __doc__ + ' \n ' + ' * ``DuplicateChildFeature``: ' + QgsAttributeEditorRelation . Button . DuplicateChildFeature . __doc__ + ' \n ' + ' * ``DeleteChildFeature``: ' + QgsAttributeEditorRelation . Button . DeleteChildFeature . __doc__ + ' \n ' + ' * ``ZoomToChildFeature``: ' + QgsAttributeEditorRelation . Button . ZoomToChildFeature . __doc__ + ' \n ' + ' * ``AllButtons``: ' + QgsAttributeEditorRelation . Button . AllButtons . __doc__
# --
QgsAttributeEditorRelation . Button . baseClass = QgsAttributeEditorRelation
QgsAttributeEditorRelation . Buttons . baseClass = QgsAttributeEditorRelation
Buttons = QgsAttributeEditorRelation # dirty hack since SIP seems to introduce the flags in module