36int QgisEvent = QEvent::User + 1;
43#define QHASH_FOR_CLASS_ENUM(T) \
44 inline uint qHash(const T &t, uint seed) { \
45 return ::qHash(static_cast<typename std::underlying_type<T>::type>(t), seed); \
56 Q_CLASSINFO(
"RegisterEnumClassesUnscoped",
"false" )
65 static QString version();
72 static int versionInt();
79 static QString releaseName();
89 static QString devVersion();
106 Q_ENUM( MessageLevel )
139 HasGeometry = PointLayer | LineLayer | PolygonLayer,
140 VectorLayer = NoGeometry | HasGeometry,
144 VectorTileLayer = 256,
145 PointCloudLayer = 512,
146 AnnotationLayer = 1024,
147 TiledSceneLayer = 2048,
148 All = RasterLayer | VectorLayer | PluginLayer | MeshLayer | VectorTileLayer | PointCloudLayer | AnnotationLayer | TiledSceneLayer,
149 SpatialLayer = RasterLayer | HasGeometry | PluginLayer | MeshLayer | VectorTileLayer | PointCloudLayer | AnnotationLayer | TiledSceneLayer
161 IgnoreMissingStyleErrors = 1 << 0,
163 Q_ENUM( LoadStyleFlag )
210 GeometryCollection = 7,
216 PolyhedralSurface = 15,
224 MultiLineStringZ = 1005,
225 MultiPolygonZ = 1006,
226 GeometryCollectionZ = 1007,
227 CircularStringZ = 1008,
228 CompoundCurveZ = 1009,
229 CurvePolygonZ = 1010,
231 MultiSurfaceZ = 1012,
232 PolyhedralSurfaceZ = 1015,
239 MultiLineStringM = 2005,
240 MultiPolygonM = 2006,
241 GeometryCollectionM = 2007,
242 CircularStringM = 2008,
243 CompoundCurveM = 2009,
244 CurvePolygonM = 2010,
246 MultiSurfaceM = 2012,
247 PolyhedralSurfaceM = 2015,
253 MultiLineStringZM = 3005,
254 MultiPolygonZM = 3006,
255 GeometryCollectionZM = 3007,
256 CircularStringZM = 3008,
257 CompoundCurveZM = 3009,
258 CurvePolygonZM = 3010,
260 MultiSurfaceZM = 3012,
261 PolyhedralSurfaceZM = 3015,
264 Point25D = 0x80000001,
289 Q_ENUM( GeometryType )
311 ARGB32_Premultiplied = 13
327 Q_ENUM( CaptureTechnique )
338 Q_ENUM( VectorLayerTypeFlag )
355 Q_ENUM( PythonMacroMode )
367 SkipFeatureCount = 1 << 1,
369 SkipGetExtent = 1 << 3,
370 SkipFullScan = 1 << 4,
371 ForceReadOnly = 1 << 5,
372 SkipCredentialsRequest = 1 << 6,
373 ParallelThreadLoading = 1 << 7,
375 Q_ENUM( DataProviderReadFlag )
400 DeleteFeatures = 1 << 1,
401 ChangeAttributeValues = 1 << 2,
402 AddAttributes = 1 << 3,
403 DeleteAttributes = 1 << 4,
404 CreateSpatialIndex = 1 << 6,
406 ChangeGeometries = 1 << 8,
407 SelectEncoding = 1 << 13,
408 CreateAttributeIndex = 1 << 12,
409 SimplifyGeometries = 1 << 14,
410 SimplifyGeometriesWithTopologicalValidation = 1 << 15,
411 TransactionSupport = 1 << 16,
412 CircularGeometries = 1 << 17,
413 ChangeFeatures = 1 << 18,
414 RenameAttributes = 1 << 19,
415 FastTruncate = 1 << 20,
416 ReadLayerMetadata = 1 << 21,
417 WriteLayerMetadata = 1 << 22,
418 CancelSupport = 1 << 23,
419 CreateRenderer = 1 << 24,
420 CreateLabeling = 1 << 25,
421 ReloadData = 1 << 26,
422 FeatureSymbology = 1 << 27,
423 EditingCapabilities = AddFeatures | DeleteFeatures | ChangeAttributeValues | ChangeGeometries | AddAttributes | DeleteAttributes | RenameAttributes,
425 Q_ENUM( VectorProviderCapability )
447 Q_ENUM( FeatureCountState )
461 Q_ENUM( SpatialIndexPresence )
476 NoFeaturesAvailable = 0,
478 FeaturesMaybeAvailable
480 Q_ENUM( FeatureAvailability )
490 EditComment = 1 << 1,
493 Q_ENUM( VectorDataProviderAttributeEditCapability )
526 Q_ENUM( ScaleMethod )
545 Q_ENUM( SettingsType )
557 Q_ENUM( SettingsTreeNodeType )
565 NamedListSelectedItemSetting = 1 << 0,
568 Q_ENUM( SettingsTreeNodeOption )
586 Q_ENUM( PropertyType )
599 Q_ENUM( SldExportOption )
610 NoVendorExtension = 0,
611 GeoServerVendorExtension = 1 << 1,
612 DeegreeVendorExtension = 1 << 2,
614 Q_ENUM( SldExportVendorExtension )
623 SaveFormerValue = 1 << 1,
624 SaveEnumFlagAsInt = 1 << 2,
626 Q_ENUM( SettingsOption )
638 AdvancedConfiguration = 3,
640 Q_ENUM( SnappingMode )
656 Q_ENUM( SnappingType )
668 DynamicRotation = 1 << 1,
669 IsSymbolLayerSubSymbol = 1 << 2,
670 ForceVectorRendering = 1 << 3,
671 ExcludeSymbolBuffers = 1 << 4,
673 Q_ENUM( SymbolRenderHint )
688 Q_ENUM( SymbolRotationMode )
697 RendererShouldUseSymbolLevels = 1 << 0,
711 FlagIncludeCrosshairsForMarkerSymbols = 1 << 0,
713 Q_ENUM( SymbolPreviewFlag )
729 DisableFeatureClipping = 1 << 0,
730 CanCalculateMaskGeometryPerFeature = 1 << 1,
732 Q_ENUM( SymbolLayerFlag )
748 DisableSelectionRecoloring = 1 << 0,
750 Q_ENUM( SymbolLayerUserFlag )
777 Q_ENUM( BrowserItemType )
790 Q_ENUM( BrowserItemState )
806 ItemRepresentsFile = 1 << 6,
807 RefreshChildrenWhenItemIsRefreshed = 1 << 7,
810 Q_ENUM( BrowserItemCapability )
830 Q_ENUM( DataItemProviderCapability )
864 Q_ENUM( BrowserLayerType )
877 Q_ENUM( BrowserDirectoryMonitoring )
910 Q_ENUM( VectorExportResult )
918 FieldAliases = 1 << 0,
919 FieldComments = 1 << 2,
921 Q_ENUM( VectorFileWriterCapability )
936 SubsetStringFilter = 1 << 1,
937 GeometryColumn = 1 << 2,
938 PrimaryKeys = 1 << 3,
939 UnstableFeatureIds = 1 << 4
941 Q_ENUM( SqlLayerDefinitionCapability )
963 Q_ENUM( SqlKeywordCategory )
991 Q_ENUM( ActionStart )
1000 FollowEngineSetting,
1003 Q_ENUM( UnplacedLabelVisibility )
1013 AllowOverlapIfRequired,
1014 AllowOverlapAtNoCost,
1016 Q_ENUM( LabelOverlapHandling )
1026 PreferPositionOrdering,
1028 Q_ENUM( LabelPrioritization )
1045 OrderedPositionsAroundPoint,
1049 Q_ENUM( LabelPlacement )
1070 BottomSlightlyRight,
1074 Q_ENUM( LabelPredefinedPointPosition )
1089 Q_ENUM( LabelOffsetType )
1110 Q_ENUM( LabelQuadrantPosition )
1125 Q_ENUM( LabelLinePlacementFlag )
1145 AllowPlacementOutsideOfPolygon = 1 << 0,
1146 AllowPlacementInsideOfPolygon = 1 << 1,
1148 Q_ENUM( LabelPolygonPlacementFlag )
1172 Q_ENUM( UpsideDownLabelHandling )
1189 Q_ENUM( LabelMultiLineAlignment )
1207 Q_ENUM( FileFilterType )
1217 ResolveGeometryType = 1 << 1,
1218 CountFeatures = 1 << 2,
1219 IncludeSystemTables = 1 << 3,
1233 SystemTable = 1 << 0,
1253 Q_ENUM( ShaderInterpolationMethod )
1268 Q_ENUM( ShaderClassificationMethod )
1286 Q_ENUM( RasterPipeInterfaceRole )
1299 Q_ENUM( RasterResamplingStage )
1308 InternalLayerOpacityHandling = 1 << 0,
1309 UseNoDataForOutOfRangePixels = 1 << 1,
1329 UsesMultipleBands = 1 << 0,
1331 Q_ENUM( RasterRendererCapability )
1368 Q_ENUM( RasterAttributeTableFieldUsage )
1380 Q_ENUM( RasterAttributeTableType )
1393 Q_ENUM( RasterExportType )
1404 SourceProviderError = 1,
1406 CreateDatasourceError = 3,
1411 Q_ENUM( RasterFileWriterResult )
1422 TooManyVerticesInFace,
1428 Q_ENUM( MeshEditingErrorType )
1440 Q_ENUM( FilePathType )
1450 AskExcludingRasterBands,
1454 Q_ENUM( SublayerPromptMode )
1471 Q_ENUM( FieldOrigin )
1483 NotSearchable = 1 << 1,
1484 HideFromWms = 1 << 2,
1485 HideFromWfs = 1 << 3,
1487 Q_ENUM( FieldConfigurationFlag )
1506 GeometryCrs = 0x1000,
1507 GeometryWkbType = 0x1001,
1508 CustomProperty = 0x100000,
1510 Q_ENUM( FieldMetadataProperty )
1523 Q_ENUM( SelectionRenderingMode )
1535 RemoveFromSelection,
1537 Q_ENUM( SelectBehavior )
1549 Q_ENUM( SelectGeometryRelationship )
1558 SingleFeatureSelection = 1 << 0,
1559 ToggleSelection = 1 << 1,
1582 FetchFeatureFailed = 3,
1585 Q_ENUM( VectorEditResult )
1594 SemiTransparentCircle,
1598 Q_ENUM( VertexMarkerType )
1612 Q_ENUM( ContentStatus )
1626 Q_ENUM( GpsConnectionType )
1639 Q_ENUM( DeviceConnectionStatus )
1694 Q_ENUM( GpsQualityIndicator )
1719 GroundSpeed = 1 << 2,
1721 TotalTrackLength = 1 << 4,
1722 TrackDistanceFromStart = 1 << 5,
1726 HorizontalAccuracy = 1 << 9,
1727 VerticalAccuracy = 1 << 10,
1728 HvAccuracy = 1 << 11,
1729 SatellitesUsed = 1 << 12,
1730 Timestamp = 1 << 13,
1731 TrackStartTime = 1 << 14,
1732 TrackEndTime = 1 << 15,
1733 TrackDistanceSinceLastPoint = 1 << 16,
1734 TrackTimeSinceLastPoint = 1 << 17,
1735 GeoidalSeparation = 1 << 18,
1736 EllipsoidAltitude = 1 << 19,
1774 QuoteFilePaths = 1 << 0,
1792 Q_ENUM( GpsFeatureType )
1804 NothingHappened = 1000,
1805 InvalidBaseGeometry,
1806 InvalidInputGeometryType,
1808 SelectionIsGreaterThanOne,
1809 GeometryEngineError,
1812 AddPartSelectedGeometryNotFound,
1813 AddPartNotMultiGeometry,
1817 AddRingCrossesExistingRings,
1818 AddRingNotInExistingFeature,
1820 SplitCannotSplitPoint,
1821 GeometryTypeHasChanged,
1823 Q_ENUM( GeometryOperationResult )
1848 Q_ENUM( GeometryValidationEngine )
1860 Q_ENUM( BufferSide )
1873 Q_ENUM( EndCapStyle )
1895 RejectOnInvalidSubGeometry = 1 << 0,
1896 SkipEmptyInteriorRings = 1 << 1,
1898 Q_ENUM( GeosCreationFlag )
1919 Q_ENUM( CoverageValidityResult )
1931 Q_ENUM( MakeValidMethod )
1944 SubsetOfAttributes = 2,
1946 IgnoreStaticNodesDuringExpressionCompilation = 8,
1947 EmbeddedSymbols = 16,
1949 Q_ENUM( FeatureRequestFlag )
1975 Q_ENUM( FeatureRequestFilterType )
1990 Q_ENUM( InvalidGeometryCheck )
2003 Q_ENUM( SpatialFilterType )
2012 IncludeMetadataFile = 1 << 0,
2013 IncludeStyleFile = 1 << 1,
2027 UsersCannotToggleEditing = 1 << 0,
2028 IsBasemapLayer = 1 << 1,
2046 Q_ENUM( AutoRefreshMode )
2055 IsBasemapSource = 1 << 1,
2056 FastExtent2D = 1 << 2,
2057 FastExtent3D = 1 << 3,
2139 Q_ENUM( CrsAxisDirection )
2152 Q_ENUM( CoordinateOrder )
2167 Q_ENUM( CrsIdentifierType )
2188 Q_ENUM( CrsWktVariant )
2210 ScaleDependentBoundingBox = 1 << 0,
2211 SupportsReferenceScale = 1 << 1,
2212 SupportsCallouts = 1 << 2,
2230 Q_ENUM( AnnotationPlacementMode )
2239 FlagNoCreationTools = 1 << 0,
2256 Q_ENUM( AnnotationItemNodeType )
2269 Q_ENUM( AnnotationItemEditOperationResult )
2285 Q_ENUM( TemporalNavigationMode )
2300 Q_ENUM( AnimationState )
2317 Q_ENUM( PlaybackOperation )
2333 Q_ENUM( VectorTemporalMode )
2342 IncludeBeginExcludeEnd = 0,
2343 IncludeBeginIncludeEnd,
2345 Q_ENUM( VectorTemporalLimitMode )
2356 StoresFeatureDateTimeStartAndEndInSeparateFields
SIP_MONKEYPATCH_COMPAT_NAME( ProviderStoresFeatureDateTimeStartAndEndInSeparateFields ),
2358 Q_ENUM( VectorDataProviderTemporalMode )
2370 FixedRangePerBand = 3,
2371 RepresentsTemporalValues = 4,
2373 Q_ENUM( RasterTemporalMode )
2382 MatchUsingWholeRange,
2383 MatchExactUsingStartOfRange,
2384 MatchExactUsingEndOfRange,
2385 FindClosestMatchToStartOfRange,
2386 FindClosestMatchToEndOfRange
2388 Q_ENUM( TemporalIntervalMatchMethod )
2397 RequestedTimesMustExactlyMatchAllAvailableTemporalRanges = 1 << 0,
2399 Q_ENUM( RasterTemporalCapabilityFlag )
2419 Q_ENUM( TransformDirection )
2428 BallparkTransformsAreAppropriate = 1 << 0,
2429 IgnoreImpossibleTransformations = 1 << 1,
2431 Q_ENUM( CoordinateTransformationFlag )
2448 Antialiasing = 0x01,
2449 DrawEditingInfo = 0x02,
2450 ForceVectorOutput = 0x04,
2451 UseAdvancedEffects = 0x08,
2452 DrawLabeling = 0x10,
2453 UseRenderingOptimization = 0x20,
2454 DrawSelection = 0x40,
2455 DrawSymbolBounds = 0x80,
2456 RenderMapTile = 0x100,
2457 RenderPartialOutput = 0x200,
2458 RenderPreviewJob = 0x400,
2459 RenderBlocking = 0x800,
2460 LosslessImageRendering = 0x1000,
2461 Render3DMap = 0x2000,
2462 HighQualityImageTransforms = 0x4000,
2463 SkipSymbolRendering = 0x8000,
2464 ForceRasterMasks = 0x10000,
2465 RecordProfile = 0x20000,
2466 AlwaysUseGlobalMasks = 0x40000,
2480 DrawEditingInfo = 0x01,
2481 ForceVectorOutput = 0x02,
2482 UseAdvancedEffects = 0x04,
2483 UseRenderingOptimization = 0x08,
2484 DrawSelection = 0x10,
2485 DrawSymbolBounds = 0x20,
2486 RenderMapTile = 0x40,
2487 Antialiasing = 0x80,
2488 RenderPartialOutput = 0x100,
2489 RenderPreviewJob = 0x200,
2490 RenderBlocking = 0x400,
2491 RenderSymbolPreview = 0x800,
2492 LosslessImageRendering = 0x1000,
2493 ApplyScalingWorkaroundForTextRendering = 0x2000,
2494 Render3DMap = 0x4000,
2495 ApplyClipAfterReprojection = 0x8000,
2496 RenderingSubSymbol = 0x10000,
2497 HighQualityImageTransforms = 0x20000,
2498 SkipSymbolRendering = 0x40000,
2499 RecordProfile = 0x80000,
2500 AlwaysUseGlobalMasks = 0x100000,
2514 RenderPartialOutputs = 1 << 0,
2515 RenderPartialOutputOverPreviousCachedImage = 1 << 1,
2517 Q_ENUM( MapLayerRendererFlag )
2539 Q_ENUM( TextRenderFormat )
2550 UseAllLabels = 1 << 1,
2551 UsePartialCandidates = 1 << 2,
2553 RenderOutlineLabels = 1 << 3,
2554 DrawLabelRectOnly = 1 << 4,
2555 DrawCandidates = 1 << 5,
2556 DrawUnplacedLabels = 1 << 6,
2557 CollectUnplacedLabels = 1 << 7,
2558 DrawLabelMetrics = 1 << 8,
2560 Q_ENUM( LabelingFlag )
2584 Q_ENUM( LabelPlacementEngineVersion )
2599 Q_ENUM( TextOrientation )
2613 RectangleCapHeightBased,
2614 RectangleAscentBased,
2616 Q_ENUM( TextLayoutMode )
2632 Q_ENUM( TextComponent )
2648 Q_ENUM( TextHorizontalAlignment )
2666 Q_ENUM( TextVerticalAlignment )
2682 Q_ENUM( TextCharacterVerticalAlignment )
2696 SnappedToGridGlobal = 3,
2698 Q_ENUM( VectorSimplificationAlgorithm )
2709 NoSimplification = 0,
2710 GeometrySimplification = 1,
2711 AntialiasingSimplification = 2,
2712 FullSimplification = 3,
2714 Q_ENUM( VectorRenderingSimplificationFlag )
2738 Q_ENUM( RenderSubcomponentProperty )
2749 Q_ENUM( VertexType )
2765 EquilateralTriangle,
2798 Q_ENUM( MarkerShape )
2811 LastVertex = 1 << 2,
2812 FirstVertex = 1 << 3,
2813 CentralPoint = 1 << 4,
2814 CurvePoint = 1 << 5,
2815 SegmentCenter = 1 << 6,
2816 InnerVertices = 1 << 7,
2818 Q_ENUM( MarkerLinePlacement )
2829 IntervalCartesian2D = 1 << 0,
2834 Q_ENUM( LinearReferencingPlacement )
2843 CartesianDistance2D,
2847 Q_ENUM( LinearReferencingLabelSource )
2861 Q_ENUM( GradientColorSource )
2876 Q_ENUM( GradientType )
2890 Q_ENUM( SymbolCoordinateReference )
2906 Q_ENUM( GradientSpread )
2920 Q_ENUM( PointCountMethod )
2934 Q_ENUM( MarkerClipMode )
2947 Q_ENUM( LineClipMode )
2962 Q_ENUM( DashPatternLineEndingRule )
2971 ScaleBothDashAndGap,
2975 Q_ENUM( DashPatternSizeAdjustment )
2989 Q_ENUM( GraduatedMethod )
3004 Q_ENUM( PlotAxisSuffixPlacement )
3030 Q_ENUM( TilePixelRatio )
3046 ForceFirstLetterToCapital = 4,
3049 UpperCamelCase = 1005,
3050 AllSmallCaps = 1006,
3052 Q_ENUM( Capitalization )
3063 Q_ENUM( TextRendererFlag )
3090 Q_ENUM( AngularDirection )
3103 Q_ENUM( RendererUsage )
3112 Sync3DTo2D = 1 << 0,
3113 Sync2DTo3D = 1 << 1,
3115 Q_ENUM( ViewSyncModeFlag )
3126 WhenOutsideVisibleExtent,
3129 Q_ENUM( MapRecenteringMode )
3138 LocalProfile = 1 << 0,
3141 Q_ENUM( HistoryProviderBackend )
3168 Q_ENUM( ProcessingSourceType )
3239 RegeneratesPrimaryKey = 1 << 0,
3240 RegeneratesPrimaryKeyInSomeScenarios = 1 << 1,
3242 Q_ENUM( ProcessingAlgorithmDocumentationFlag )
3265 Q_ENUM( ProcessingPropertyAvailability )
3280 Q_ENUM( ProcessingLogLevel )
3294 Q_ENUM( ProcessingFeatureSourceDefinitionFlag )
3317 Q_ENUM( ProcessingFeatureSourceFlag )
3343 Q_ENUM( ProcessingParameterTypeFlag )
3372 Q_ENUM( ProcessingParameterFlag )
3396 Q_ENUM( ProcessingFileParameterBehavior )
3410 Q_ENUM( ProcessingNumberParameterType )
3428 Q_ENUM( ProcessingFieldParameterDataType )
3443 Q_ENUM( ProcessingDateTimeParameterDataType )
3459 Q_ENUM( ProcessingModelChildParameterSource )
3472 Q_ENUM( ProcessingModelChildAlgorithmExecutionStatus )
3487 Q_ENUM( ProcessingTinInputLayerType )
3499 Q_ENUM( CrsDefinitionFormat )
3516 Q_ENUM( FieldDomainSplitPolicy )
3532 Q_ENUM( FieldDomainMergePolicy )
3547 Q_ENUM( FieldDuplicatePolicy )
3560 Q_ENUM( FieldDomainType )
3570 AutomaticGroups = 1,
3573 Q_ENUM( TransactionMode )
3586 Q_ENUM( AltitudeClamping )
3598 Q_ENUM( AltitudeBinding )
3608 IncludeLowerExcludeUpper,
3609 ExcludeLowerIncludeUpper,
3612 Q_ENUM( RangeLimits )
3621 FixedElevationRange = 0,
3622 RepresentsElevationSurface = 1,
3623 FixedRangePerBand = 2,
3624 DynamicRangePerBand = 3,
3626 Q_ENUM( RasterElevationMode )
3635 FixedElevationRange = 0,
3637 FixedRangePerGroup = 2,
3639 Q_ENUM( MeshElevationMode )
3652 Q_ENUM( BetweenLineConstraint )
3665 Q_ENUM( LineExtensionSide )
3682 Q_ENUM( CadConstraintType )
3692 EvaluateDefaultValuesOnProviderSide = 1 << 0,
3693 TrustStoredLayerStatistics = 1 << 1,
3694 RememberLayerEditStatusBetweenSessions = 1 << 2,
3695 RememberAttributeTableWindowsBetweenSessions = 1 << 3,
3697 Q_ENUM( ProjectFlag )
3708 ShowContextMenu = 1 << 0,
3710 Q_ENUM( PlotToolFlag )
3734 Q_ENUM( Point3DShape )
3746 Q_ENUM( LightSourceType )
3758 Q_ENUM( NavigationMode )
3771 Q_ENUM( VerticalAxisInversion )
3805 RespectsMaximumErrorMapUnit = 1 << 0,
3806 RespectsDistanceRange = 1 << 1,
3807 RespectsElevationRange = 1 << 2,
3809 Q_ENUM( ProfileGeneratorFlag )
3822 DistanceVsElevationTable,
3836 Q_ENUM( PointCloudSymbol )
3849 Q_ENUM( PointCloudDrawOrder )
3861 AvoidIntersectionsCurrentLayer,
3862 AvoidIntersectionsLayers,
3864 Q_ENUM( AvoidIntersectionsMode )
3878 Q_ENUM( ProjectFileFormat )
3894 DontLoadProjectStyles = 1 << 5,
3895 ForceReadOnlyLayers = 1 << 6,
3896 DontUpgradeAnnotations = 1 << 7,
3898 Q_ENUM( ProjectReadFlag )
3920 ProjectStyles = 1 << 0,
3922 Q_ENUM( ProjectCapability )
3947 Q_ENUM( MapBoxGlStyleSourceType )
3966 Q_ENUM( ArcGisRestServiceType )
3980 Q_ENUM( RelationshipType )
3994 Q_ENUM( RelationshipStrength )
4008 Q_ENUM( RelationshipCardinality )
4017 MultipleFieldKeys = 1 << 0,
4018 ForwardPathLabel = 1 << 1,
4019 BackwardPathLabel = 1 << 2,
4021 Q_ENUM( RelationshipCapability )
4042 Q_ENUM( CoordinateDisplayType )
4055 Q_ENUM( SettingsOrigin )
4076 Q_ENUM( ScriptLanguage )
4088 CheckSyntax = 1 << 1,
4089 ToggleComment = 1 << 2,
4091 Q_ENUM( ScriptLanguageCapability )
4108 AboveInsertionPoint,
4110 OptimalInInsertionGroup,
4112 Q_ENUM( LayerTreeInsertionMethod )
4121 SkipVisibilityCheck = 1 << 0,
4123 Q_ENUM( LayerTreeFilterFlag )
4143 ShowRuleDetails = 1 << 0,
4145 Q_ENUM( LegendJsonRenderFlag )
4162 Q_ENUM( ActionType )
4174 SingleFeature = 1 << 1,
4175 MultipleFeatures = 1 << 2,
4176 AllActions = Layer | SingleFeature | MultipleFeatures
4178 Q_ENUM( MapLayerActionTarget )
4199 EnabledOnlyWhenEditable = 1 << 1,
4201 Q_ENUM( MapLayerActionFlag )
4231 Q_ENUM( AttributeActionType )
4245 Q_ENUM( MetadataDateType )
4275 ContinuousPalette = 17
4277 Q_ENUM( RasterColorInterpretation )
4293 Q_ENUM( RasterLayerType )
4306 SingleBandPseudoColor,
4308 PalettedSingleBandGray,
4309 PalettedSingleBandPseudoColor,
4310 PalettedMultiBandColor,
4311 MultiBandSingleBandGray,
4312 MultiBandSingleBandPseudoColor,
4316 Q_ENUM( RasterDrawingStyle )
4331 Q_ENUM( RasterPyramidFormat )
4346 Q_ENUM( RasterBuildPyramidOption )
4363 Q_ENUM( RasterIdentifyFormat )
4382 BuildPyramids = 1 << 4,
4384 IdentifyValue = 1 << 6,
4385 IdentifyText = 1 << 7,
4386 IdentifyHtml = 1 << 8,
4387 IdentifyFeature = 1 << 9,
4390 Q_ENUM( RasterInterfaceCapability )
4411 NoProviderCapabilities = 0,
4412 ReadLayerMetadata = 1 << 1,
4413 WriteLayerMetadata = 1 << 2,
4414 ProviderHintBenefitsFromResampling = 1 << 3,
4415 ProviderHintCanPerformProviderResampling = 1 << 4,
4416 ReloadData = 1 << 5,
4417 DpiDependentData = 1 << 6,
4418 NativeRasterAttributeTable = 1 << 7,
4419 BuildPyramids = 1 << 8,
4421 Q_ENUM( RasterProviderCapability )
4443 Q_ENUM( ElevationMapCombineMethod )
4496 Q_ENUM( SystemOfMeasurement )
4510 Q_ENUM( MapToolUnit )
4550 Q_ENUM( DistanceUnit )
4565 Q_ENUM( DistanceUnitType )
4613 Q_ENUM( VolumeUnit )
4658 Q_ENUM( TemporalUnit )
4678 Q_ENUM( RenderUnit )
4698 Q_ENUM( LayoutUnit )
4712 Q_ENUM( LayoutUnitType )
4727 Q_ENUM( PictureFormat )
4743 Q_ENUM( ScaleBarAlignment )
4757 Q_ENUM( ScaleBarSegmentSizeMode )
4771 Q_ENUM( ScaleBarDistanceLabelVerticalPlacement )
4785 Q_ENUM( ScaleBarDistanceLabelHorizontalPlacement )
4818 Q_ENUM( PostgresRelKind )
4827 SetFieldComment = 1 << 0,
4828 SetFieldAlias = 1 << 1,
4830 Q_ENUM( DatabaseProviderConnectionCapability2 )
4841 SaveToDatabase = 1 << 1,
4842 LoadFromDatabase = 1 << 2,
4843 DeleteFromDatabase = 1 << 3
4860 Q_ENUM( UserProfileSelectionPolicy )
4881 Q_ENUM( AttributeEditorType )
4894 Q_ENUM( AttributeEditorContainerType )
4909 Q_ENUM( AttributeFormLayout )
4924 Q_ENUM( AttributeFormSuppression )
4940 Q_ENUM( AttributeFormPythonInitCodeSource )
4953 Q_ENUM( ExpressionType )
4968 Q_ENUM( FeatureSymbologyExport )
4977 AlwaysUseTileMatrixSetFromProvider = 1 << 1,
4979 Q_ENUM( VectorTileProviderFlag )
4995 ReadLayerMetadata = 1 << 1,
4997 Q_ENUM( VectorTileProviderCapability )
5016 AvailableNoChildren,
5017 UseLowerZoomLevelTile,
5019 Q_ENUM( TileAvailability )
5028 ReadLayerMetadata = 1 << 1,
5030 Q_ENUM( TiledSceneProviderCapability )
5051 Q_ENUM( TiledSceneBoundingVolumeType )
5066 Q_ENUM( TileRefinementProcess )
5079 Q_ENUM( TileChildrenAvailability )
5088 NoHierarchyFetch = 1 << 0,
5090 Q_ENUM( TiledSceneRequestFlag )
5107 RequiresTextures = 1 << 0,
5108 ForceRasterRender = 1 << 1,
5109 RendersTriangles = 1 << 2,
5110 RendersLines = 1 << 3,
5112 Q_ENUM( TiledSceneRendererFlag )
5129 RA_NearestNeighbour = 0,
5142 Q_ENUM( GdalResampleAlgorithm )
5158 Q_ENUM( VsiHandlerType )
5179 All = Count | Sum | Mean | Median | StDev | Max | Min | Range | Minority | Majority | Variety | Variance,
5180 Default = Count | Sum | Mean,
5182 Q_ENUM( ZonalStatistic )
5204 FailedToCreateField = 8,
5207 Q_ENUM( ZonalStatisticResult )
5233 StringMinimumLength,
5234 StringMaximumLength,
5238 StringConcatenateUnique
5250 CountMissing = 1 << 15,
5255 StDevSample = 1 << 5,
5262 FirstQuartile = 1 << 12,
5263 ThirdQuartile = 1 << 13,
5264 InterQuartileRange = 1 << 14,
5267 All = Count | CountMissing | Sum | Mean | Median | StDev | Max | Min | Range | Minority | Majority | Variety | FirstQuartile | ThirdQuartile | InterQuartileRange | First | Last
5292 All = Count | CountDistinct | CountMissing | Min | Max | Range,
5294 Q_ENUM( DateTimeStatistic )
5321 All = Count | CountDistinct | CountMissing | Min | Max | MinimumLength | MaximumLength | MeanLength | Minority | Majority,
5323 Q_ENUM( StringStatistic )
5347 SumOfSquares = 1 << 6,
5348 All = Min | Max | Range | Sum | Mean | StdDev | SumOfSquares
5350 Q_ENUM( RasterBandStatistic )
5378 Q_ENUM( SensorThingsEntity )
5390 Q_ENUM( ColorModel )
5395 static const
double DEFAULT_SEARCH_RADIUS_MM;
5398 static const
float DEFAULT_MAPTOPIXEL_THRESHOLD;
5405 static const QColor DEFAULT_HIGHLIGHT_COLOR;
5410 static const
double DEFAULT_HIGHLIGHT_BUFFER_MM;
5415 static const
double DEFAULT_HIGHLIGHT_MIN_WIDTH_MM;
5422 static const
double SCALE_PRECISION;
5428 static const
double DEFAULT_Z_COORDINATE;
5435 static const
double DEFAULT_M_COORDINATE;
5441 static const
double UI_SCALE_FACTOR;
5446 static const
double DEFAULT_SNAP_TOLERANCE;
5458 static QString defaultProjectScales();
5465 static
int geosVersionInt();
5472 static
int geosVersionMajor();
5479 static
int geosVersionMinor();
5486 static
int geosVersionPatch();
5493 static QString geosVersion();
5580#define cast_to_fptr(f) f
5601 , mPreviousState( object->blockSignals( true ) )
5606 mObject->blockSignals( mPreviousState );
5614 Object *mObject =
nullptr;
5615 bool mPreviousState;
5638CORE_EXPORT uint
qHash(
const QVariant &variant );
5652 const double roundFactor = std::pow( 10, -
precision );
5653 str = QString::number(
static_cast< long long >( std::round( a / roundFactor ) * roundFactor ) );
5658 if (
str.contains( QLatin1Char(
'.' ) ) )
5661 int idx =
str.length() - 1;
5662 while (
str.at( idx ) ==
'0' && idx > 1 )
5666 if ( idx <
str.length() - 1 )
5667 str.truncate(
str.at( idx ) ==
'.' ? idx : idx + 1 );
5677 if (
str == QLatin1String(
"-0" ) )
5679 return QLatin1String(
"0" );
5692 const bool aIsNan = std::isnan( a );
5693 const bool bIsNan = std::isnan( b );
5694 if ( aIsNan || bIsNan )
5695 return aIsNan && bIsNan;
5710inline bool qgsNumberNear( T a, T b, T epsilon = std::numeric_limits<T>::epsilon() * 4 )
5712 const bool aIsNan = std::isnan( a );
5713 const bool bIsNan = std::isnan( b );
5714 if ( aIsNan || bIsNan )
5715 return aIsNan && bIsNan;
5717 const T diff = a - b;
5718 return diff >= -epsilon && diff <= epsilon;
5728inline bool qgsDoubleNear(
double a,
double b,
double epsilon = 4 * std::numeric_limits<double>::epsilon() )
5730 return qgsNumberNear<double>( a, b, epsilon );
5739inline bool qgsFloatNear(
float a,
float b,
float epsilon = 4 * FLT_EPSILON )
5741 return qgsNumberNear<float>( a, b, epsilon );
5747 const bool aIsNan = std::isnan( a );
5748 const bool bIsNan = std::isnan( b );
5749 if ( aIsNan || bIsNan )
5750 return aIsNan && bIsNan;
5758 const double ar = std::frexp( a, &aexp );
5759 const double br = std::frexp( b, &bexp );
5761 return aexp == bexp &&
5762 std::round( ar * std::pow( 10.0, significantDigits ) ) == std::round( br * std::pow( 10.0, significantDigits ) );
5771 const double m = ( number < 0.0 ) ? -1.0 : 1.0;
5772 const double scaleFactor = std::pow( 10.0, places );
5773 return ( std::round( number * m * scaleFactor ) / scaleFactor ) * m;
5784template<
class Key,
class Value>
5788 for (
auto it = map.constBegin(); it != map.constEnd(); it++ )
5789 result += QString(
"%1%2" ).arg( it.key() ).arg( separator );
5791 result.chop( separator.size() );
5801template<
class Key,
class Value>
5805 for (
auto it = map.constBegin(); it != map.constEnd(); it++ )
5806 result += QString(
"%1%2" ).arg( it.value() ).arg( separator );
5808 result.chop( separator.size() );
5819QString
qgsSetJoin(
const QSet<T> &set,
const QString &separator )
5822 for (
auto it = set.constBegin(); it != set.constEnd(); it++ )
5823 result += QString(
"%1%2" ).arg( *it ).arg( separator );
5825 result.chop( separator.size() );
5855 template<
typename To,
typename From>
inline To down_cast( From *f )
5858 ( std::is_base_of<From,
5859 typename std::remove_pointer<To>::type>::value ),
5860 "target type not derived from source type" );
5861 Q_ASSERT( f ==
nullptr ||
dynamic_cast<To
>( f ) !=
nullptr );
5862 return static_cast<To
>( f );
5866 QSet<T> listToSet(
const QList<T> &list )
5868 return QSet<T>( list.begin(), list.end() );
5872 QList<T> setToList(
const QSet<T> &set )
5874 return QList<T>( set.begin(), set.end() );
5887 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
5888 Q_ASSERT( metaEnum.isValid() );
5890 for (
int idx = 0; idx < metaEnum.keyCount(); ++idx )
5892 enumList.append(
static_cast<T
>( metaEnum.value( idx ) ) );
5904 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
5905 Q_ASSERT( metaEnum.isValid() );
5906 QMap<T, QString> enumMap;
5907 for (
int idx = 0; idx < metaEnum.keyCount(); ++idx )
5909 enumMap.insert(
static_cast<T
>( metaEnum.value( idx ) ), QString( metaEnum.key( idx ) ) );
5921 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
5922 Q_ASSERT( metaEnum.isValid() );
5923 const char *key = metaEnum.valueToKey(
static_cast<int>( value ) );
5926 *returnOk = key ? true :
false;
5928 return QString::fromUtf8( key );
5938template<
class T> T
qgsEnumKeyToValue(
const QString &key,
const T &defaultValue,
bool tryValueAsKey =
true,
bool *returnOk =
nullptr )
SIP_SKIP
5940 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
5941 Q_ASSERT( metaEnum.isValid() );
5943 T v =
static_cast<T
>( metaEnum.keyToValue( key.toUtf8().data(), &ok ) );
5955 if ( tryValueAsKey )
5957 bool canConvert =
false;
5958 const int intValue = key.toInt( &canConvert );
5959 if ( canConvert && metaEnum.valueToKey( intValue ) )
5965 return static_cast<T
>( intValue );
5969 return defaultValue;
5979 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
5980 Q_ASSERT( metaEnum.isValid() );
5981 int intValue =
static_cast<int>( value );
5982 const QByteArray ba = metaEnum.valueToKeys( intValue );
5985 const int intValueCheck = metaEnum.keysToValue( ba );
5986 bool ok = intValue == intValueCheck;
5989 return ok ? QString::fromUtf8( ba ) : QString();
5999template<
class T> T
qgsFlagKeysToValue(
const QString &keys,
const T &defaultValue,
bool tryValueAsKey =
true,
bool *returnOk =
nullptr )
SIP_SKIP
6001 if ( keys.isEmpty() )
6007 return defaultValue;
6009 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
6010 Q_ASSERT( metaEnum.isValid() );
6012 T v =
static_cast<T
>( metaEnum.keysToValue( keys.toUtf8().constData(), &ok ) );
6024 if ( tryValueAsKey )
6026 bool canConvert =
false;
6027 const int intValue = keys.toInt( &canConvert );
6030 const QByteArray keys = metaEnum.valueToKeys( intValue );
6031 const int intValueCheck = metaEnum.keysToValue( keys );
6032 if ( intValue == intValueCheck )
6038 return T( intValue );
6043 return defaultValue;
6097CORE_EXPORT
bool qgsVariantEqual(
const QVariant &lhs,
const QVariant &rhs );
6107#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
6115inline bool operator> (
const QVariant &v1,
const QVariant &v2 )
6129inline bool operator< (
const QVariant &v1,
const QVariant &v2 )
6136#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
6141template<> CORE_EXPORT
bool qMapLessThanKey<QVariantList>(
const QVariantList &key1,
const QVariantList &key2 )
SIP_SKIP;
6144CORE_EXPORT QString
qgsVsiPrefix(
const QString &path );
6162#define CONSTLATIN1STRING inline const QLatin1String
6164#define CONSTLATIN1STRING constexpr QLatin1String
6168class ScopedIntIncrementor
6172 ScopedIntIncrementor(
int *variable )
6173 : mVariable( variable )
6178 ScopedIntIncrementor(
const ScopedIntIncrementor &other ) =
delete;
6179 ScopedIntIncrementor &operator=(
const ScopedIntIncrementor &other ) =
delete;
6186 mVariable =
nullptr;
6189 ~ScopedIntIncrementor()
6195 int *mVariable =
nullptr;
6205 return QLatin1String(
6206 R
"""(GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] )"""
6213 return QLatin1String(
"+proj=longlat +datum=WGS84 +no_defs" );
6219 return QLatin1String(
"EPSG:4326" );
6225 return QLatin1String(
"NONE" );
6231const int PREVIEW_JOB_DELAY_MS = 250;
6234const int MAXIMUM_LAYER_PREVIEW_TIME_MS = 250;
6279#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) || defined(__clang__)
6281#define Q_NOWARN_DEPRECATED_PUSH \
6282 _Pragma("GCC diagnostic push") \
6283 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"");
6284#define Q_NOWARN_DEPRECATED_POP \
6285 _Pragma("GCC diagnostic pop");
6286#define Q_NOWARN_UNREACHABLE_PUSH
6287#define Q_NOWARN_UNREACHABLE_POP
6289#elif defined(_MSC_VER)
6291#define Q_NOWARN_DEPRECATED_PUSH \
6292 __pragma(warning(push)) \
6293 __pragma(warning(disable:4996))
6294#define Q_NOWARN_DEPRECATED_POP \
6295 __pragma(warning(pop))
6296#define Q_NOWARN_UNREACHABLE_PUSH \
6297 __pragma(warning(push)) \
6298 __pragma(warning(disable:4702))
6299#define Q_NOWARN_UNREACHABLE_POP \
6300 __pragma(warning(pop))
6304#define Q_NOWARN_DEPRECATED_PUSH
6305#define Q_NOWARN_DEPRECATED_POP
6306#define Q_NOWARN_UNREACHABLE_PUSH
6307#define Q_NOWARN_UNREACHABLE_POP
6314# define QGISEXTERN extern "C" __declspec( dllexport )
6316# if defined(__GNUC__) || defined(__clang__)
6317# define QGISEXTERN extern "C" __attribute__ ((visibility ("default")))
6319# define QGISEXTERN extern "C"
6326#if __cplusplus >= 201703L
6327#define NODISCARD [[nodiscard]]
6328#elif defined(__clang__)
6329#define NODISCARD [[nodiscard]]
6330#elif defined(_MSC_VER)
6332#elif defined(__has_cpp_attribute)
6333#if __has_cpp_attribute(nodiscard)
6334#define NODISCARD [[nodiscard]]
6335#elif __has_cpp_attribute(gnu::warn_unused_result)
6336#define NODISCARD [[gnu::warn_unused_result]]
6338#define NODISCARD Q_REQUIRED_RESULT
6341#define NODISCARD Q_REQUIRED_RESULT
6344#if __cplusplus >= 201703L
6345#define MAYBE_UNUSED [[maybe_unused]]
6346#elif defined(__clang__)
6347#define MAYBE_UNUSED [[maybe_unused]]
6348#elif defined(_MSC_VER)
6350#elif defined(__has_cpp_attribute)
6351#if __has_cpp_attribute(gnu::unused)
6352#define MAYBE_UNUSED [[gnu::unused]]
6366#define BUILTIN_UNREACHABLE \
6368#elif defined(__GNUC__) && !defined(__clang__)
6379#define BUILTIN_UNREACHABLE \
6380 __builtin_unreachable();
6382#define BUILTIN_UNREACHABLE
6392QString CORE_EXPORT
geoWkt();
The Qgis class provides global constants for use throughout the application.
DistanceUnitType
Types of distance units.
GnssConstellation
GNSS constellation.
SettingsOption
Settings options.
ProfileGeneratorFlag
Flags that control the way the QgsAbstractProfileGenerator operate.
ProcessingSourceType
Processing data source types.
GpsQualityIndicator
GPS signal quality indicator.
DataItemProviderCapability
Capabilities for data item providers.
ProcessingFileParameterBehavior
Flags which dictate the behavior of QgsProcessingParameterFile.
QFlags< MapLayerRendererFlag > MapLayerRendererFlags
Flags which control how map layer renderers behave.
ProjectReadFlag
Flags which control project read behavior.
QFlags< BabelCommandFlag > BabelCommandFlags
Babel command flags.
MapToolUnit
Type of unit of tolerance value from settings.
PlotAxisSuffixPlacement
Placement options for suffixes in the labels for axis of plots.
ProcessingModelChildAlgorithmExecutionStatus
Reflects the status of a child algorithm in a Processing model.
QFlags< GpsInformationComponent > GpsInformationComponents
GPS information component.
ScaleBarDistanceLabelHorizontalPlacement
Scale bar distance label horizontal placement.
PointCloudSymbol
Rendering symbols for point cloud points.
SymbolRotationMode
Modes for handling how symbol and text entity rotation is handled when maps are rotated.
GeometryValidityFlag
Geometry validity check flags.
QFlags< RasterProviderCapability > RasterProviderCapabilities
Raster data provider capabilities.
ExpressionType
Expression types.
MapLayerActionFlag
Map layer action flags.
ScaleBarDistanceLabelVerticalPlacement
Scale bar distance label vertical placement.
MapLayerProperty
Generic map layer properties.
VectorProviderCapability
Vector data provider capabilities.
BufferSide
Side of line to buffer.
RasterResamplingStage
Stage at which raster resampling occurs.
QFlags< MapLayerActionTarget > MapLayerActionTargets
Map layer action targets.
VectorTileProviderCapability
Enumeration with capabilities that vector tile data providers might implement.
AltitudeClamping
Altitude clamping.
VectorTileProviderFlag
Flags for vector tile data providers.
VectorTemporalMode
Vector layer temporal feature modes.
SublayerFlag
Flags which reflect the properties of sublayers in a dataset.
QFlags< ProjectCapability > ProjectCapabilities
Flags which control project capabilities.
LabelLinePlacementFlag
Line placement flags, which control how candidates are generated for a linear feature.
CoordinateDisplayType
Formats for displaying coordinates.
ProcessingParameterTypeFlag
Flags which dictate the behavior of Processing parameter types.
QFlags< VectorRenderingSimplificationFlag > VectorRenderingSimplificationFlags
Simplification flags for vector feature rendering.
DashPatternSizeAdjustment
Dash pattern size adjustment options.
GpsFixStatus
GPS fix status.
AnnotationItemNodeType
Annotation item node types.
static const char * QGIS_DEV_VERSION
The development version.
VectorFileWriterCapability
Capabilities supported by a QgsVectorFileWriter object.
QFlags< MapSettingsFlag > MapSettingsFlags
Map settings flags.
CrsIdentifierType
Available identifier string types for representing coordinate reference systems.
QFlags< RasterRendererFlag > RasterRendererFlags
Flags which control behavior of raster renderers.
AngularDirection
Angular directions.
ContentStatus
Status for fetched or stored content.
QFlags< SelectionFlag > SelectionFlags
Flags which control feature selection behavior.
SnappingType
SnappingTypeFlag defines on what object the snapping is performed.
LayoutUnit
Layout measurement units.
RelationshipStrength
Relationship strength.
Q_ENUM(GnssConstellation)
MarkerLinePlacement
Defines how/where the symbols should be placed on a line.
QFlags< ProjectReadFlag > ProjectReadFlags
Project load flags.
Point3DShape
3D point shape types.
GeometryOperationResult
Success or failure of a geometry operation.
QFlags< StringStatistic > StringStatistics
Statistics to be calculated for string values.
BrowserItemState
Browser item states.
AttributeEditorContainerType
Attribute editor container types.
QFlags< TiledSceneProviderCapability > TiledSceneProviderCapabilities
Tiled scene data provider capabilities.
FeatureRequestFilterType
Types of feature request filters.
MarkerClipMode
Marker clipping modes.
GpsNavigationStatus
GPS navigation status.
AnnotationItemFlag
Flags for annotation items.
RenderSubcomponentProperty
Rendering subcomponent properties.
ProcessingTinInputLayerType
Defines the type of input layer for a Processing TIN input.
QFlags< DataProviderFlag > DataProviderFlags
Data provider flags.
Statistic
Available generic statistics.
SymbolRenderHint
Flags controlling behavior of symbols during rendering.
AngleUnit
Units of angles.
CaptureTechnique
Capture technique.
SpatialIndexPresence
Enumeration of spatial index presence states.
BrowserItemCapability
Browser item capabilities.
AttributeFormSuppression
Available form types for layout of the attribute form editor.
QFlags< LayerTreeFilterFlag > LayerTreeFilterFlags
Layer tree filter flags.
LayerTreeInsertionMethod
Layer tree insertion methods.
RasterProviderCapability
Raster data provider capabilities.
LineClipMode
Line clipping modes.
VectorRenderingSimplificationFlag
Simplification flags for vector feature rendering.
QFlags< GeometryValidityFlag > GeometryValidityFlags
Geometry validity flags.
BrowserDirectoryMonitoring
Browser directory item monitoring switches.
VsiHandlerType
GDAL VSI handler types.
SettingsTreeNodeType
Type of tree node.
TilePixelRatio
DpiMode enum.
DatabaseProviderConnectionCapability2
The Capability enum represents the extended operations supported by the connection.
LabelOffsetType
Behavior modifier for label offset and distance, only applies in some label placement modes.
QFlags< ProfileGeneratorFlag > ProfileGeneratorFlags
LabelPrioritization
Label prioritization.
GradientColorSource
Gradient color sources.
FileFilterType
Type of file filters.
LabelPlacement
Placement modes which determine how label candidates are generated for a feature.
RasterLayerType
Raster layer types.
QFlags< VectorLayerTypeFlag > VectorLayerTypeFlags
Vector layer type flags.
ScaleBarAlignment
Scalebar alignment.
RasterPyramidFormat
Raster pyramid formats.
VectorExportResult
Vector layer export result codes.
DistanceUnit
Units of distance.
RasterTemporalCapabilityFlag
Flags for raster layer temporal capabilities.
SymbolLayerFlag
Flags controlling behavior of symbol layers.
GradientSpread
Gradient spread options, which control how gradients are rendered outside of their start and end poin...
QFlags< AnnotationItemGuiFlag > AnnotationItemGuiFlags
Annotation item GUI flags.
LabelPolygonPlacementFlag
Polygon placement flags, which control how candidates are generated for a polygon feature.
ScaleMethod
Scale methods.
SldExportOption
SLD export options.
VectorSimplificationAlgorithm
Simplification algorithms for vector features.
FilePathType
File path types.
CadConstraintType
Advanced digitizing constraint type.
AttributeFormPythonInitCodeSource
The Python init code source for attribute forms.
PointCountMethod
Methods which define the number of points randomly filling a polygon.
SldExportVendorExtension
SLD export vendor extensions, allow the use of vendor extensions when exporting to SLD.
LayerTreeFilterFlag
Layer tree filter flags.
AttributeFormLayout
Available form types for layout of the attribute form editor.
FeatureRequestFlag
Flags for controlling feature requests.
VertexType
Types of vertex.
ShaderInterpolationMethod
Color ramp shader interpolation methods.
DataProviderFlag
Generic data provider flags.
Q_ENUM(GpsNavigationStatus)
GdalResampleAlgorithm
Resampling algorithm to be used (equivalent to GDAL's enum GDALResampleAlg)
GeometryValidationEngine
Available engines for validating geometries.
TransactionMode
Transaction mode.
Q_ENUM(ScaleToTileZoomLevelMethod)
ElevationMapCombineMethod
Methods used to select the elevation when two elevation maps are combined.
RasterDrawingStyle
Raster drawing styles.
GeosCreationFlag
Flags which control geos geometry creation behavior.
GpsInformationComponent
GPS information component.
ViewSyncModeFlag
Synchronization of 2D map canvas and 3D view.
ProcessingProviderFlag
Flags indicating how and when an processing provider operates and should be exposed to users.
FileOperationFlag
File operation flags.
QFlags< DataItemProviderCapability > DataItemProviderCapabilities
Capabilities for data item providers.
ProjectCapability
Flags which control project capabilities.
QFlags< BabelFormatCapability > BabelFormatCapabilities
Babel GPS format capabilities.
QFlags< SymbolLayerFlag > SymbolLayerFlags
Symbol layer flags.
QFlags< RasterInterfaceCapability > RasterInterfaceCapabilities
Raster interface capabilities.
Q_ENUM(VectorProfileType)
AttributeActionType
Attribute action types.
TemporalNavigationMode
Temporal navigation modes.
ProcessingFieldParameterDataType
Processing field parameter data types.
StringStatistic
Available string statistics.
FieldDomainMergePolicy
Merge policy for field domains.
ZonalStatistic
Statistics to be calculated during a zonal statistics operation.
MessageLevel
Level for messages This will be used both for message log and message bar in application.
SqlKeywordCategory
SqlKeywordCategory enum represents the categories of the SQL keywords used by the SQL query editor.
QFlags< SnappingType > SnappingTypes
Snapping types.
GraduatedMethod
Methods for modifying symbols by range in a graduated symbol renderer.
QFlags< LabelLinePlacementFlag > LabelLinePlacementFlags
Line placement flags, which control how candidates are generated for a linear feature.
TiledSceneBoundingVolumeType
Tiled scene bounding volume types.
TextLayoutMode
Text layout modes.
PropertyType
Property types.
QFlags< RenderContextFlag > RenderContextFlags
Render context flags.
LayerFilter
Filter for layers.
Q_ENUM(ProviderStyleStorageCapability)
QFlags< SublayerFlag > SublayerFlags
Sublayer flags.
RasterRendererFlag
Flags which control behavior of raster renderers.
CrsType
Coordinate reference system types.
QFlags< GeosCreationFlag > GeosCreationFlags
Geos geometry creation behavior flags.
SensorThingsEntity
OGC SensorThings API entity types.
MeshEditingErrorType
Type of error that can occur during mesh frame editing.
FieldDomainSplitPolicy
Split policy for field domains.
ArcGisRestServiceType
Available ArcGIS REST service types.
RasterFileWriterResult
Raster file export results.
AnnotationItemEditOperationResult
Results from an edit operation on an annotation item.
ProcessingPropertyAvailability
Property availability, used for QgsProcessingAlgorithm::VectorProperties in order to determine if pro...
MapRecenteringMode
Modes for recentering map canvases.
ActionStart
Enum to determine when an operation would begin.
PlaybackOperation
Media playback operations.
QFlags< SymbolLayerUserFlag > SymbolLayerUserFlags
Symbol layer user flags.
QFlags< TextRendererFlag > TextRendererFlags
ProviderStyleStorageCapability
The StorageCapability enum represents the style storage operations supported by the provider.
AvoidIntersectionsMode
Flags which control how intersections of pre-existing feature are handled when digitizing new feature...
MarkerShape
Marker shapes.
LegendJsonRenderFlag
Legend JSON export flags.
BlendMode
Blending modes defining the available composition modes that can be used when painting.
RasterElevationMode
Raster layer elevation modes.
Capitalization
String capitalization options.
TemporalIntervalMatchMethod
Method to use when resolving a temporal range to a data provider layer or band.
PictureFormat
Picture formats.
QFlags< LabelPolygonPlacementFlag > LabelPolygonPlacementFlags
Polygon placement flags, which control how candidates are generated for a polygon feature.
LabelQuadrantPosition
Label quadrant positions.
QFlags< PlotToolFlag > PlotToolFlags
ScaleToTileZoomLevelMethod
Available methods for converting map scales to tile zoom levels.
SublayerQueryFlag
Flags which control how data providers will scan for sublayers in a dataset.
QFlags< VectorFileWriterCapability > VectorFileWriterCapabilities
Capabilities supported by a QgsVectorFileWriter object.
TextOrientation
Text orientations.
PythonMacroMode
Authorisation to run Python Macros.
TemporalUnit
Temporal units.
QFlags< RasterRendererCapability > RasterRendererCapabilities
Raster renderer capabilities.
QFlags< SymbolPreviewFlag > SymbolPreviewFlags
Symbol preview flags.
UnplacedLabelVisibility
Unplaced label visibility.
CrsDefinitionFormat
CRS definition formats.
SpatialFilterType
Feature request spatial filter types.
QFlags< ProcessingParameterTypeFlag > ProcessingParameterTypeFlags
Flags which dictate the behavior of Processing parameter types.
TileAvailability
Possible availability states for a tile within a tile matrix.
ProjectFlag
Flags which control the behavior of QgsProjects.
BrowserItemType
Browser item types.
QFlags< FeatureRequestFlag > FeatureRequestFlags
Flags for controlling feature requests.
SettingsType
Types of settings entries.
QFlags< SettingsOption > SettingsOptions
RasterTemporalMode
Raster layer temporal modes.
RasterAttributeTableType
The RasterAttributeTableType enum represents the type of RAT.
LabelingFlag
Various flags that affect drawing and placement of labels.
GeometryType
The geometry types are used to group Qgis::WkbType in a coarse way.
RelationshipType
Relationship types.
ScriptLanguageCapability
Script language capabilities.
RasterInterfaceCapability
Raster interface capabilities.
JoinStyle
Join styles for buffers.
PointCloudDrawOrder
Pointcloud rendering order for 2d views.
QFlags< RasterBandStatistic > RasterBandStatistics
Statistics to be calculated for raster bands.
ProcessingAlgorithmDocumentationFlag
Flags describing algorithm behavior for documentation purposes.
TextCharacterVerticalAlignment
Text vertical alignment for characters.
FieldDuplicatePolicy
Duplicate policy for fields.
UserProfileSelectionPolicy
User profile selection policy.
QFlags< FileOperationFlag > FileOperationFlags
File operation flags.
Q_ENUM(ProfileExportType)
BrowserLayerType
Browser item layer types.
QFlags< ProcessingAlgorithmFlag > ProcessingAlgorithmFlags
Flags indicating how and when an algorithm operates and should be exposed to users.
AltitudeBinding
Altitude binding.
QFlags< DataProviderReadFlag > DataProviderReadFlags
Flags which control data provider construction.
Q_ENUM(ProcessingProviderFlag)
TiledSceneRendererFlag
Flags which control how tiled scene 2D renderers behave.
MapLayerActionTarget
Map layer action targets.
ShaderClassificationMethod
Color ramp shader classification methods.
ZonalStatisticResult
Zonal statistics result codes.
ScriptLanguage
Scripting languages.
QFlags< BrowserItemCapability > BrowserItemCapabilities
Browser item capabilities.
FeatureAvailability
Possible return value for QgsFeatureSource::hasFeatures() to determine if a source is empty.
TiledSceneProviderCapability
Tiled scene data provider capabilities.
LabelMultiLineAlignment
Text alignment for multi-line labels.
RasterBandStatistic
Available raster band statistics.
QFlags< VectorTileProviderCapability > VectorTileProviderCapabilities
Vector tile data provider capabilities.
QFlags< ZonalStatistic > ZonalStatistics
Statistics to be calculated during a zonal statistics operation.
VectorDataProviderTemporalMode
Vector data provider temporal handling modes.
TextRenderFormat
Options for rendering text.
DataType
Raster data types.
Q_ENUM(ProfileSurfaceSymbology)
QFlags< ViewSyncModeFlag > ViewSyncModeFlags
QFlags< SublayerQueryFlag > SublayerQueryFlags
Sublayer query flags.
SystemOfMeasurement
Systems of unit measurement.
RasterAttributeTableFieldUsage
The RasterAttributeTableFieldUsage enum represents the usage of a Raster Attribute Table field.
VerticalAxisInversion
Vertical axis inversion options for 3D views.
QFlags< CoordinateTransformationFlag > CoordinateTransformationFlags
Coordinate transformation flags.
RelationshipCapability
Relationship capabilities.
RasterBuildPyramidOption
Raster pyramid building options.
QFlags< VectorProviderCapability > VectorProviderCapabilities
Vector data provider capabilities.
NavigationMode
The navigation mode used by 3D cameras.
LinearReferencingPlacement
Defines how/where the labels should be placed in a linear referencing symbol layer.
TileChildrenAvailability
Possible availability states for a tile's children.
LayerType
Types of layers that can be added to a map.
QFlags< AnnotationItemFlag > AnnotationItemFlags
Annotation item flags.
LinearReferencingLabelSource
Defines what quantity to use for the labels shown in a linear referencing symbol layer.
QFlags< Statistic > Statistics
Statistics to be calculated for generic values.
PlotToolFlag
Flags that control the way the QgsPlotTools operate.
RenderUnit
Rendering size units.
CoordinateOrder
Order of coordinates.
SelectionFlag
Flags which control feature selection behavior.
QFlags< SettingsTreeNodeOption > SettingsTreeNodeOptions
EndCapStyle
End cap styles for buffers.
QFlags< TiledSceneRequestFlag > TiledSceneRequestFlags
Flags which control how tiled scene requests behave.
QFlags< MapLayerActionFlag > MapLayerActionFlags
Map layer action flags.
QFlags< MapLayerProperty > MapLayerProperties
Map layer properties.
QFlags< LoadStyleFlag > LoadStyleFlags
Flags for loading layer styles.
BabelCommandFlag
Babel command flags, which control how commands and arguments are generated for executing GPSBabel pr...
QFlags< LabelingFlag > LabelingFlags
Flags that affect drawing and placement of labels.
FieldDomainType
Types of field domain.
MapLayerRendererFlag
Flags which control how map layer renderers behave.
RenderContextFlag
Flags which affect rendering operations.
RasterPipeInterfaceRole
Raster pipe interface roles.
CoverageValidityResult
Coverage validity results.
DataProviderReadFlag
Flags which control data provider construction.
ScaleBarSegmentSizeMode
Modes for setting size for scale bar segments.
Aggregate
Available aggregates to calculate.
SymbolPreviewFlag
Flags for controlling how symbol preview images are generated.
AnnotationItemGuiFlag
Flags for controlling how an annotation item behaves in the GUI.
MapBoxGlStyleSourceType
Available MapBox GL style source types.
LayoutUnitType
Types of layout units.
VectorDataProviderAttributeEditCapability
Attribute editing capabilities which may be supported by vector data providers.
DashPatternLineEndingRule
Dash pattern line ending rules.
FieldMetadataProperty
Standard field metadata values.
TiledSceneRequestFlag
Flags which control how tiled scene requests behave.
RasterRendererCapability
Raster renderer capabilities.
VertexMarkerType
Editing vertex markers, used for showing vertices during a edit operation.
HistoryProviderBackend
History provider backends.
RasterExportType
Raster file export types.
SublayerPromptMode
Specifies how to handle layer sources with multiple sublayers.
TextVerticalAlignment
Text vertical alignment.
RelationshipCardinality
Relationship cardinality.
GradientType
Gradient types.
QFlags< ScriptLanguageCapability > ScriptLanguageCapabilities
Script language capabilities.
VectorProfileType
Types of elevation profiles to generate for vector sources.
GpsFeatureType
GPS feature types.
VectorLayerTypeFlag
Vector layer type flags.
MakeValidMethod
Algorithms to use when repairing invalid geometries.
RangeLimits
Describes how the limits of a range are handled.
QFlags< ProjectFlag > ProjectFlags
VectorTemporalLimitMode
Mode for the handling of the limits of the filtering timeframe for vector features.
QFlags< ProcessingParameterFlag > ProcessingParameterFlags
Flags which dictate the behavior of Processing parameters.
SqlLayerDefinitionCapability
SqlLayerDefinitionCapability enum lists the arguments supported by the provider when creating SQL que...
VectorEditResult
Specifies the result of a vector layer edit operation.
QFlags< VectorDataProviderAttributeEditCapability > VectorDataProviderAttributeEditCapabilities
Attribute editing capabilities which may be supported by vector data providers.
QFlags< ProcessingAlgorithmDocumentationFlag > ProcessingAlgorithmDocumentationFlags
Flags describing algorithm behavior for documentation purposes.
QFlags< RelationshipCapability > RelationshipCapabilities
Relationship capabilities.
QFlags< SymbolRenderHint > SymbolRenderHints
Symbol render hints.
VolumeUnit
Units of volume.
AttributeEditorType
Attribute editor types.
QFlags< LegendJsonRenderFlag > LegendJsonRenderFlags
QFlags< ProviderStyleStorageCapability > ProviderStyleStorageCapabilities
SymbolLayerUserFlag
User-specified flags controlling behavior of symbol layers.
InvalidGeometryCheck
Methods for handling of features with invalid geometries.
QFlags< SymbolFlag > SymbolFlags
Symbol flags.
QFlags< ProcessingFeatureSourceDefinitionFlag > ProcessingFeatureSourceDefinitionFlags
Flags which control behavior for a Processing feature source.
ProfileExportType
Types of export for elevation profiles.
MeshElevationMode
Mesh layer elevation modes.
ProjectFileFormat
Flags which control project read behavior.
SnappingMode
SnappingMode defines on which layer the snapping is performed.
RasterColorInterpretation
Raster color interpretation.
ProfileSurfaceSymbology
Surface symbology type for elevation profile plots.
LabelPlacementEngineVersion
Labeling placement engine version.
Q_ENUM(ProcessingAlgorithmFlag)
ColorModel
Color model types.
RendererUsage
Usage of the renderer.
SettingsTreeNodeOption
Options for named list nodes.
BabelFormatCapability
Babel GPS format capabilities.
PostgresRelKind
Postgres database relkind options.
GpsConnectionType
GPS connection types.
Q_ENUM(InputControllerType)
QFlags< DatabaseProviderConnectionCapability2 > DatabaseProviderConnectionCapabilities2
ProcessingFeatureSourceDefinitionFlag
Flags which control behavior for a Processing feature source.
LoadStyleFlag
Flags for loading layer styles.
BetweenLineConstraint
Between line constraints which can be enabled.
QFlags< VectorTileProviderFlag > VectorTileProviderFlags
Vector tile data provider flags.
MetadataDateType
Date types for metadata.
QFlags< RasterTemporalCapabilityFlag > RasterTemporalCapabilityFlags
Flags for raster layer temporal capabilities.
ProcessingFeatureSourceFlag
Flags which control how QgsProcessingFeatureSource fetches features.
RasterIdentifyFormat
Raster identify formats.
TextHorizontalAlignment
Text horizontal alignment.
SymbolFlag
Flags controlling behavior of symbols.
LineExtensionSide
Designates whether the line extension constraint is currently soft locked with the previous or next v...
HttpMethod
Different methods of HTTP requests.
WkbType
The WKB type describes the number of dimensions a geometry has.
QFlags< SldExportOption > SldExportOptions
SymbolCoordinateReference
Symbol coordinate reference modes.
QFlags< ProcessingProviderFlag > ProcessingProviderFlags
Flags indicating how and when an processing provider operates and should be exposed to users.
TileRefinementProcess
Tiled scene tile refinement processes.
QFlags< DateTimeStatistic > DateTimeStatistics
Statistics to be calculated for date/time values.
SelectionRenderingMode
Specifies how a selection should be rendered.
InputControllerType
Input controller types.
TextRendererFlag
Flags which control the behavior of rendering text.
SelectGeometryRelationship
Geometry relationship test to apply for selecting features.
CrsAxisDirection
Coordinate reference system axis directions.
ProcessingModelChildParameterSource
Processing model child parameter sources.
QFlags< MarkerLinePlacement > MarkerLinePlacements
CrsWktVariant
Coordinate reference system WKT formatting variants.
QFlags< TiledSceneRendererFlag > TiledSceneRendererFlags
Flags which control how tiled scene 2D renderers behave.
AutoRefreshMode
Map layer automatic refresh modes.
AnnotationPlacementMode
Annotation item placement modes.
ProcessingAlgorithmFlag
Flags indicating how and when an algorithm operates and should be exposed to users.
FieldConfigurationFlag
Configuration flags for fields These flags are meant to be user-configurable and are not describing a...
SettingsOrigin
The setting origin describes where a setting is stored.
ProcessingParameterFlag
Flags which dictate the behavior of Processing parameters.
LabelOverlapHandling
Label overlap handling.
FeatureSymbologyExport
Options for exporting features considering their symbology.
QFlags< LayerFilter > LayerFilters
ProcessingDateTimeParameterDataType
Processing date time parameter data types.
CoordinateTransformationFlag
Flags which adjust the coordinate transformations behave.
TextComponent
Text components.
DateTimeStatistic
Available date/time statistics.
AnimationState
Animation states.
TransformDirection
Indicates the direction (forward or inverse) of a transform.
LightSourceType
Light source types for 3D scenes.
QFlags< ProcessingFeatureSourceFlag > ProcessingFeatureSourceFlags
Flags which control how QgsProcessingFeatureSource fetches features.
QFlags< HistoryProviderBackend > HistoryProviderBackends
LabelPredefinedPointPosition
Positions for labels when using the Qgis::LabelPlacement::OrderedPositionsAroundPoint placement mode.
QFlags< FieldConfigurationFlag > FieldConfigurationFlags
Configuration flags for fields These flags are meant to be user-configurable and are not describing a...
UpsideDownLabelHandling
Handling techniques for upside down labels.
DeviceConnectionStatus
GPS connection status.
ProcessingNumberParameterType
Processing numeric parameter data types.
MapSettingsFlag
Flags which adjust the way maps are rendered.
QFlags< SqlLayerDefinitionCapability > SqlLayerDefinitionCapabilities
SQL layer definition capabilities.
ProcessingLogLevel
Logging level for algorithms to use when pushing feedback messages.
SelectBehavior
Specifies how a selection should be applied.
Utility class that encapsulates an action based on vector attributes.
Utility class for calculating aggregates for a field (or expression) over the features from a vector ...
Utility functions for working with ArcGIS REST services.
This is an abstract base class for any elements of a drag and drop form.
A ramp shader will color a raster pixel based on a list of values ranges in a ramp.
This class represents a coordinate reference system (CRS).
Abstract base class for curved geometry type.
Base class for all items in the model.
Abstract base class for spatial data provider implementations.
Calculator for summary statistics and aggregates for a list of datetimes.
This class wraps a request for features to a vector layer (or directly its vector data provider).
An interface for objects which provide features via a getFeatures method.
Container of fields for a vector layer.
A geometry is the spatial representation of a feature.
A fill symbol layer which draws a smooth color gradient over a polygon.
A vector feature renderer which uses numeric attributes to classify features into different ranges.
Stores global configuration for labeling engine.
Contains constants and enums relating to labeling.
Item that represents a layer that can be opened with one of the providers.
A layout item subclass that displays SVG files or raster format images (jpg, png, ....
The QgsMapLayerProxyModel class provides an easy to use model to display the list of layers in widget...
Base class for all map layer types.
The QgsMapSettings class contains configuration for rendering of the map.
Registry for temporary fetched files.
Contains miscellaneous painting utility functions.
Contains settings for how a map layer will be labeled.
Abstract base class for 2d point cloud renderers.
Abstract base class for processing algorithms.
Contains information about the context in which a processing algorithm is executed.
Encapsulates settings relating to a feature source input to a processing algorithm.
QgsFeatureSource subclass which proxies methods to an underlying QgsFeatureSource,...
A datetime (or pure date or time) parameter for processing algorithms.
Base class for the definition of processing parameters.
A vector layer or feature source field parameter for processing algorithms.
An input file or folder parameter for processing algorithms.
A numeric parameter for processing algorithms.
Makes metadata of processing parameters available.
Abstract base class for processing providers.
Contains enumerations and other constants for use in processing algorithms and parameters.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
A store for object properties.
A fill symbol layer which places markers at random locations within polygons.
The RasterBandStats struct is a container for statistics about a single raster band.
Implementation of data provider temporal properties for QgsRasterDataProviders.
Base class for raster data providers.
The raster file writer which allows you to save a raster to a new file.
Base class for processing filters like renderers, reprojector, resampler etc.
Implementation of map layer temporal properties for raster layers.
Represents a raster layer.
Contains a pipeline of raster interfaces for sequential raster processing.
Represents a relationship between two vector layers.
Contains information about the context of a rendering operation.
The QgsScaleBarSettings class stores the appearance and layout settings for scalebar drawing with Qgs...
Represent settings entry and provides methods for reading and writing settings values.
RAII signal blocking class.
Object * operator->()
Returns pointer to blocked QObject.
QgsSignalBlocker(Object *object)
Constructor for QgsSignalBlocker.
Abstract base class for simple marker symbol layers.
This is a container for configuration of the snapping of the project.
Calculator for summary statistics for a list of doubles.
Calculator for summary statistics and aggregates for a list of strings.
Utility functions for working with strings.
Contains utility functions for working with symbols and symbol layers.
Abstract base class for all rendered symbols.
Base class for templated line symbols, e.g.
Implements a temporal controller based on a frame by frame navigation and animation.
Container for all settings relating to text rendering.
Handles rendering text using rich formatting options, including drop shadows, buffers and background ...
This is the class is providing tolerance value in map unit values.
Helper functions for various unit types.
Implementation of data provider temporal properties for QgsVectorDataProviders.
This is the base class for vector data providers.
A convenience class for writing vector layers to disk based formats (e.g.
A convenience class for exporting vector layers to a destination data provider.
Implementation of map layer temporal properties for vector layers.
Represents a vector layer which manages a vector based data sets.
This class contains information how to simplify geometries fetched from a vector layer.
Handles storage of information regarding WKB types and their properties.
FeatureCountState
Enumeration of feature count states.
@ Points
Point based rendering, requires point data.
As part of the API refactoring and improvements which landed in QGIS
void * qgsMalloc(size_t size)
Allocates size bytes and returns a pointer to the allocated memory.
qlonglong qgsPermissiveToLongLong(QString string, bool &ok)
Converts a string to an qlonglong in a permissive way, e.g., allowing for incorrect numbers of digits...
bool qgsVariantEqual(const QVariant &lhs, const QVariant &rhs)
Compares two QVariant values and returns whether they are equal, two NULL values are always treated a...
uint qHash(const QVariant &variant)
Hash for QVariant.
double qgsPermissiveToDouble(QString string, bool &ok)
Converts a string to a double in a permissive way, e.g., allowing for incorrect numbers of digits bet...
int qgsPermissiveToInt(QString string, bool &ok)
Converts a string to an integer in a permissive way, e.g., allowing for incorrect numbers of digits b...
void qgsFree(void *ptr)
Frees the memory space pointed to by ptr.
QString qgsVsiPrefix(const QString &path)
bool qgsVariantLessThan(const QVariant &lhs, const QVariant &rhs)
Compares two QVariant values and returns whether the first is less than the second.
bool qgsVariantGreaterThan(const QVariant &lhs, const QVariant &rhs)
Compares two QVariant values and returns whether the first is greater than the second.
CONSTLATIN1STRING geoNone()
Constant that holds the string representation for "No ellips/No CRS".
const double DEFAULT_LINE_WIDTH
bool operator>(const QVariant &v1, const QVariant &v2)
Compares two QVariant values and returns whether the first is greater than the second.
T qgsEnumKeyToValue(const QString &key, const T &defaultValue, bool tryValueAsKey=true, bool *returnOk=nullptr)
Returns the value corresponding to the given key of an enum.
QString qgsDoubleToString(double a, int precision=17)
Returns a string representation of a double.
QString qgsMapJoinValues(const QMap< Key, Value > &map, const QString &separator)
Joins all the map values into a single string with each element separated by the given separator.
QString qgsEnumValueToKey(const T &value, bool *returnOk=nullptr)
Returns the value for the given key of an enum.
QString qgsFlagValueToKeys(const T &value, bool *returnOk=nullptr)
Returns the value for the given keys of a flag.
const long GEO_EPSG_CRS_ID
Magic number for a geographic coord sys in EpsgCrsId ID format.
QString qgsMapJoinKeys(const QMap< Key, Value > &map, const QString &separator)
Joins all the map keys into a single string with each element separated by the given separator.
T qgsFlagKeysToValue(const QString &keys, const T &defaultValue, bool tryValueAsKey=true, bool *returnOk=nullptr)
Returns the value corresponding to the given keys of a flag.
unsigned long long qgssize
Qgssize is used instead of size_t, because size_t is stdlib type, unknown by SIP, and it would be har...
const QMap< T, QString > qgsEnumMap()
Returns a map of all enum entries.
bool qgsFloatNear(float a, float b, float epsilon=4 *FLT_EPSILON)
Compare two floats (but allow some difference)
QString qgsSetJoin(const QSet< T > &set, const QString &separator)
Joins all the set values into a single string with each element separated by the given separator.
const QList< T > qgsEnumList()
Returns a list all enum entries.
double qgsRound(double number, int places)
Returns a double number, rounded (as close as possible) to the specified number of places.
bool qgsDoubleNear(double a, double b, double epsilon=4 *std::numeric_limits< double >::epsilon())
Compare two doubles (but allow some difference)
CONSTLATIN1STRING geoProj4()
PROJ4 string that represents a geographic coord sys.
bool qgsNanCompatibleEquals(double a, double b)
Compare two doubles, treating nan values as equal.
QgsSignalBlocker< Object > whileBlocking(Object *object)
Temporarily blocks signals from a QObject while calling a single method from the object.
const double DEFAULT_SEGMENT_EPSILON
Default snapping tolerance for segments.
QMap< QString, QString > QgsStringMap
#define CONSTLATIN1STRING
CONSTLATIN1STRING geoWkt()
Wkt string that represents a geographic coord sys.
bool qgsDoubleNearSig(double a, double b, int significantDigits=10)
Compare two doubles using specified number of significant digits.
const int USER_CRS_START_ID
Magick number that determines whether a projection crsid is a system (srs.db) or user (~/....
bool qgsNumberNear(T a, T b, T epsilon=std::numeric_limits< T >::epsilon() *4)
Compare two numbers of type T (but allow some difference)
const long GEOSRID
Magic number for a geographic coord sys in POSTGIS SRID.
#define QHASH_FOR_CLASS_ENUM(T)
bool operator<(const QVariant &v1, const QVariant &v2)
Compares two QVariant values and returns whether the first is less than the second.
CONSTLATIN1STRING geoEpsgCrsAuthId()
Geographic coord sys from EPSG authority.
const long GEOCRS_ID
Magic number for a geographic coord sys in QGIS srs.db tbl_srs.srs_id.
const double DEFAULT_POINT_SIZE
Magic number that determines the default point size for point symbols.
#define SIP_ENUM_BASETYPE(type)
#define SIP_MONKEYPATCH_SCOPEENUM_UNNEST(OUTSIDE_CLASS, FORMERNAME)
#define SIP_MONKEYPATCH_FLAGS_UNNEST(OUTSIDE_CLASS, FORMERNAME)
#define SIP_MONKEYPATCH_SCOPEENUM
#define SIP_MONKEYPATCH_COMPAT_NAME(FORMERNAME)
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)
Utility class for identifying a unique vertex within a geometry.