Skip to content

Commit

Permalink
run sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 18, 2018
1 parent 6301f9b commit f267adc
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
26 changes: 26 additions & 0 deletions python/core/__init__.py
Expand Up @@ -48,3 +48,29 @@
QgsProject.blockDirtying = ProjectDirtyBlocker
QgsReadWriteContext.enterCategory = ReadWriteContextEnterCategory
QgsTask.fromFunction = fromFunction

# -----------------
# DO NOT EDIT BELOW
# These are automatically added by calling sipify.pl script
QgsTolerance.UnitType.parentClass = lambda: QgsTolerance
QgsAuthManager.MessageLevel.parentClass = lambda: QgsAuthManager
QgsDataItem.Type.parentClass = lambda: QgsDataItem
QgsDataItem.State.parentClass = lambda: QgsDataItem
QgsLayerItem.LayerType.parentClass = lambda: QgsLayerItem
QgsDataProvider.DataCapability.parentClass = lambda: QgsDataProvider
QgsDataSourceUri.SslMode.parentClass = lambda: QgsDataSourceUri
QgsNetworkContentFetcherRegistry.FetchingMode.parentClass = lambda: QgsNetworkContentFetcherRegistry
QgsSnappingConfig.SnappingMode.parentClass = lambda: QgsSnappingConfig
QgsSnappingConfig.SnappingType.parentClass = lambda: QgsSnappingConfig
QgsUnitTypes.DistanceUnit.parentClass = lambda: QgsUnitTypes
QgsUnitTypes.AreaUnit.parentClass = lambda: QgsUnitTypes
QgsUnitTypes.AngleUnit.parentClass = lambda: QgsUnitTypes
QgsUnitTypes.RenderUnit.parentClass = lambda: QgsUnitTypes
QgsUnitTypes.LayoutUnit.parentClass = lambda: QgsUnitTypes
QgsVectorSimplifyMethod.SimplifyHint.parentClass = lambda: QgsVectorSimplifyMethod
QgsVectorSimplifyMethod.SimplifyAlgorithm.parentClass = lambda: QgsVectorSimplifyMethod
QgsRasterProjector.Precision.parentClass = lambda: QgsRasterProjector
QgsAbstractGeometry.SegmentationToleranceType.parentClass = lambda: QgsAbstractGeometry
QgsGeometry.BufferSide.parentClass = lambda: QgsGeometry
QgsGeometry.EndCapStyle.parentClass = lambda: QgsGeometry
QgsGeometry.JoinStyle.parentClass = lambda: QgsGeometry
14 changes: 14 additions & 0 deletions python/gui/__init__.py
Expand Up @@ -25,3 +25,17 @@

from qgis.PyQt import QtCore
from qgis._gui import *

# -----------------
# DO NOT EDIT BELOW
# These are automatically added by calling sipify.pl script
QgsAuthSettingsWidget.WarningType.parentClass = lambda: QgsAuthSettingsWidget
QgsColorButton.Behavior.parentClass = lambda: QgsColorButton
QgsColorTextWidget.ColorTextFormat.parentClass = lambda: QgsColorTextWidget
QgsFilterLineEdit.ClearMode.parentClass = lambda: QgsFilterLineEdit
QgsFloatingWidget.AnchorPoint.parentClass = lambda: QgsFloatingWidget
QgsFontButton.Mode.parentClass = lambda: QgsFontButton
QgsMapToolIdentify.IdentifyMode.parentClass = lambda: QgsMapToolIdentify
QgsAttributeTableFilterModel.FilterMode.parentClass = lambda: QgsAttributeTableFilterModel
QgsAttributeTableFilterModel.ColumnType.parentClass = lambda: QgsAttributeTableFilterModel
QgsDualView.ViewMode.parentClass = lambda: QgsDualView

0 comments on commit f267adc

Please sign in to comment.