Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
2 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
# The following has been generated automatically from src/core/qgsattributeeditorelement.h | ||
# monkey patching scoped based enum | ||
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" | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters