Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Use enum class
- Loading branch information
1 parent
c259477
commit b0be3d4
Showing
4 changed files
with
41 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# The following has been generated automatically from src/gui/ogr/qgsvectorlayersaveasdialog.h | ||
# monkey patching scoped based enum | ||
QgsVectorLayerSaveAsDialog.Option.Symbology.__doc__ = "Show symbology options" | ||
QgsVectorLayerSaveAsDialog.Option.DestinationCrs.__doc__ = "Show destination CRS (reprojection) option" | ||
QgsVectorLayerSaveAsDialog.Option.Fields.__doc__ = "Show field customization group" | ||
QgsVectorLayerSaveAsDialog.Option.AddToCanvas.__doc__ = "Show add to map option" | ||
QgsVectorLayerSaveAsDialog.Option.SelectedOnly.__doc__ = "Show selected features only option" | ||
QgsVectorLayerSaveAsDialog.Option.GeometryType.__doc__ = "Show geometry group" | ||
QgsVectorLayerSaveAsDialog.Option.Extent.__doc__ = "Show extent group" | ||
QgsVectorLayerSaveAsDialog.Option.Metadata.__doc__ = "Show metadata options" | ||
QgsVectorLayerSaveAsDialog.Option.AllOptions.__doc__ = "" | ||
QgsVectorLayerSaveAsDialog.Option.__doc__ = 'Available dialog options.\n\n' + '* ``Symbology``: ' + QgsVectorLayerSaveAsDialog.Option.Symbology.__doc__ + '\n' + '* ``DestinationCrs``: ' + QgsVectorLayerSaveAsDialog.Option.DestinationCrs.__doc__ + '\n' + '* ``Fields``: ' + QgsVectorLayerSaveAsDialog.Option.Fields.__doc__ + '\n' + '* ``AddToCanvas``: ' + QgsVectorLayerSaveAsDialog.Option.AddToCanvas.__doc__ + '\n' + '* ``SelectedOnly``: ' + QgsVectorLayerSaveAsDialog.Option.SelectedOnly.__doc__ + '\n' + '* ``GeometryType``: ' + QgsVectorLayerSaveAsDialog.Option.GeometryType.__doc__ + '\n' + '* ``Extent``: ' + QgsVectorLayerSaveAsDialog.Option.Extent.__doc__ + '\n' + '* ``Metadata``: ' + QgsVectorLayerSaveAsDialog.Option.Metadata.__doc__ + '\n' + '* ``AllOptions``: ' + QgsVectorLayerSaveAsDialog.Option.AllOptions.__doc__ | ||
# -- | ||
QgsVectorLayerSaveAsDialog.Option.baseClass = QgsVectorLayerSaveAsDialog | ||
QgsVectorLayerSaveAsDialog.Options.baseClass = QgsVectorLayerSaveAsDialog | ||
Options = QgsVectorLayerSaveAsDialog # 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
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