QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
qgis.h
Go to the documentation of this file.
1/***************************************************************************
2 qgis.h - QGIS namespace
3 -------------------
4 begin : Sat Jun 30 2002
5 copyright : (C) 2002 by Gary E.Sherman
6 email : sherman at mrcc.com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGIS_H
19#define QGIS_H
20
21
22#include <QMetaEnum>
23#include <cfloat>
24#include <memory>
25#include <cmath>
26
27#include "qgis_core.h"
28#include "qgis_sip.h"
29
30#ifdef SIP_RUN
31% ModuleHeaderCode
32#include <qgis.h>
33% End
34
35% ModuleCode
36int QgisEvent = QEvent::User + 1;
37% End
38#endif
39
40#ifndef SIP_RUN
41// qHash implementation for scoped enum type
42// https://gitlab.com/frostasm/programming-knowledge-base/-/snippets/20120
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); \
46 }
47#endif
48
53class CORE_EXPORT Qgis
54{
55 Q_GADGET
56 Q_CLASSINFO( "RegisterEnumClassesUnscoped", "false" )
57
58 public:
59
65 static QString version();
66
72 static int versionInt();
73
79 static QString releaseName();
80
82 static const char *QGIS_DEV_VERSION;
83
89 static QString devVersion();
90
91 // Enumerations
92 //
93
100 {
101 ClearStorage = 1 << 0,
102
103 ReadConfiguration = 1 << 1,
104 UpdateConfiguration = 1 << 2,
105 DeleteConfiguration = 1 << 3,
106 CreateConfiguration = 1 << 4,
107
108 ReadCertificateIdentity = 1 << 5,
109 UpdateCertificateIdentity = 1 << 6,
110 DeleteCertificateIdentity = 1 << 7,
111 CreateCertificateIdentity = 1 << 8,
112
113 ReadSslCertificateCustomConfig = 1 << 9,
114 UpdateSslCertificateCustomConfig = 1 << 10,
115 DeleteSslCertificateCustomConfig = 1 << 11,
116 CreateSslCertificateCustomConfig = 1 << 12,
117
118 ReadCertificateAuthority = 1 << 13,
119 UpdateCertificateAuthority = 1 << 14,
120 DeleteCertificateAuthority = 1 << 15,
121 CreateCertificateAuthority = 1 << 16,
122
123 ReadCertificateTrustPolicy = 1 << 17,
124 UpdateCertificateTrustPolicy = 1 << 18,
125 DeleteCertificateTrustPolicy = 1 << 19,
126 CreateCertificateTrustPolicy = 1 << 20,
127
128 ReadMasterPassword = 1 << 21,
129 UpdateMasterPassword = 1 << 22,
130 DeleteMasterPassword = 1 << 23,
131 CreateMasterPassword = 1 << 24,
132
133 ReadSetting = 1 << 25,
134 UpdateSetting = 1 << 26,
135 DeleteSetting = 1 << 27,
136 CreateSetting = 1 << 28,
137
138 };
139 Q_ENUM( AuthConfigurationStorageCapability )
140
141
147
148
154 {
155 Info = 0,
156 Warning = 1,
157 Critical = 2,
158 Success = 3,
159 NoLevel = 4,
160 };
161 Q_ENUM( MessageLevel )
162
163
169 {
170 Vector SIP_MONKEYPATCH_COMPAT_NAME( VectorLayer ),
171 Raster SIP_MONKEYPATCH_COMPAT_NAME( RasterLayer ),
172 Plugin SIP_MONKEYPATCH_COMPAT_NAME( PluginLayer ),
173 Mesh SIP_MONKEYPATCH_COMPAT_NAME( MeshLayer ),
174 VectorTile SIP_MONKEYPATCH_COMPAT_NAME( VectorTileLayer ),
175 Annotation SIP_MONKEYPATCH_COMPAT_NAME( AnnotationLayer ),
176 PointCloud SIP_MONKEYPATCH_COMPAT_NAME( PointCloudLayer ),
177 Group SIP_MONKEYPATCH_COMPAT_NAME( GroupLayer ),
178 TiledScene,
179 };
180 Q_ENUM( LayerType )
181
182
188 {
189 RasterLayer = 1,
190 NoGeometry = 2,
191 PointLayer = 4,
192 LineLayer = 8,
193 PolygonLayer = 16,
194 HasGeometry = PointLayer | LineLayer | PolygonLayer,
195 VectorLayer = NoGeometry | HasGeometry,
196 PluginLayer = 32,
197 WritableLayer = 64,
198 MeshLayer = 128,
199 VectorTileLayer = 256,
200 PointCloudLayer = 512,
201 AnnotationLayer = 1024,
202 TiledSceneLayer = 2048,
203 All = RasterLayer | VectorLayer | PluginLayer | MeshLayer | VectorTileLayer | PointCloudLayer | AnnotationLayer | TiledSceneLayer,
204 SpatialLayer = RasterLayer | HasGeometry | PluginLayer | MeshLayer | VectorTileLayer | PointCloudLayer | AnnotationLayer | TiledSceneLayer
205 };
206 Q_DECLARE_FLAGS( LayerFilters, LayerFilter )
207 Q_FLAG( LayerFilters )
208
209
214 enum class LoadStyleFlag : int SIP_ENUM_BASETYPE( IntFlag )
215 {
216 IgnoreMissingStyleErrors = 1 << 0,
217 };
218 Q_ENUM( LoadStyleFlag )
219
220
225 Q_DECLARE_FLAGS( LoadStyleFlags, LoadStyleFlag )
226 Q_FLAG( LoadStyleFlags )
227
256 {
257 Unknown = 0,
258 Point = 1,
259 LineString = 2,
260 Polygon = 3,
261 Triangle = 17,
262 MultiPoint = 4,
263 MultiLineString = 5,
264 MultiPolygon = 6,
265 GeometryCollection = 7,
266 CircularString = 8,
267 CompoundCurve = 9,
268 CurvePolygon = 10,
269 MultiCurve = 11,
270 MultiSurface = 12,
271 PolyhedralSurface = 15,
272 TIN = 16,
273 NoGeometry = 100,
274 PointZ = 1001,
275 LineStringZ = 1002,
276 PolygonZ = 1003,
277 TriangleZ = 1017,
278 MultiPointZ = 1004,
279 MultiLineStringZ = 1005,
280 MultiPolygonZ = 1006,
281 GeometryCollectionZ = 1007,
282 CircularStringZ = 1008,
283 CompoundCurveZ = 1009,
284 CurvePolygonZ = 1010,
285 MultiCurveZ = 1011,
286 MultiSurfaceZ = 1012,
287 PolyhedralSurfaceZ = 1015,
288 TINZ = 1016,
289 PointM = 2001,
290 LineStringM = 2002,
291 PolygonM = 2003,
292 TriangleM = 2017,
293 MultiPointM = 2004,
294 MultiLineStringM = 2005,
295 MultiPolygonM = 2006,
296 GeometryCollectionM = 2007,
297 CircularStringM = 2008,
298 CompoundCurveM = 2009,
299 CurvePolygonM = 2010,
300 MultiCurveM = 2011,
301 MultiSurfaceM = 2012,
302 PolyhedralSurfaceM = 2015,
303 TINM = 2016,
304 PointZM = 3001,
305 LineStringZM = 3002,
306 PolygonZM = 3003,
307 MultiPointZM = 3004,
308 MultiLineStringZM = 3005,
309 MultiPolygonZM = 3006,
310 GeometryCollectionZM = 3007,
311 CircularStringZM = 3008,
312 CompoundCurveZM = 3009,
313 CurvePolygonZM = 3010,
314 MultiCurveZM = 3011,
315 MultiSurfaceZM = 3012,
316 PolyhedralSurfaceZM = 3015,
317 TINZM = 3016,
318 TriangleZM = 3017,
319 Point25D = 0x80000001,
320 LineString25D,
321 Polygon25D,
322 MultiPoint25D,
323 MultiLineString25D,
324 MultiPolygon25D
325 };
326 Q_ENUM( WkbType )
327
328
337 {
338 Point SIP_MONKEYPATCH_COMPAT_NAME( PointGeometry ),
339 Line SIP_MONKEYPATCH_COMPAT_NAME( LineGeometry ),
340 Polygon SIP_MONKEYPATCH_COMPAT_NAME( PolygonGeometry ),
341 Unknown SIP_MONKEYPATCH_COMPAT_NAME( UnknownGeometry ),
342 Null SIP_MONKEYPATCH_COMPAT_NAME( NullGeometry ),
343 };
344 Q_ENUM( GeometryType )
345
346
351 {
352 UnknownDataType = 0,
353 Byte = 1,
354 Int8 = 14,
355 UInt16 = 2,
356 Int16 = 3,
357 UInt32 = 4,
358 Int32 = 5,
359 Float32 = 6,
360 Float64 = 7,
361 CInt16 = 8,
362 CInt32 = 9,
363 CFloat32 = 10,
364 CFloat64 = 11,
365 ARGB32 = 12,
366 ARGB32_Premultiplied = 13
367 };
368 Q_ENUM( DataType )
369
370
375 enum class CaptureTechnique : int
376 {
377 StraightSegments,
378 CircularString,
379 Streaming,
380 Shape,
381 };
382 Q_ENUM( CaptureTechnique )
383
384
389 enum class VectorLayerTypeFlag : int SIP_ENUM_BASETYPE( IntFlag )
390 {
391 SqlQuery = 1 << 0
392 };
393 Q_ENUM( VectorLayerTypeFlag )
396 Q_FLAG( VectorLayerTypeFlags )
397
402 enum class PythonEmbeddedMode SIP_MONKEYPATCH_SCOPEENUM_UNNEST( Qgis, PythonMacroMode ) : int
403 {
404 Never = 0,
405 Ask = 1,
406 SessionOnly = 2,
407 Always = 3,
408 NotForThisSession,
409 };
410 Q_ENUM( PythonEmbeddedMode )
411
412
416 enum class PythonEmbeddedType : int
417 {
418 Macro = 0,
419 ExpressionFunction = 1,
420 };
421 Q_ENUM( PythonEmbeddedType )
422
423
431 {
432 TrustDataSource SIP_MONKEYPATCH_COMPAT_NAME( FlagTrustDataSource ) = 1 << 0,
433 SkipFeatureCount = 1 << 1,
434 LoadDefaultStyle SIP_MONKEYPATCH_COMPAT_NAME( FlagLoadDefaultStyle ) = 1 << 2,
435 SkipGetExtent = 1 << 3,
436 SkipFullScan = 1 << 4,
437 ForceReadOnly = 1 << 5,
438 SkipCredentialsRequest = 1 << 6,
439 ParallelThreadLoading = 1 << 7,
440 };
441 Q_ENUM( DataProviderReadFlag )
442
443
451 Q_FLAG( DataProviderReadFlags )
452
453 // TODO QGIS 4 -- remove NoCapabilities and rely on VectorProviderCapabilities() instead
454
463 {
464 NoCapabilities = 0,
465 AddFeatures = 1,
466 DeleteFeatures = 1 << 1,
467 ChangeAttributeValues = 1 << 2,
468 AddAttributes = 1 << 3,
469 DeleteAttributes = 1 << 4,
470 CreateSpatialIndex = 1 << 6,
471 SelectAtId = 1 << 7,
472 ChangeGeometries = 1 << 8,
473 SelectEncoding = 1 << 13,
474 CreateAttributeIndex = 1 << 12,
475 SimplifyGeometries = 1 << 14,
476 SimplifyGeometriesWithTopologicalValidation = 1 << 15,
477 TransactionSupport = 1 << 16,
478 CircularGeometries = 1 << 17,
479 ChangeFeatures = 1 << 18,
480 RenameAttributes = 1 << 19,
481 FastTruncate = 1 << 20,
482 ReadLayerMetadata = 1 << 21,
483 WriteLayerMetadata = 1 << 22,
484 CancelSupport = 1 << 23,
485 CreateRenderer = 1 << 24,
486 CreateLabeling = 1 << 25,
487 ReloadData = 1 << 26,
488 FeatureSymbology = 1 << 27,
489 EditingCapabilities = AddFeatures | DeleteFeatures | ChangeAttributeValues | ChangeGeometries | AddAttributes | DeleteAttributes | RenameAttributes,
490 };
491 Q_ENUM( VectorProviderCapability )
492
493
502
509 {
510 Uncounted = -2,
511 UnknownCount = -1,
512 };
513 Q_ENUM( FeatureCountState )
514
515
522 {
523 Unknown SIP_MONKEYPATCH_COMPAT_NAME( SpatialIndexUnknown ) = 0,
524 NotPresent SIP_MONKEYPATCH_COMPAT_NAME( SpatialIndexNotPresent ) = 1,
525 Present SIP_MONKEYPATCH_COMPAT_NAME( SpatialIndexPresent ) = 2,
526 };
527 Q_ENUM( SpatialIndexPresence )
528
529
541 {
542 NoFeaturesAvailable = 0,
543 FeaturesAvailable,
544 FeaturesMaybeAvailable
545 };
546 Q_ENUM( FeatureAvailability )
547
548
554 {
555 EditAlias = 1 << 0,
556 EditComment = 1 << 1,
557 };
558
559 Q_ENUM( VectorDataProviderAttributeEditCapability )
560
561
568
574 {
575 Marker,
576 Line,
577 Fill,
578 Hybrid
579 };
580 Q_ENUM( SymbolType )
581
582
588 {
589 ScaleArea,
590 ScaleDiameter
591 };
592 Q_ENUM( ScaleMethod )
593
594
599 {
600 Custom,
601 Variant,
602 String,
603 StringList,
604 VariantMap,
605 Bool,
606 Integer,
607 Double,
608 EnumFlag,
609 Color
610 };
611 Q_ENUM( SettingsType )
612
613
618 {
619 Root,
620 Standard,
621 NamedList,
622 };
623 Q_ENUM( SettingsTreeNodeType )
624
625
629 enum class SettingsTreeNodeOption : int SIP_ENUM_BASETYPE( IntFlag )
630 {
631 NamedListSelectedItemSetting = 1 << 0,
632 };
633
634 Q_ENUM( SettingsTreeNodeOption )
637
646 {
647 Invalid SIP_MONKEYPATCH_COMPAT_NAME( InvalidProperty ),
648 Static SIP_MONKEYPATCH_COMPAT_NAME( StaticProperty ),
649 Field SIP_MONKEYPATCH_COMPAT_NAME( FieldBasedProperty ),
650 Expression SIP_MONKEYPATCH_COMPAT_NAME( ExpressionBasedProperty ),
651 };
652 Q_ENUM( PropertyType )
653
654
659 enum class SldExportOption : int SIP_ENUM_BASETYPE( IntFlag )
660 {
661 NoOptions = 0,
662 Svg = 1 << 0,
663 Png = 1 << 1,
664 };
665 Q_ENUM( SldExportOption )
667 Q_FLAG( SldExportOptions )
668
674 enum class SldExportVendorExtension : int SIP_ENUM_BASETYPE( IntFlag )
675 {
676 NoVendorExtension = 0,
677 GeoServerVendorExtension = 1 << 1,
678 DeegreeVendorExtension = 1 << 2,
679 };
680 Q_ENUM( SldExportVendorExtension )
681
682
683
687 enum class SettingsOption : int SIP_ENUM_BASETYPE( IntFlag )
688 {
689 SaveFormerValue = 1 << 1,
690 SaveEnumFlagAsInt = 1 << 2,
691 };
692 Q_ENUM( SettingsOption )
693 Q_DECLARE_FLAGS( SettingsOptions, SettingsOption )
694 Q_FLAG( SettingsOptions )
695
701 {
702 ActiveLayer = 1,
703 AllLayers = 2,
704 AdvancedConfiguration = 3,
705 };
706 Q_ENUM( SnappingMode )
707
708
713 {
714 NoSnap SIP_MONKEYPATCH_COMPAT_NAME( NoSnapFlag ) = 0,
715 Vertex SIP_MONKEYPATCH_COMPAT_NAME( VertexFlag ) = 1 << 0,
716 Segment SIP_MONKEYPATCH_COMPAT_NAME( SegmentFlag ) = 1 << 1,
717 Area SIP_MONKEYPATCH_COMPAT_NAME( AreaFlag ) = 1 << 2,
718 Centroid SIP_MONKEYPATCH_COMPAT_NAME( CentroidFlag ) = 1 << 3,
719 MiddleOfSegment SIP_MONKEYPATCH_COMPAT_NAME( MiddleOfSegmentFlag ) = 1 << 4,
720 LineEndpoint SIP_MONKEYPATCH_COMPAT_NAME( LineEndpointFlag ) = 1 << 5,
721 };
722 Q_ENUM( SnappingType )
725 Q_FLAG( SnappingTypes )
726
733 {
734 DynamicRotation = 1 << 1,
735 IsSymbolLayerSubSymbol = 1 << 2,
736 ForceVectorRendering = 1 << 3,
737 ExcludeSymbolBuffers = 1 << 4,
738 };
739 Q_ENUM( SymbolRenderHint )
742 Q_FLAG( SymbolRenderHints )
743
749 enum class SymbolRotationMode : int
750 {
751 RespectMapRotation,
752 IgnoreMapRotation,
753 };
754 Q_ENUM( SymbolRotationMode )
755
756
761 enum class FeatureRendererFlag : int SIP_ENUM_BASETYPE( IntFlag )
762 {
763 AffectsLabeling = 1 << 0,
764 };
765 Q_ENUM( FeatureRendererFlag )
766
767
773 Q_FLAG( FeatureRendererFlags )
774
780 enum class SymbolFlag : int SIP_ENUM_BASETYPE( IntFlag )
781 {
782 RendererShouldUseSymbolLevels = 1 << 0,
783 AffectsLabeling = 1 << 1,
784 };
785 Q_ENUM( SymbolFlag )
787 Q_DECLARE_FLAGS( SymbolFlags, SymbolFlag )
788 Q_FLAG( SymbolFlags )
789
796 {
797 FlagIncludeCrosshairsForMarkerSymbols = 1 << 0,
798 };
799 Q_ENUM( SymbolPreviewFlag )
802 Q_FLAG( SymbolPreviewFlags )
803
813 enum class SymbolLayerFlag : int SIP_ENUM_BASETYPE( IntFlag )
814 {
815 DisableFeatureClipping = 1 << 0,
816 CanCalculateMaskGeometryPerFeature = 1 << 1,
817 AffectsLabeling = 1 << 2,
818 };
819 Q_ENUM( SymbolLayerFlag )
822 Q_FLAG( SymbolLayerFlags )
823
833 enum class SymbolLayerUserFlag : int SIP_ENUM_BASETYPE( IntFlag )
834 {
835 DisableSelectionRecoloring = 1 << 0,
836 };
837 Q_ENUM( SymbolLayerUserFlag )
838
839
845 Q_FLAG( SymbolLayerUserFlags )
846
853 {
854 Collection,
855 Directory,
856 Layer,
857 Error,
858 Favorites,
859 Project,
860 Custom,
861 Fields,
862 Field,
863 };
864 Q_ENUM( BrowserItemType )
865
866
872 {
873 NotPopulated,
874 Populating,
875 Populated,
876 };
877 Q_ENUM( BrowserItemState )
878
879
885 {
886 NoCapabilities = 0,
887 SetCrs = 1 << 0,
888 Fertile = 1 << 1,
889 Fast = 1 << 2,
890 Collapse = 1 << 3,
891 Rename = 1 << 4,
892 Delete = 1 << 5,
893 ItemRepresentsFile = 1 << 6,
894 RefreshChildrenWhenItemIsRefreshed = 1 << 7,
895 ReadOnly = 1 << 8,
896 };
897 Q_ENUM( BrowserItemCapability )
901
910 {
911 NoCapabilities SIP_MONKEYPATCH_COMPAT_NAME( NoDataCapabilities ) = 0,
912 Files SIP_MONKEYPATCH_COMPAT_NAME( File ) = 1,
913 Directories SIP_MONKEYPATCH_COMPAT_NAME( Dir ) = 1 << 1,
914 Databases SIP_MONKEYPATCH_COMPAT_NAME( Database ) = 1 << 2,
915 NetworkSources SIP_MONKEYPATCH_COMPAT_NAME( Net ) = 1 << 3,
916 };
917 Q_ENUM( DataItemProviderCapability )
918
919
928
935 {
936 NoType,
937 Vector,
938 Raster,
939 Point,
940 Line,
941 Polygon,
942 TableLayer,
943 Database,
944 Table,
945 Plugin,
946 Mesh,
947 VectorTile,
948 PointCloud,
949 TiledScene,
950 };
951 Q_ENUM( BrowserLayerType )
952
953
959 {
960 Default,
961 NeverMonitor,
962 AlwaysMonitor,
963 };
964 Q_ENUM( BrowserDirectoryMonitoring )
965
966
970 enum class HttpMethod : int
971 {
972 Get = 0,
973 Post = 1
974 };
975 Q_ENUM( HttpMethod )
976
977
983 {
984 Success SIP_MONKEYPATCH_COMPAT_NAME( NoError ) = 0,
985 ErrorCreatingDataSource SIP_MONKEYPATCH_COMPAT_NAME( ErrCreateDataSource ),
986 ErrorCreatingLayer SIP_MONKEYPATCH_COMPAT_NAME( ErrCreateLayer ),
987 ErrorAttributeTypeUnsupported SIP_MONKEYPATCH_COMPAT_NAME( ErrAttributeTypeUnsupported ),
988 ErrorAttributeCreationFailed SIP_MONKEYPATCH_COMPAT_NAME( ErrAttributeCreationFailed ),
989 ErrorProjectingFeatures SIP_MONKEYPATCH_COMPAT_NAME( ErrProjection ),
990 ErrorFeatureWriteFailed SIP_MONKEYPATCH_COMPAT_NAME( ErrFeatureWriteFailed ),
991 ErrorInvalidLayer SIP_MONKEYPATCH_COMPAT_NAME( ErrInvalidLayer ),
992 ErrorInvalidProvider SIP_MONKEYPATCH_COMPAT_NAME( ErrInvalidProvider ),
993 ErrorProviderUnsupportedFeature SIP_MONKEYPATCH_COMPAT_NAME( ErrProviderUnsupportedFeature ),
994 ErrorConnectionFailed SIP_MONKEYPATCH_COMPAT_NAME( ErrConnectionFailed ),
995 UserCanceled SIP_MONKEYPATCH_COMPAT_NAME( ErrUserCanceled ),
996 };
997 Q_ENUM( VectorExportResult )
998
999
1004 {
1005 FieldAliases = 1 << 0,
1006 FieldComments = 1 << 2,
1007 };
1008 Q_ENUM( VectorFileWriterCapability )
1009
1010
1016
1022 {
1023 SubsetStringFilter = 1 << 1,
1024 GeometryColumn = 1 << 2,
1025 PrimaryKeys = 1 << 3,
1026 UnstableFeatureIds = 1 << 4
1027 };
1028 Q_ENUM( SqlLayerDefinitionCapability )
1032
1038 enum class SqlKeywordCategory : int
1039 {
1040 Keyword,
1041 Constant,
1042 Function,
1043 Geospatial,
1044 Operator,
1045 Math,
1046 Aggregate,
1047 String,
1048 Identifier
1049 };
1050 Q_ENUM( SqlKeywordCategory )
1051
1052
1056 enum class DriveType : int
1057 {
1058 Unknown,
1059 Invalid,
1060 Removable,
1061 Fixed,
1062 Remote,
1063 CdRom,
1064 RamDisk,
1065 Cloud,
1066 };
1067 Q_ENUM( DriveType )
1068
1069
1074 {
1075 Deferred SIP_MONKEYPATCH_COMPAT_NAME( DownloadLater ),
1076 Immediate SIP_MONKEYPATCH_COMPAT_NAME( DownloadImmediately ),
1077 };
1078 Q_ENUM( ActionStart )
1079
1080
1086 {
1087 FollowEngineSetting,
1088 NeverShow,
1089 };
1090 Q_ENUM( UnplacedLabelVisibility )
1091
1092
1097 enum class LabelOverlapHandling : int
1098 {
1099 PreventOverlap,
1100 AllowOverlapIfRequired,
1101 AllowOverlapAtNoCost,
1102 };
1103 Q_ENUM( LabelOverlapHandling )
1104
1105
1110 enum class LabelPrioritization : int
1111 {
1112 PreferCloser,
1113 PreferPositionOrdering,
1114 };
1115 Q_ENUM( LabelPrioritization )
1116
1117
1125 {
1126 AroundPoint,
1127 OverPoint,
1128 Line,
1129 Curved,
1130 Horizontal,
1131 Free,
1132 OrderedPositionsAroundPoint,
1133 PerimeterCurved,
1134 OutsidePolygons,
1135 };
1136 Q_ENUM( LabelPlacement )
1137
1138
1146 {
1147 TopLeft,
1148 TopSlightlyLeft,
1149 TopMiddle,
1150 TopSlightlyRight,
1151 TopRight,
1152 MiddleLeft,
1153 MiddleRight,
1154 BottomLeft,
1155 BottomSlightlyLeft,
1156 BottomMiddle,
1157 BottomSlightlyRight,
1158 BottomRight,
1159 OverPoint,
1160 };
1161 Q_ENUM( LabelPredefinedPointPosition )
1162
1163
1172 {
1173 FromPoint,
1174 FromSymbolBounds,
1175 };
1176 Q_ENUM( LabelOffsetType )
1177
1178
1186 {
1187 AboveLeft SIP_MONKEYPATCH_COMPAT_NAME( QuadrantAboveLeft ),
1188 Above SIP_MONKEYPATCH_COMPAT_NAME( QuadrantAbove ),
1189 AboveRight SIP_MONKEYPATCH_COMPAT_NAME( QuadrantAboveRight ),
1190 Left SIP_MONKEYPATCH_COMPAT_NAME( QuadrantLeft ),
1191 Over SIP_MONKEYPATCH_COMPAT_NAME( QuadrantOver ),
1192 Right SIP_MONKEYPATCH_COMPAT_NAME( QuadrantRight ),
1193 BelowLeft SIP_MONKEYPATCH_COMPAT_NAME( QuadrantBelowLeft ),
1194 Below SIP_MONKEYPATCH_COMPAT_NAME( QuadrantBelow ),
1195 BelowRight SIP_MONKEYPATCH_COMPAT_NAME( QuadrantBelowRight ),
1196 };
1197 Q_ENUM( LabelQuadrantPosition )
1198
1199
1206 {
1207 OnLine = 1,
1208 AboveLine = 2,
1209 BelowLine = 4,
1210 MapOrientation = 8,
1211 };
1212 Q_ENUM( LabelLinePlacementFlag )
1213
1214
1222 Q_FLAG( LabelLinePlacementFlags )
1223
1231 {
1232 AllowPlacementOutsideOfPolygon = 1 << 0,
1233 AllowPlacementInsideOfPolygon = 1 << 1,
1234 };
1235 Q_ENUM( LabelPolygonPlacementFlag )
1236
1237
1245
1254 {
1255 FlipUpsideDownLabels SIP_MONKEYPATCH_COMPAT_NAME( Upright ),
1256 AllowUpsideDownWhenRotationIsDefined SIP_MONKEYPATCH_COMPAT_NAME( ShowDefined ),
1257 AlwaysAllowUpsideDown SIP_MONKEYPATCH_COMPAT_NAME( ShowAll )
1258 };
1259 Q_ENUM( UpsideDownLabelHandling )
1260
1261
1269 {
1270 Left SIP_MONKEYPATCH_COMPAT_NAME( MultiLeft ) = 0,
1271 Center SIP_MONKEYPATCH_COMPAT_NAME( MultiCenter ),
1272 Right SIP_MONKEYPATCH_COMPAT_NAME( MultiRight ),
1273 FollowPlacement SIP_MONKEYPATCH_COMPAT_NAME( MultiFollowPlacement ),
1274 Justify SIP_MONKEYPATCH_COMPAT_NAME( MultiJustify ),
1275 };
1276 Q_ENUM( LabelMultiLineAlignment )
1277
1278
1285 {
1286 Vector SIP_MONKEYPATCH_COMPAT_NAME( FilterVector ) = 1,
1287 Raster SIP_MONKEYPATCH_COMPAT_NAME( FilterRaster ),
1288 Mesh SIP_MONKEYPATCH_COMPAT_NAME( FilterMesh ),
1289 MeshDataset SIP_MONKEYPATCH_COMPAT_NAME( FilterMeshDataset ),
1290 PointCloud SIP_MONKEYPATCH_COMPAT_NAME( FilterPointCloud ),
1291 VectorTile,
1292 TiledScene,
1293 };
1294 Q_ENUM( FileFilterType )
1295
1296
1301 enum class SublayerQueryFlag : int SIP_ENUM_BASETYPE( IntFlag )
1302 {
1303 FastScan = 1 << 0,
1304 ResolveGeometryType = 1 << 1,
1305 CountFeatures = 1 << 2,
1306 IncludeSystemTables = 1 << 3,
1307 };
1310 Q_ENUM( SublayerQueryFlag )
1311 Q_FLAG( SublayerQueryFlags )
1312
1313
1318 enum class SublayerFlag : int SIP_ENUM_BASETYPE( IntFlag )
1319 {
1320 SystemTable = 1 << 0,
1321 };
1323 Q_DECLARE_FLAGS( SublayerFlags, SublayerFlag )
1324 Q_ENUM( SublayerFlag )
1325 Q_FLAG( SublayerFlags )
1326
1327
1335 {
1336 Linear SIP_MONKEYPATCH_COMPAT_NAME( Interpolated ) = 0,
1337 Discrete = 1,
1338 Exact = 2,
1339 };
1340 Q_ENUM( ShaderInterpolationMethod )
1341
1342
1350 {
1351 Continuous = 1,
1352 EqualInterval = 2,
1353 Quantile = 3,
1354 };
1355 Q_ENUM( ShaderClassificationMethod )
1356
1357
1363 {
1364 Unknown SIP_MONKEYPATCH_COMPAT_NAME( UnknownRole ) = 0,
1365 Provider SIP_MONKEYPATCH_COMPAT_NAME( ProviderRole ) = 1,
1366 Renderer SIP_MONKEYPATCH_COMPAT_NAME( RendererRole ) = 2,
1367 Brightness SIP_MONKEYPATCH_COMPAT_NAME( BrightnessRole ) = 3,
1368 Resampler SIP_MONKEYPATCH_COMPAT_NAME( ResamplerRole ) = 4,
1369 Projector SIP_MONKEYPATCH_COMPAT_NAME( ProjectorRole ) = 5,
1370 Nuller SIP_MONKEYPATCH_COMPAT_NAME( NullerRole ) = 6,
1371 HueSaturation SIP_MONKEYPATCH_COMPAT_NAME( HueSaturationRole ) = 7,
1372 };
1373 Q_ENUM( RasterPipeInterfaceRole )
1374
1375
1380 {
1381 ResampleFilter,
1382 Provider,
1383 };
1384 Q_ENUM( RasterResamplingStage )
1385
1386
1394 {
1395 Nearest,
1396 Bilinear,
1397 Cubic,
1398 CubicSpline,
1399 Lanczos,
1400 Average,
1401 Mode,
1402 Gauss
1403 };
1404 Q_ENUM( RasterResamplingMethod )
1405
1406
1411 enum class RasterRendererFlag : int SIP_ENUM_BASETYPE( IntFlag )
1412 {
1413 InternalLayerOpacityHandling = 1 << 0,
1414 UseNoDataForOutOfRangePixels = 1 << 1,
1415 };
1416
1423
1424 Q_ENUM( RasterRendererFlag )
1425 Q_FLAG( RasterRendererFlags )
1426
1427
1433 {
1434 UsesMultipleBands = 1 << 0,
1435 };
1436 Q_ENUM( RasterRendererCapability )
1437
1438
1445
1454 {
1455 NotSet SIP_MONKEYPATCH_COMPAT_NAME( None_ ),
1456 MinimumMaximum SIP_MONKEYPATCH_COMPAT_NAME( MinMax ),
1457 StdDev,
1458 CumulativeCut
1459 };
1460 Q_ENUM( RasterRangeLimit )
1461
1462
1470 {
1471 WholeRaster SIP_MONKEYPATCH_COMPAT_NAME( None_ ),
1472 FixedCanvas SIP_MONKEYPATCH_COMPAT_NAME( CurrentCanvas ),
1473 UpdatedCanvas,
1474 };
1475 Q_ENUM( RasterRangeExtent )
1476
1477
1485 {
1486 Exact,
1487 Estimated,
1488 };
1489 Q_ENUM( RasterRangeAccuracy )
1490
1491
1497 {
1498 Generic = 0,
1499 PixelCount = 1,
1500 Name = 2,
1501 Min = 3,
1502 Max = 4,
1503 MinMax = 5,
1504 Red = 6,
1505 Green = 7,
1506 Blue = 8,
1507 Alpha = 9,
1508 RedMin = 10,
1509 GreenMin = 11,
1510 BlueMin = 12,
1511 AlphaMin = 13,
1512 RedMax = 14,
1513 GreenMax = 15,
1514 BlueMax = 16,
1515 AlphaMax = 17,
1516 MaxCount
1517 };
1518 Q_ENUM( RasterAttributeTableFieldUsage )
1519
1520
1526 {
1527 Thematic = 0,
1528 Athematic = 1
1529 };
1530 Q_ENUM( RasterAttributeTableType )
1531
1532
1539 {
1540 Raw = 0,
1541 RenderedImage SIP_MONKEYPATCH_COMPAT_NAME( Image ) = 1
1542 };
1543 Q_ENUM( RasterExportType )
1544
1545
1552 {
1553 Success SIP_MONKEYPATCH_COMPAT_NAME( NoError ) = 0,
1554 SourceProviderError = 1,
1555 DestinationProviderError SIP_MONKEYPATCH_COMPAT_NAME( DestProviderError ) = 2,
1556 CreateDatasourceError = 3,
1557 WriteError = 4,
1558 NoDataConflict = 5,
1559 Canceled SIP_MONKEYPATCH_COMPAT_NAME( WriteCanceled ) = 6,
1560 };
1561 Q_ENUM( RasterFileWriterResult )
1562
1563
1568 enum class MeshEditingErrorType : int
1569 {
1570 NoError,
1571 InvalidFace,
1572 TooManyVerticesInFace,
1573 FlatFace,
1574 UniqueSharedVertex,
1575 InvalidVertex,
1576 ManifoldFace,
1577 };
1578 Q_ENUM( MeshEditingErrorType )
1579
1580
1585 enum class FilePathType : int
1586 {
1587 Absolute,
1588 Relative,
1589 };
1590 Q_ENUM( FilePathType )
1591
1592
1597 enum class SublayerPromptMode : int
1598 {
1599 AlwaysAsk,
1600 AskExcludingRasterBands,
1601 NeverAskSkip,
1602 NeverAskLoadAll,
1603 };
1604 Q_ENUM( SublayerPromptMode )
1605
1606
1614 {
1615 Unknown SIP_MONKEYPATCH_COMPAT_NAME( OriginUnknown ),
1616 Provider SIP_MONKEYPATCH_COMPAT_NAME( OriginProvider ),
1617 Join SIP_MONKEYPATCH_COMPAT_NAME( OriginJoin ),
1618 Edit SIP_MONKEYPATCH_COMPAT_NAME( OriginEdit ),
1619 Expression SIP_MONKEYPATCH_COMPAT_NAME( OriginExpression )
1620 };
1621 Q_ENUM( FieldOrigin )
1622
1623
1630 enum class FieldConfigurationFlag : int SIP_ENUM_BASETYPE( IntFlag )
1631 {
1632 NoFlag = 0,
1633 NotSearchable = 1 << 1,
1634 HideFromWms = 1 << 2,
1635 HideFromWfs = 1 << 3,
1636 };
1637 Q_ENUM( FieldConfigurationFlag )
1638
1639
1647 Q_FLAG( FieldConfigurationFlags )
1648
1654 enum class FieldMetadataProperty : int
1655 {
1656 GeometryCrs = 0x1000,
1657 GeometryWkbType = 0x1001,
1658 CustomProperty = 0x100000,
1659 };
1660 Q_ENUM( FieldMetadataProperty )
1661
1662
1667 enum class SelectionRenderingMode : int
1668 {
1669 Default,
1670 CustomColor,
1671 CustomSymbol,
1672 };
1673 Q_ENUM( SelectionRenderingMode )
1674
1675
1681 {
1682 SetSelection,
1683 AddToSelection,
1684 IntersectSelection,
1685 RemoveFromSelection,
1686 };
1687 Q_ENUM( SelectBehavior )
1688
1689
1695 {
1696 Intersect,
1697 Within,
1698 };
1699 Q_ENUM( SelectGeometryRelationship )
1700
1701
1706 enum class SelectionFlag : int SIP_ENUM_BASETYPE( IntFlag )
1707 {
1708 SingleFeatureSelection = 1 << 0,
1709 ToggleSelection = 1 << 1,
1710 };
1711
1717 Q_DECLARE_FLAGS( SelectionFlags, SelectionFlag )
1718
1719 Q_ENUM( SelectionFlag )
1720 Q_FLAG( SelectionFlags )
1721
1722
1728 {
1729 Success = 0,
1730 EmptyGeometry = 1,
1731 EditFailed = 2,
1732 FetchFeatureFailed = 3,
1733 InvalidLayer = 4,
1734 };
1735 Q_ENUM( VectorEditResult )
1736
1737
1743 {
1744 SemiTransparentCircle,
1745 Cross,
1746 NoMarker,
1747 };
1748 Q_ENUM( VertexMarkerType )
1749
1750
1754 enum class ContentStatus : int
1755 {
1756 NotStarted,
1757 Running,
1758 Finished,
1759 Failed,
1760 Canceled,
1761 };
1762 Q_ENUM( ContentStatus )
1763
1764
1769 enum class GpsConnectionType : int
1770 {
1771 Automatic,
1772 Internal,
1773 Serial,
1774 Gpsd,
1775 };
1776 Q_ENUM( GpsConnectionType )
1777
1778
1783 enum class DeviceConnectionStatus SIP_MONKEYPATCH_SCOPEENUM_UNNEST( Qgis, GpsConnectionStatus ) : int
1784 {
1785 Disconnected,
1786 Connecting,
1787 Connected,
1788 };
1789 Q_ENUM( DeviceConnectionStatus )
1790
1791
1799 {
1800 NoData,
1801 NoFix,
1802 Fix2D,
1803 Fix3D
1804 };
1806
1807
1814 {
1815 Unknown,
1816 Gps,
1817 Glonass,
1818 Galileo,
1819 BeiDou,
1820 Qzss,
1821 Navic,
1822 Sbas,
1823 };
1825
1832 {
1833 Unknown = -1,
1834 Invalid,
1835 GPS,
1836 DGPS,
1837 PPS,
1838 RTK,
1839 FloatRTK,
1840 Estimated,
1841 Manual,
1842 Simulation,
1843 };
1844 Q_ENUM( GpsQualityIndicator )
1845
1846
1851 enum class GpsNavigationStatus : int
1852 {
1853 NotValid,
1854 Safe,
1855 Caution,
1856 Unsafe,
1857 };
1859
1865 enum class GpsInformationComponent : int SIP_ENUM_BASETYPE( IntFlag )
1866 {
1867 Location = 1 << 0,
1868 Altitude = 1 << 1,
1869 GroundSpeed = 1 << 2,
1870 Bearing = 1 << 3,
1871 TotalTrackLength = 1 << 4,
1872 TrackDistanceFromStart = 1 << 5,
1873 Pdop = 1 << 6,
1874 Hdop = 1 << 7,
1875 Vdop = 1 << 8,
1876 HorizontalAccuracy = 1 << 9,
1877 VerticalAccuracy = 1 << 10,
1878 HvAccuracy = 1 << 11,
1879 SatellitesUsed = 1 << 12,
1880 Timestamp = 1 << 13,
1881 TrackStartTime = 1 << 14,
1882 TrackEndTime = 1 << 15,
1883 TrackDistanceSinceLastPoint = 1 << 16,
1884 TrackTimeSinceLastPoint = 1 << 17,
1885 GeoidalSeparation = 1 << 18,
1886 EllipsoidAltitude = 1 << 19,
1887 };
1888
1895 Q_ENUM( GpsInformationComponent )
1896 Q_FLAG( GpsInformationComponents )
1897
1898
1903 enum class BabelFormatCapability : int SIP_ENUM_BASETYPE( IntFlag )
1904 {
1905 Import = 1 << 0,
1906 Export = 1 << 1,
1907 Waypoints = 1 << 2,
1908 Routes = 1 << 3,
1909 Tracks = 1 << 4,
1910 };
1913 Q_ENUM( BabelFormatCapability )
1914 Q_FLAG( BabelFormatCapabilities )
1915
1916
1922 enum class BabelCommandFlag : int SIP_ENUM_BASETYPE( IntFlag )
1923 {
1924 QuoteFilePaths = 1 << 0,
1925 };
1928 Q_ENUM( BabelCommandFlag )
1929 Q_FLAG( BabelCommandFlags )
1930
1931
1936 enum class GpsFeatureType : int
1937 {
1938 Waypoint,
1939 Route,
1940 Track,
1941 };
1942 Q_ENUM( GpsFeatureType )
1943
1944
1952 {
1953 Success = 0,
1954 NothingHappened = 1000,
1955 InvalidBaseGeometry,
1956 InvalidInputGeometryType,
1957 SelectionIsEmpty,
1958 SelectionIsGreaterThanOne,
1959 GeometryEngineError,
1960 LayerNotEditable,
1961 // Add part issues
1962 AddPartSelectedGeometryNotFound,
1963 AddPartNotMultiGeometry,
1964 // Add ring issues
1965 AddRingNotClosed,
1966 AddRingNotValid,
1967 AddRingCrossesExistingRings,
1968 AddRingNotInExistingFeature,
1969 // Split features
1970 SplitCannotSplitPoint,
1971 GeometryTypeHasChanged,
1972 };
1973 Q_ENUM( GeometryOperationResult )
1974
1975
1981 {
1982 AllowSelfTouchingHoles SIP_MONKEYPATCH_COMPAT_NAME( FlagAllowSelfTouchingHoles ) = 1 << 0,
1983 };
1986 Q_ENUM( GeometryValidityFlag )
1987 Q_FLAG( GeometryValidityFlags )
1988
1989
1994 {
1995 QgisInternal SIP_MONKEYPATCH_COMPAT_NAME( ValidatorQgisInternal ),
1996 Geos SIP_MONKEYPATCH_COMPAT_NAME( ValidatorGeos ),
1997 };
1998 Q_ENUM( GeometryValidationEngine )
1999
2000
2010 Q_ENUM( BufferSide )
2011
2012
2018 {
2019 Round SIP_MONKEYPATCH_COMPAT_NAME( CapRound ) = 1,
2020 Flat SIP_MONKEYPATCH_COMPAT_NAME( CapFlat ),
2021 Square SIP_MONKEYPATCH_COMPAT_NAME( CapSquare ),
2022 };
2023 Q_ENUM( EndCapStyle )
2024
2025
2031 {
2032 Round SIP_MONKEYPATCH_COMPAT_NAME( JoinStyleRound ) = 1,
2033 Miter SIP_MONKEYPATCH_COMPAT_NAME( JoinStyleMiter ),
2034 Bevel SIP_MONKEYPATCH_COMPAT_NAME( JoinStyleBevel ),
2035 };
2036 Q_ENUM( JoinStyle )
2037
2038
2043 enum class GeosCreationFlag : int SIP_ENUM_BASETYPE( IntFlag )
2044 {
2045 RejectOnInvalidSubGeometry = 1 << 0,
2046 SkipEmptyInteriorRings = 1 << 1,
2047 };
2048 Q_ENUM( GeosCreationFlag )
2049
2050
2056 Q_FLAG( GeosCreationFlags )
2057
2063 enum class CoverageValidityResult : int
2064 {
2065 Invalid = 0,
2066 Valid = 1,
2067 Error = 2,
2068 };
2069 Q_ENUM( CoverageValidityResult )
2070
2071
2076 enum class MakeValidMethod : int
2077 {
2078 Linework = 0,
2079 Structure = 1,
2080 };
2081 Q_ENUM( MakeValidMethod )
2082
2083
2091 {
2092 NoFlags = 0,
2093 NoGeometry = 1,
2094 SubsetOfAttributes = 2,
2095 ExactIntersect = 4,
2096 IgnoreStaticNodesDuringExpressionCompilation = 8,
2097 EmbeddedSymbols = 16,
2098 };
2099 Q_ENUM( FeatureRequestFlag )
2100
2101
2109 Q_FLAG( FeatureRequestFlags )
2110
2119 {
2120 NoFilter SIP_MONKEYPATCH_COMPAT_NAME( FilterNone ),
2121 Fid SIP_MONKEYPATCH_COMPAT_NAME( FilterFid ),
2122 Expression SIP_MONKEYPATCH_COMPAT_NAME( FilterExpression ),
2123 Fids SIP_MONKEYPATCH_COMPAT_NAME( FilterFids )
2124 };
2125 Q_ENUM( FeatureRequestFilterType )
2126
2127
2135 {
2136 NoCheck SIP_MONKEYPATCH_COMPAT_NAME( GeometryNoCheck ) = 0,
2137 SkipInvalid SIP_MONKEYPATCH_COMPAT_NAME( GeometrySkipInvalid ) = 1,
2138 AbortOnInvalid SIP_MONKEYPATCH_COMPAT_NAME( GeometryAbortOnInvalid ) = 2,
2139 };
2140 Q_ENUM( InvalidGeometryCheck )
2141
2142
2147 enum class SpatialFilterType : int
2148 {
2149 NoFilter,
2150 BoundingBox,
2151 DistanceWithin,
2152 };
2153 Q_ENUM( SpatialFilterType )
2154
2155
2160 enum class FileOperationFlag : int SIP_ENUM_BASETYPE( IntFlag )
2161 {
2162 IncludeMetadataFile = 1 << 0,
2163 IncludeStyleFile = 1 << 1,
2164 };
2167 Q_ENUM( FileOperationFlag )
2168 Q_FLAG( FileOperationFlags )
2169
2170
2175 enum class MapLayerProperty : int SIP_ENUM_BASETYPE( IntFlag )
2176 {
2177 UsersCannotToggleEditing = 1 << 0,
2178 IsBasemapLayer = 1 << 1,
2179 };
2182 Q_ENUM( MapLayerProperty )
2183 Q_FLAG( MapLayerProperties )
2184
2185
2190 enum class AutoRefreshMode : int
2191 {
2192 Disabled = 0,
2193 ReloadData = 1,
2194 RedrawOnly = 2,
2195 };
2196 Q_ENUM( AutoRefreshMode )
2197
2198
2203 enum class DataProviderFlag : int SIP_ENUM_BASETYPE( IntFlag )
2204 {
2205 IsBasemapSource = 1 << 1,
2206 FastExtent2D = 1 << 2,
2207 FastExtent3D = 1 << 3,
2208 };
2211 Q_ENUM( DataProviderFlag )
2212 Q_FLAG( DataProviderFlags )
2213
2214
2221 enum class CrsType : int
2222 {
2223 Unknown,
2224 Geodetic,
2225 Geocentric,
2226 Geographic2d,
2227 Geographic3d,
2228 Vertical,
2229 Projected,
2230 Compound,
2231 Temporal,
2232 Engineering,
2233 Bound,
2234 Other,
2235 DerivedProjected,
2236 };
2237 Q_ENUM( CrsType )
2238
2239
2246 enum class CrsAxisDirection : int
2247 {
2248 North,
2249 NorthNorthEast,
2250 NorthEast,
2251 EastNorthEast,
2252 East,
2253 EastSouthEast,
2254 SouthEast,
2255 SouthSouthEast,
2256 South,
2257 SouthSouthWest,
2258 SouthWest,
2259 WestSouthWest,
2260 West,
2261 WestNorthWest,
2262 NorthWest,
2263 NorthNorthWest,
2264 GeocentricX,
2265 GeocentricY,
2266 GeocentricZ,
2267 Up,
2268 Down,
2269 Forward,
2270 Aft,
2271 Port,
2272 Starboard,
2273 Clockwise,
2274 CounterClockwise,
2275 ColumnPositive,
2276 ColumnNegative,
2277 RowPositive,
2278 RowNegative,
2279 DisplayRight,
2280 DisplayLeft,
2281 DisplayUp,
2282 DisplayDown,
2283 Future,
2284 Past,
2285 Towards,
2286 AwayFrom,
2287 Unspecified,
2288 };
2289 Q_ENUM( CrsAxisDirection )
2290
2291
2296 enum class CoordinateOrder : int
2297 {
2298 Default,
2299 XY,
2300 YX,
2301 };
2302 Q_ENUM( CoordinateOrder )
2303
2304
2312 {
2313 ShortString,
2314 MediumString,
2315 FullString,
2316 };
2317 Q_ENUM( CrsIdentifierType )
2318
2319
2327 {
2328 Wkt1Gdal SIP_MONKEYPATCH_COMPAT_NAME( WKT1_GDAL ),
2329 Wkt1Esri SIP_MONKEYPATCH_COMPAT_NAME( WKT1_ESRI ),
2330 Wkt2_2015 SIP_MONKEYPATCH_COMPAT_NAME( WKT2_2015 ),
2331 Wkt2_2015Simplified SIP_MONKEYPATCH_COMPAT_NAME( WKT2_2015_SIMPLIFIED ),
2332 Wkt2_2019 SIP_MONKEYPATCH_COMPAT_NAME( WKT2_2019 ),
2333 Wkt2_2019Simplified SIP_MONKEYPATCH_COMPAT_NAME( WKT2_2019_SIMPLIFIED ),
2334 Preferred SIP_MONKEYPATCH_COMPAT_NAME( WKT_PREFERRED ) = Wkt2_2019,
2335 PreferredSimplified SIP_MONKEYPATCH_COMPAT_NAME( WKT_PREFERRED_SIMPLIFIED ) = Wkt2_2019Simplified,
2336 PreferredGdal SIP_MONKEYPATCH_COMPAT_NAME( WKT_PREFERRED_GDAL ) = Wkt2_2019,
2337 };
2338 Q_ENUM( CrsWktVariant )
2339
2340
2345 enum class Axis : int
2346 {
2347 X,
2348 Y,
2349 Z
2350 };
2351 Q_ENUM( Axis )
2352
2353
2358 enum class AnnotationItemFlag : int SIP_ENUM_BASETYPE( IntFlag )
2359 {
2360 ScaleDependentBoundingBox = 1 << 0,
2361 SupportsReferenceScale = 1 << 1,
2362 SupportsCallouts = 1 << 2,
2363 };
2366 Q_ENUM( AnnotationItemFlag )
2367 Q_FLAG( AnnotationItemFlags )
2368
2369
2375 {
2376 SpatialBounds = 0,
2377 FixedSize,
2378 RelativeToMapFrame,
2379 };
2380 Q_ENUM( AnnotationPlacementMode )
2381
2382
2387 enum class AnnotationItemGuiFlag : int SIP_ENUM_BASETYPE( IntFlag )
2388 {
2389 FlagNoCreationTools = 1 << 0,
2390 };
2393 Q_ENUM( AnnotationItemGuiFlag )
2394 Q_FLAG( AnnotationItemGuiFlags )
2395
2396
2401 enum class AnnotationItemNodeType : int
2402 {
2403 VertexHandle,
2404 CalloutHandle,
2405 };
2406 Q_ENUM( AnnotationItemNodeType )
2407
2408
2414 {
2415 Success,
2416 Invalid,
2417 ItemCleared,
2418 };
2419 Q_ENUM( AnnotationItemEditOperationResult )
2420
2421
2429 {
2430 Disabled SIP_MONKEYPATCH_COMPAT_NAME( NavigationOff ),
2431 Animated,
2432 FixedRange,
2433 Movie,
2434 };
2435 Q_ENUM( TemporalNavigationMode )
2436
2437
2445 {
2446 Forward,
2447 Reverse,
2448 Idle,
2449 };
2450 Q_ENUM( AnimationState )
2451
2452
2457 enum class PlaybackOperation : int
2458 {
2459 SkipToStart,
2460 PreviousFrame,
2461 PlayReverse,
2462 Pause,
2463 PlayForward,
2464 NextFrame,
2465 SkipToEnd,
2466 };
2467 Q_ENUM( PlaybackOperation )
2468
2469
2475 {
2476 FixedTemporalRange SIP_MONKEYPATCH_COMPAT_NAME( ModeFixedTemporalRange ) = 0,
2477 FeatureDateTimeInstantFromField SIP_MONKEYPATCH_COMPAT_NAME( ModeFeatureDateTimeInstantFromField ),
2478 FeatureDateTimeStartAndEndFromFields SIP_MONKEYPATCH_COMPAT_NAME( ModeFeatureDateTimeStartAndEndFromFields ),
2479 FeatureDateTimeStartAndDurationFromFields SIP_MONKEYPATCH_COMPAT_NAME( ModeFeatureDateTimeStartAndDurationFromFields ),
2480 FeatureDateTimeStartAndEndFromExpressions SIP_MONKEYPATCH_COMPAT_NAME( ModeFeatureDateTimeStartAndEndFromExpressions ),
2481 RedrawLayerOnly SIP_MONKEYPATCH_COMPAT_NAME( ModeRedrawLayerOnly ),
2482 };
2483 Q_ENUM( VectorTemporalMode )
2484
2485
2491 {
2492 IncludeBeginExcludeEnd = 0,
2493 IncludeBeginIncludeEnd,
2494 };
2495 Q_ENUM( VectorTemporalLimitMode )
2496
2497
2503 {
2504 HasFixedTemporalRange SIP_MONKEYPATCH_COMPAT_NAME( ProviderHasFixedTemporalRange ) = 0,
2505 StoresFeatureDateTimeInstantInField SIP_MONKEYPATCH_COMPAT_NAME( ProviderStoresFeatureDateTimeInstantInField ),
2506 StoresFeatureDateTimeStartAndEndInSeparateFields SIP_MONKEYPATCH_COMPAT_NAME( ProviderStoresFeatureDateTimeStartAndEndInSeparateFields ),
2507 };
2508 Q_ENUM( VectorDataProviderTemporalMode )
2509
2510
2516 {
2517 FixedTemporalRange SIP_MONKEYPATCH_COMPAT_NAME( ModeFixedTemporalRange ) = 0,
2518 TemporalRangeFromDataProvider SIP_MONKEYPATCH_COMPAT_NAME( ModeTemporalRangeFromDataProvider ) = 1,
2519 RedrawLayerOnly SIP_MONKEYPATCH_COMPAT_NAME( ModeRedrawLayerOnly ) = 2,
2520 FixedRangePerBand = 3,
2521 RepresentsTemporalValues = 4,
2522 };
2523 Q_ENUM( RasterTemporalMode )
2524
2525
2531 {
2532 MatchUsingWholeRange,
2533 MatchExactUsingStartOfRange,
2534 MatchExactUsingEndOfRange,
2535 FindClosestMatchToStartOfRange,
2536 FindClosestMatchToEndOfRange
2537 };
2538 Q_ENUM( TemporalIntervalMatchMethod )
2539
2540
2546 {
2547 RequestedTimesMustExactlyMatchAllAvailableTemporalRanges = 1 << 0,
2548 };
2549 Q_ENUM( RasterTemporalCapabilityFlag )
2550
2551
2558
2565 {
2566 Forward SIP_MONKEYPATCH_COMPAT_NAME( ForwardTransform ),
2567 Reverse SIP_MONKEYPATCH_COMPAT_NAME( ReverseTransform )
2568 };
2569 Q_ENUM( TransformDirection )
2570
2571
2577 {
2578 BallparkTransformsAreAppropriate = 1 << 0,
2579 IgnoreImpossibleTransformations = 1 << 1,
2580 };
2581 Q_ENUM( CoordinateTransformationFlag )
2582
2583
2590
2597 {
2598 Antialiasing = 0x01,
2599 DrawEditingInfo = 0x02,
2600 ForceVectorOutput = 0x04,
2601 UseAdvancedEffects = 0x08,
2602 DrawLabeling = 0x10,
2603 UseRenderingOptimization = 0x20,
2604 DrawSelection = 0x40,
2605 DrawSymbolBounds = 0x80,
2606 RenderMapTile = 0x100,
2607 RenderPartialOutput = 0x200,
2608 RenderPreviewJob = 0x400,
2609 RenderBlocking = 0x800,
2610 LosslessImageRendering = 0x1000,
2611 Render3DMap = 0x2000,
2612 HighQualityImageTransforms = 0x4000,
2613 SkipSymbolRendering = 0x8000,
2614 ForceRasterMasks = 0x10000,
2615 RecordProfile = 0x20000,
2616 AlwaysUseGlobalMasks = 0x40000,
2617 };
2620 Q_ENUM( MapSettingsFlag )
2621 Q_FLAG( MapSettingsFlags )
2622
2623
2629 {
2630 DrawEditingInfo = 0x01,
2631 ForceVectorOutput = 0x02,
2632 UseAdvancedEffects = 0x04,
2633 UseRenderingOptimization = 0x08,
2634 DrawSelection = 0x10,
2635 DrawSymbolBounds = 0x20,
2636 RenderMapTile = 0x40,
2637 Antialiasing = 0x80,
2638 RenderPartialOutput = 0x100,
2639 RenderPreviewJob = 0x200,
2640 RenderBlocking = 0x400,
2641 RenderSymbolPreview = 0x800,
2642 LosslessImageRendering = 0x1000,
2643 ApplyScalingWorkaroundForTextRendering = 0x2000,
2644 Render3DMap = 0x4000,
2645 ApplyClipAfterReprojection = 0x8000,
2646 RenderingSubSymbol = 0x10000,
2647 HighQualityImageTransforms = 0x20000,
2648 SkipSymbolRendering = 0x40000,
2649 RecordProfile = 0x80000,
2650 AlwaysUseGlobalMasks = 0x100000,
2651 DisableSymbolClippingToExtent = 0x200000,
2652 };
2655 Q_ENUM( RenderContextFlag )
2656 Q_FLAG( RenderContextFlags )
2657
2658
2663 enum class MapLayerRendererFlag : int SIP_ENUM_BASETYPE( IntFlag )
2664 {
2665 RenderPartialOutputs = 1 << 0,
2666 RenderPartialOutputOverPreviousCachedImage = 1 << 1,
2667 AffectsLabeling = 1 << 2,
2668 };
2669 Q_ENUM( MapLayerRendererFlag )
2670
2671
2677 Q_FLAG( MapLayerRendererFlags )
2678
2679 // refs for below dox: https://github.com/qgis/QGIS/pull/1286#issuecomment-39806854
2680 // https://github.com/qgis/QGIS/pull/8573#issuecomment-445585826
2681
2687 {
2688 AlwaysOutlines SIP_MONKEYPATCH_COMPAT_NAME( TextFormatAlwaysOutlines ),
2689 AlwaysText SIP_MONKEYPATCH_COMPAT_NAME( TextFormatAlwaysText ),
2690 PreferText,
2691 };
2692 Q_ENUM( TextRenderFormat )
2693
2694
2702 {
2703 UseAllLabels = 1 << 1,
2704 UsePartialCandidates = 1 << 2,
2705 // TODO QGIS 4.0: remove
2706 RenderOutlineLabels = 1 << 3,
2707 DrawLabelRectOnly = 1 << 4,
2708 DrawCandidates = 1 << 5,
2709 DrawUnplacedLabels = 1 << 6,
2710 CollectUnplacedLabels = 1 << 7,
2711 DrawLabelMetrics = 1 << 8,
2712 };
2713 Q_ENUM( LabelingFlag )
2714
2715
2723 Q_FLAG( LabelingFlags )
2724
2733 {
2734 Version1 SIP_MONKEYPATCH_COMPAT_NAME( PlacementEngineVersion1 ),
2735 Version2 SIP_MONKEYPATCH_COMPAT_NAME( PlacementEngineVersion2 ),
2736 };
2737 Q_ENUM( LabelPlacementEngineVersion )
2738
2739
2747 {
2748 Horizontal SIP_MONKEYPATCH_COMPAT_NAME( HorizontalOrientation ),
2749 Vertical SIP_MONKEYPATCH_COMPAT_NAME( VerticalOrientation ),
2750 RotationBased SIP_MONKEYPATCH_COMPAT_NAME( RotationBasedOrientation ),
2751 };
2752 Q_ENUM( TextOrientation )
2753
2754
2762 {
2763 Rectangle SIP_MONKEYPATCH_COMPAT_NAME( Rect ),
2764 Point,
2765 Labeling SIP_MONKEYPATCH_COMPAT_NAME( Label ),
2766 RectangleCapHeightBased,
2767 RectangleAscentBased,
2768 };
2769 Q_ENUM( TextLayoutMode )
2770
2771
2779 {
2780 Text = 1 << 0,
2781 Buffer = 1 << 1,
2782 Background = 1 << 2,
2783 Shadow = 1 << 3,
2784 };
2785 Q_ENUM( TextComponent )
2786
2787
2792 Q_DECLARE_FLAGS( TextComponents, TextComponent )
2793 Q_FLAG( TextComponents )
2794
2803 {
2804 Left SIP_MONKEYPATCH_COMPAT_NAME( AlignLeft ),
2805 Center SIP_MONKEYPATCH_COMPAT_NAME( AlignCenter ),
2806 Right SIP_MONKEYPATCH_COMPAT_NAME( AlignRight ),
2807 Justify SIP_MONKEYPATCH_COMPAT_NAME( AlignJustify ),
2808 };
2809 Q_ENUM( TextHorizontalAlignment )
2810
2811
2822 {
2823 Top SIP_MONKEYPATCH_COMPAT_NAME( AlignTop ),
2824 VerticalCenter SIP_MONKEYPATCH_COMPAT_NAME( AlignVCenter ),
2825 Bottom SIP_MONKEYPATCH_COMPAT_NAME( AlignBottom ),
2826 };
2827 Q_ENUM( TextVerticalAlignment )
2828
2829
2838 {
2839 Normal,
2840 SuperScript,
2841 SubScript,
2842 };
2843 Q_ENUM( TextCharacterVerticalAlignment )
2844
2845
2853 {
2854 Distance = 0,
2855 SnapToGrid = 1,
2856 Visvalingam = 2,
2857 SnappedToGridGlobal = 3,
2858 };
2859 Q_ENUM( VectorSimplificationAlgorithm )
2860
2861
2869 {
2870 NoSimplification = 0,
2871 GeometrySimplification = 1,
2872 AntialiasingSimplification = 2,
2873 FullSimplification = 3,
2874 };
2875 Q_ENUM( VectorRenderingSimplificationFlag )
2876
2877
2886
2893 {
2894 Generic,
2895 ShadowOffset,
2896 BlurSize,
2897 GlowSpread,
2898 };
2899 Q_ENUM( RenderSubcomponentProperty )
2900
2901
2906 {
2907 Segment SIP_MONKEYPATCH_COMPAT_NAME( SegmentVertex ) = 1,
2908 Curve SIP_MONKEYPATCH_COMPAT_NAME( CurveVertex ) = 2,
2909 };
2910 Q_ENUM( VertexType )
2911
2912
2920 {
2921 Square,
2922 Diamond,
2923 Pentagon,
2924 Hexagon,
2925 Triangle,
2926 EquilateralTriangle,
2927 Star,
2928 Arrow,
2929 Circle,
2930 Cross,
2931 CrossFill,
2932 Cross2,
2933 Line,
2934 ArrowHead,
2935 ArrowHeadFilled,
2936 SemiCircle,
2937 ThirdCircle,
2938 QuarterCircle,
2939 QuarterSquare,
2940 HalfSquare,
2941 DiagonalHalfSquare,
2942 RightHalfTriangle,
2943 LeftHalfTriangle,
2944 Octagon,
2945 SquareWithCorners,
2946 AsteriskFill,
2947 HalfArc,
2948 ThirdArc,
2949 QuarterArc,
2950 ParallelogramRight,
2951 ParallelogramLeft,
2952 Trapezoid,
2953 Shield,
2954 DiamondStar,
2955 Heart,
2956 Decagon,
2957 RoundedSquare,
2958 };
2959 Q_ENUM( MarkerShape )
2960
2961
2969 {
2970 Interval = 1 << 0,
2971 Vertex = 1 << 1,
2972 LastVertex = 1 << 2,
2973 FirstVertex = 1 << 3,
2974 CentralPoint = 1 << 4,
2975 CurvePoint = 1 << 5,
2976 SegmentCenter = 1 << 6,
2977 InnerVertices = 1 << 7,
2978 };
2979 Q_ENUM( MarkerLinePlacement )
2981 Q_FLAG( MarkerLinePlacements )
2982
2989 {
2990 IntervalCartesian2D = 1 << 0,
2991 IntervalZ = 1 << 1,
2992 IntervalM = 1 << 2,
2993 Vertex = 1 << 3,
2994 };
2995 Q_ENUM( LinearReferencingPlacement )
2996
2997
3003 {
3004 CartesianDistance2D,
3005 Z,
3006 M,
3007 };
3008 Q_ENUM( LinearReferencingLabelSource )
3009
3010
3018 {
3019 SimpleTwoColor,
3020 ColorRamp,
3021 };
3022 Q_ENUM( GradientColorSource )
3023
3024
3032 {
3033 Linear,
3034 Radial,
3035 Conical,
3036 };
3037 Q_ENUM( GradientType )
3038
3039
3047 {
3048 Feature,
3049 Viewport,
3050 };
3051 Q_ENUM( SymbolCoordinateReference )
3052
3053
3062 {
3063 Pad,
3064 Reflect,
3065 Repeat,
3066 };
3067 Q_ENUM( GradientSpread )
3068
3069
3077 {
3078 Absolute SIP_MONKEYPATCH_COMPAT_NAME( AbsoluteCount ),
3079 DensityBased SIP_MONKEYPATCH_COMPAT_NAME( DensityBasedCount ),
3080 };
3081 Q_ENUM( PointCountMethod )
3082
3083
3088 enum class MarkerClipMode : int
3089 {
3090 NoClipping,
3091 Shape,
3092 CentroidWithin,
3093 CompletelyWithin,
3094 };
3095 Q_ENUM( MarkerClipMode )
3096
3097
3102 enum class LineClipMode : int
3103 {
3104 ClipPainterOnly,
3105 ClipToIntersection,
3106 NoClipping,
3107 };
3108 Q_ENUM( LineClipMode )
3109
3110
3116 {
3117 NoRule,
3118 FullDash,
3119 HalfDash,
3120 FullGap,
3121 HalfGap,
3122 };
3123 Q_ENUM( DashPatternLineEndingRule )
3124
3125
3131 {
3132 ScaleBothDashAndGap,
3133 ScaleDashOnly,
3134 ScaleGapOnly,
3135 };
3136 Q_ENUM( DashPatternSizeAdjustment )
3137
3138
3146 {
3147 Color SIP_MONKEYPATCH_COMPAT_NAME( GraduatedColor ),
3148 Size SIP_MONKEYPATCH_COMPAT_NAME( GraduatedSize ),
3149 };
3150 Q_ENUM( GraduatedMethod )
3151
3152
3158 {
3159 NoLabels,
3160 EveryLabel,
3161 FirstLabel,
3162 LastLabel,
3163 FirstAndLastLabels,
3164 };
3165 Q_ENUM( PlotAxisSuffixPlacement )
3166
3167
3171 enum class DpiMode
3172 {
3173 All = 7,
3174 Off = 0,
3175 QGIS = 1,
3176 UMN = 2,
3177 GeoServer = 4,
3178 };
3179 Q_ENUM( DpiMode )
3180
3181
3186 {
3187 Undefined = 0,
3188 StandardDpi = 1,
3189 HighDpi = 2,
3190 };
3191 Q_ENUM( TilePixelRatio )
3192
3193 // NOTE -- the hardcoded numbers here must match QFont::Capitalization!
3194
3195
3203 {
3204 MixedCase = 0,
3205 AllUppercase = 1,
3206 AllLowercase = 2,
3207 ForceFirstLetterToCapital = 4,
3208 SmallCaps = 5,
3209 TitleCase = 1004,
3210 UpperCamelCase = 1005,
3211 AllSmallCaps = 1006,
3212 };
3213 Q_ENUM( Capitalization )
3214
3215
3220 enum class TextRendererFlag : int SIP_ENUM_BASETYPE( IntFlag )
3221 {
3222 WrapLines = 1 << 0,
3223 };
3224 Q_ENUM( TextRendererFlag )
3226 Q_FLAG( TextRendererFlags )
3227
3234 {
3235 MapBox,
3236 Esri,
3237 };
3239
3246 {
3247 Clockwise,
3248 CounterClockwise,
3249 NoOrientation,
3250 };
3251 Q_ENUM( AngularDirection )
3252
3253
3258 enum class RendererUsage : int
3259 {
3260 View,
3261 Export,
3262 Unknown,
3263 };
3264 Q_ENUM( RendererUsage )
3265
3266
3271 enum class MapCanvasFlag : int SIP_ENUM_BASETYPE( IntFlag )
3272 {
3273 ShowMainAnnotationLayer = 1 << 0,
3274 };
3275 Q_ENUM( MapCanvasFlag )
3276
3277
3282 Q_DECLARE_FLAGS( MapCanvasFlags, MapCanvasFlag )
3283 Q_FLAG( MapCanvasFlags )
3284
3290 enum class ViewSyncModeFlag : int SIP_ENUM_BASETYPE( IntFlag )
3291 {
3292 Sync3DTo2D = 1 << 0,
3293 Sync2DTo3D = 1 << 1,
3294 };
3295 Q_ENUM( ViewSyncModeFlag )
3297
3304 {
3305 Always,
3306 WhenOutsideVisibleExtent,
3307 Never,
3308 };
3309 Q_ENUM( MapRecenteringMode )
3310
3311
3316 enum class HistoryProviderBackend : int SIP_ENUM_BASETYPE( IntFlag )
3317 {
3318 LocalProfile = 1 << 0,
3319// Project = 1 << 1, //!< QGIS Project (not yet implemented)
3320 };
3321 Q_ENUM( HistoryProviderBackend )
3323 Q_FLAG( HistoryProviderBackends )
3324
3333 {
3334 MapLayer SIP_MONKEYPATCH_COMPAT_NAME( TypeMapLayer ) = -2,
3335 VectorAnyGeometry SIP_MONKEYPATCH_COMPAT_NAME( TypeVectorAnyGeometry ) = -1,
3336 VectorPoint SIP_MONKEYPATCH_COMPAT_NAME( TypeVectorPoint ) = 0,
3337 VectorLine SIP_MONKEYPATCH_COMPAT_NAME( TypeVectorLine ) = 1,
3338 VectorPolygon SIP_MONKEYPATCH_COMPAT_NAME( TypeVectorPolygon ) = 2,
3339 Raster SIP_MONKEYPATCH_COMPAT_NAME( TypeRaster ) = 3,
3340 File SIP_MONKEYPATCH_COMPAT_NAME( TypeFile ) = 4,
3341 Vector SIP_MONKEYPATCH_COMPAT_NAME( TypeVector ) = 5,
3342 Mesh SIP_MONKEYPATCH_COMPAT_NAME( TypeMesh ) = 6,
3343 Plugin SIP_MONKEYPATCH_COMPAT_NAME( TypePlugin ) = 7,
3344 PointCloud SIP_MONKEYPATCH_COMPAT_NAME( TypePointCloud ) = 8,
3345 Annotation SIP_MONKEYPATCH_COMPAT_NAME( TypeAnnotation ) = 9,
3346 VectorTile SIP_MONKEYPATCH_COMPAT_NAME( TypeVectorTile ) = 10
3347 };
3348 Q_ENUM( ProcessingSourceType )
3349
3350
3351
3359 {
3360 DeemphasiseSearchResults SIP_MONKEYPATCH_COMPAT_NAME( FlagDeemphasiseSearchResults ) = 1 << 1,
3361 CompatibleWithVirtualRaster SIP_MONKEYPATCH_COMPAT_NAME( FlagCompatibleWithVirtualRaster ) = 1 << 2,
3362 };
3364
3373 Q_FLAG( ProcessingProviderFlags )
3374
3375
3383 {
3384 HideFromToolbox SIP_MONKEYPATCH_COMPAT_NAME( FlagHideFromToolbox ) = 1 << 1,
3385 HideFromModeler SIP_MONKEYPATCH_COMPAT_NAME( FlagHideFromModeler ) = 1 << 2,
3386 SupportsBatch SIP_MONKEYPATCH_COMPAT_NAME( FlagSupportsBatch ) = 1 << 3,
3387 CanCancel SIP_MONKEYPATCH_COMPAT_NAME( FlagCanCancel ) = 1 << 4,
3388 RequiresMatchingCrs SIP_MONKEYPATCH_COMPAT_NAME( FlagRequiresMatchingCrs ) = 1 << 5,
3389 NoThreading SIP_MONKEYPATCH_COMPAT_NAME( FlagNoThreading ) = 1 << 6,
3390 DisplayNameIsLiteral SIP_MONKEYPATCH_COMPAT_NAME( FlagDisplayNameIsLiteral ) = 1 << 7,
3391 SupportsInPlaceEdits SIP_MONKEYPATCH_COMPAT_NAME( FlagSupportsInPlaceEdits ) = 1 << 8,
3392 KnownIssues SIP_MONKEYPATCH_COMPAT_NAME( FlagKnownIssues ) = 1 << 9,
3393 CustomException SIP_MONKEYPATCH_COMPAT_NAME( FlagCustomException ) = 1 << 10,
3394 PruneModelBranchesBasedOnAlgorithmResults SIP_MONKEYPATCH_COMPAT_NAME( FlagPruneModelBranchesBasedOnAlgorithmResults ) = 1 << 11,
3395 SkipGenericModelLogging SIP_MONKEYPATCH_COMPAT_NAME( FlagSkipGenericModelLogging ) = 1 << 12,
3396 NotAvailableInStandaloneTool SIP_MONKEYPATCH_COMPAT_NAME( FlagNotAvailableInStandaloneTool ) = 1 << 13,
3397 RequiresProject SIP_MONKEYPATCH_COMPAT_NAME( FlagRequiresProject ) = 1 << 14,
3398 SecurityRisk = 1 << 15,
3399 Deprecated SIP_MONKEYPATCH_COMPAT_NAME( FlagDeprecated ) = HideFromToolbox | HideFromModeler,
3400 };
3402
3411 Q_FLAG( ProcessingAlgorithmFlags )
3412
3413
3419 {
3420 RegeneratesPrimaryKey = 1 << 0,
3421 RegeneratesPrimaryKeyInSomeScenarios = 1 << 1,
3422 };
3423 Q_ENUM( ProcessingAlgorithmDocumentationFlag )
3424
3425
3432
3442 {
3443 NotAvailable,
3444 Available,
3445 };
3446 Q_ENUM( ProcessingPropertyAvailability )
3447
3448
3456 {
3457 DefaultLevel = 0,
3458 Verbose,
3459 ModelDebug,
3460 };
3461 Q_ENUM( ProcessingLogLevel )
3462
3463
3471 {
3472 OverrideDefaultGeometryCheck SIP_MONKEYPATCH_COMPAT_NAME( FlagOverrideDefaultGeometryCheck ) = 1 << 0,
3473 CreateIndividualOutputPerInputFeature SIP_MONKEYPATCH_COMPAT_NAME( FlagCreateIndividualOutputPerInputFeature ) = 1 << 1,
3474 };
3475 Q_ENUM( ProcessingFeatureSourceDefinitionFlag )
3476
3477
3486
3495 {
3496 SkipGeometryValidityChecks SIP_MONKEYPATCH_COMPAT_NAME( FlagSkipGeometryValidityChecks ) = 1 << 1,
3497 };
3498 Q_ENUM( ProcessingFeatureSourceFlag )
3499
3500
3509
3521 {
3522 ExposeToModeler = 1
3523 };
3524 Q_ENUM( ProcessingParameterTypeFlag )
3525
3526
3538
3547 {
3548 Advanced SIP_MONKEYPATCH_COMPAT_NAME( FlagAdvanced ) = 1 << 1,
3549 Hidden SIP_MONKEYPATCH_COMPAT_NAME( FlagHidden ) = 1 << 2,
3550 Optional SIP_MONKEYPATCH_COMPAT_NAME( FlagOptional ) = 1 << 3,
3551 IsModelOutput SIP_MONKEYPATCH_COMPAT_NAME( FlagIsModelOutput ) = 1 << 4,
3552 };
3553 Q_ENUM( ProcessingParameterFlag )
3554
3555
3563 Q_FLAG( ProcessingParameterFlags )
3564
3573 {
3574 File = 0,
3575 Folder,
3576 };
3577 Q_ENUM( ProcessingFileParameterBehavior )
3578
3579
3587 {
3588 Integer,
3589 Double,
3590 };
3591 Q_ENUM( ProcessingNumberParameterType )
3592
3593
3601 {
3602 Any = -1,
3603 Numeric = 0,
3604 String = 1,
3605 DateTime = 2,
3606 Binary = 3,
3607 Boolean = 4,
3608 };
3609 Q_ENUM( ProcessingFieldParameterDataType )
3610
3611
3619 {
3620 DateTime,
3621 Date,
3622 Time,
3623 };
3624 Q_ENUM( ProcessingDateTimeParameterDataType )
3625
3626
3632 {
3633 ModelParameter,
3634 ChildOutput,
3635 StaticValue,
3636 Expression,
3637 ExpressionText,
3638 ModelOutput,
3639 };
3640 Q_ENUM( ProcessingModelChildParameterSource )
3641
3642
3648 {
3649 NotExecuted,
3650 Success,
3651 Failed,
3652 };
3653 Q_ENUM( ProcessingModelChildAlgorithmExecutionStatus )
3654
3655
3663 {
3664 Vertices,
3665 StructureLines,
3666 BreakLines
3667 };
3668 Q_ENUM( ProcessingTinInputLayerType )
3669
3670
3676 {
3677 Wkt SIP_MONKEYPATCH_COMPAT_NAME( FormatWkt ),
3678 Proj SIP_MONKEYPATCH_COMPAT_NAME( FormatProj ),
3679 };
3680 Q_ENUM( CrsDefinitionFormat )
3681
3682
3690 enum class FieldDomainSplitPolicy : int
3691 {
3692 DefaultValue,
3693 Duplicate,
3694 GeometryRatio,
3695 UnsetField,
3696 };
3697 Q_ENUM( FieldDomainSplitPolicy )
3698
3699
3707 enum class FieldDomainMergePolicy : int
3708 {
3709 DefaultValue,
3710 Sum,
3711 GeometryWeighted,
3712 };
3713 Q_ENUM( FieldDomainMergePolicy )
3714
3715
3722 enum class FieldDuplicatePolicy : int
3723 {
3724 DefaultValue,
3725 Duplicate,
3726 UnsetField,
3727 };
3728 Q_ENUM( FieldDuplicatePolicy )
3729
3730
3735 enum class FieldDomainType : int
3736 {
3737 Coded,
3738 Range,
3739 Glob,
3740 };
3741 Q_ENUM( FieldDomainType )
3742
3743
3748 enum class TransactionMode : int
3749 {
3750 Disabled = 0,
3751 AutomaticGroups = 1,
3752 BufferedGroups = 2,
3753 };
3754 Q_ENUM( TransactionMode )
3755
3756
3761 enum class AltitudeClamping : int
3762 {
3763 Absolute,
3764 Relative,
3765 Terrain,
3766 };
3767 Q_ENUM( AltitudeClamping )
3768
3769
3774 enum class AltitudeBinding : int
3775 {
3776 Vertex,
3777 Centroid,
3778 };
3779 Q_ENUM( AltitudeBinding )
3780
3781
3786 enum class RangeLimits : int
3787 {
3788 IncludeBoth = 0,
3789 IncludeLowerExcludeUpper,
3790 ExcludeLowerIncludeUpper,
3791 ExcludeBoth,
3792 };
3793 Q_ENUM( RangeLimits )
3794
3795
3800 enum class RasterElevationMode : int
3801 {
3802 FixedElevationRange = 0,
3803 RepresentsElevationSurface = 1,
3804 FixedRangePerBand = 2,
3805 DynamicRangePerBand = 3,
3806 };
3807 Q_ENUM( RasterElevationMode )
3808
3809
3814 enum class MeshElevationMode : int
3815 {
3816 FixedElevationRange = 0,
3817 FromVertices = 1,
3818 FixedRangePerGroup = 2,
3819 };
3820 Q_ENUM( MeshElevationMode )
3821
3822
3828 {
3829 NoConstraint,
3830 Perpendicular,
3831 Parallel
3832 };
3833 Q_ENUM( BetweenLineConstraint )
3834
3835
3840 enum class LineExtensionSide : int
3841 {
3842 BeforeVertex,
3843 AfterVertex,
3844 NoVertex,
3845 };
3846 Q_ENUM( LineExtensionSide )
3847
3848
3849
3853 enum class CadConstraintType : int
3854 {
3855 Generic,
3856 Angle,
3857 Distance,
3858 XCoordinate,
3859 YCoordinate,
3860 ZValue,
3861 MValue,
3862 };
3863 Q_ENUM( CadConstraintType )
3864
3865
3866
3871 enum class ProjectFlag : int SIP_ENUM_BASETYPE( IntFlag )
3872 {
3873 EvaluateDefaultValuesOnProviderSide = 1 << 0,
3874 TrustStoredLayerStatistics = 1 << 1,
3875 RememberLayerEditStatusBetweenSessions = 1 << 2,
3876 RememberAttributeTableWindowsBetweenSessions = 1 << 3,
3877 };
3878 Q_ENUM( ProjectFlag )
3879 Q_DECLARE_FLAGS( ProjectFlags, ProjectFlag )
3880 Q_FLAG( ProjectFlags )
3881
3887 enum class PlotToolFlag : int SIP_ENUM_BASETYPE( IntFlag )
3888 {
3889 ShowContextMenu = 1 << 0,
3890 };
3891 Q_ENUM( PlotToolFlag )
3892 Q_DECLARE_FLAGS( PlotToolFlags, PlotToolFlag )
3893 Q_FLAG( PlotToolFlags )
3894
3895
3903 enum class Point3DShape : int
3904 {
3905 Cylinder,
3906 Sphere,
3907 Cone,
3908 Cube,
3909 Torus,
3910 Plane,
3911 ExtrudedText,
3912 Model,
3913 Billboard,
3914 };
3915 Q_ENUM( Point3DShape )
3916
3917
3922 enum class LightSourceType : int
3923 {
3924 Point,
3925 Directional,
3926 };
3927 Q_ENUM( LightSourceType )
3928
3929
3934 enum class NavigationMode : int
3935 {
3936 TerrainBased,
3937 Walk
3938 };
3939 Q_ENUM( NavigationMode )
3940
3941
3946 enum class VerticalAxisInversion : int
3947 {
3948 Never,
3949 WhenDragging,
3950 Always,
3951 };
3952 Q_ENUM( VerticalAxisInversion )
3953
3954
3960 {
3961 Line,
3962 FillBelow,
3963 FillAbove,
3964 };
3966
3972 enum class VectorProfileType : int
3973 {
3974 IndividualFeatures,
3975 ContinuousSurface,
3976 };
3978
3984 enum class ProfileGeneratorFlag : int SIP_ENUM_BASETYPE( IntFlag )
3985 {
3986 RespectsMaximumErrorMapUnit = 1 << 0,
3987 RespectsDistanceRange = 1 << 1,
3988 RespectsElevationRange = 1 << 2,
3989 };
3990 Q_ENUM( ProfileGeneratorFlag )
3992 Q_FLAG( ProfileGeneratorFlags )
3993
3999 enum class ProfileExportType : int
4000 {
4001 Features3D,
4002 Profile2D,
4003 DistanceVsElevationTable,
4004 };
4006
4013 {
4014 Square,
4015 Circle,
4016 };
4017 Q_ENUM( PointCloudSymbol )
4018
4019
4025 {
4026 Default,
4027 BottomToTop,
4028 TopToBottom,
4029 };
4030 Q_ENUM( PointCloudDrawOrder )
4031
4032
4040 {
4041 AllowIntersections,
4042 AvoidIntersectionsCurrentLayer,
4043 AvoidIntersectionsLayers,
4044 };
4045 Q_ENUM( AvoidIntersectionsMode )
4046
4047
4055 {
4056 Qgz,
4057 Qgs,
4058 };
4059 Q_ENUM( ProjectFileFormat )
4060
4061
4069 {
4070 DontResolveLayers SIP_MONKEYPATCH_COMPAT_NAME( FlagDontResolveLayers ) = 1 << 0,
4071 DontLoadLayouts SIP_MONKEYPATCH_COMPAT_NAME( FlagDontLoadLayouts ) = 1 << 1,
4072 TrustLayerMetadata SIP_MONKEYPATCH_COMPAT_NAME( FlagTrustLayerMetadata ) = 1 << 2,
4073 DontStoreOriginalStyles SIP_MONKEYPATCH_COMPAT_NAME( FlagDontStoreOriginalStyles ) = 1 << 3,
4074 DontLoad3DViews SIP_MONKEYPATCH_COMPAT_NAME( FlagDontLoad3DViews ) = 1 << 4,
4075 DontLoadProjectStyles = 1 << 5,
4076 ForceReadOnlyLayers = 1 << 6,
4077 DontUpgradeAnnotations = 1 << 7,
4078 };
4079 Q_ENUM( ProjectReadFlag )
4080
4081
4089 Q_FLAG( ProjectReadFlags )
4090
4099 enum class ProjectCapability : int SIP_ENUM_BASETYPE( IntFlag )
4100 {
4101 ProjectStyles = 1 << 0,
4102 };
4103 Q_ENUM( ProjectCapability )
4104
4105
4111 Q_FLAG( ProjectCapabilities )
4112
4119 {
4120 Vector,
4121 Raster,
4122 RasterDem,
4123 GeoJson,
4124 Image,
4125 Video,
4126 Unknown,
4127 };
4128 Q_ENUM( MapBoxGlStyleSourceType )
4129
4130
4138 {
4139 FeatureServer SIP_MONKEYPATCH_COMPAT_NAME( FeatureService ),
4140 MapServer SIP_MONKEYPATCH_COMPAT_NAME( MapService ),
4141 ImageServer SIP_MONKEYPATCH_COMPAT_NAME( ImageService ),
4142 GlobeServer,
4143 GPServer,
4144 GeocodeServer,
4145 Unknown,
4146 };
4147 Q_ENUM( ArcGisRestServiceType )
4148
4149
4157 {
4158 Normal,
4159 Generated,
4160 };
4161 Q_ENUM( RelationshipType )
4162
4163
4171 {
4172 Association,
4173 Composition,
4174 };
4175 Q_ENUM( RelationshipStrength )
4176
4177
4183 {
4184 OneToOne,
4185 OneToMany,
4186 ManyToOne,
4187 ManyToMany,
4188 };
4189 Q_ENUM( RelationshipCardinality )
4190
4191
4196 enum class RelationshipCapability : int SIP_ENUM_BASETYPE( IntFlag )
4197 {
4198 MultipleFieldKeys = 1 << 0,
4199 ForwardPathLabel = 1 << 1,
4200 BackwardPathLabel = 1 << 2,
4201 };
4202 Q_ENUM( RelationshipCapability )
4203
4204
4210 Q_FLAG( RelationshipCapabilities )
4211
4217 enum class CoordinateDisplayType : int
4218 {
4219 MapCrs,
4220 MapGeographic,
4221 CustomCrs,
4222 };
4223 Q_ENUM( CoordinateDisplayType )
4224
4225
4230 enum class SettingsOrigin : int
4231 {
4232 Any,
4233 Global,
4234 Local,
4235 };
4236 Q_ENUM( SettingsOrigin )
4237
4238
4243 enum class ScriptLanguage : int
4244 {
4245 Css,
4246 QgisExpression,
4247 Html,
4248 JavaScript,
4249 Json,
4250 Python,
4251 R,
4252 Sql,
4253 Batch,
4254 Bash,
4255 Unknown,
4256 };
4257 Q_ENUM( ScriptLanguage )
4258
4259
4267 {
4268 Reformat = 1 << 0,
4269 CheckSyntax = 1 << 1,
4270 ToggleComment = 1 << 2,
4271 };
4272 Q_ENUM( ScriptLanguageCapability )
4273
4274
4281
4288 {
4289 AboveInsertionPoint,
4290 TopOfTree,
4291 OptimalInInsertionGroup,
4292 };
4293 Q_ENUM( LayerTreeInsertionMethod )
4294
4295
4300 enum class LayerTreeFilterFlag : int SIP_ENUM_BASETYPE( IntFlag )
4301 {
4302 SkipVisibilityCheck = 1 << 0,
4303 };
4304 Q_ENUM( LayerTreeFilterFlag )
4305
4306
4312 Q_FLAG( LayerTreeFilterFlags )
4313
4314
4322 enum class LegendJsonRenderFlag : int SIP_ENUM_BASETYPE( IntFlag )
4323 {
4324 ShowRuleDetails = 1 << 0,
4325 };
4326 Q_ENUM( LegendJsonRenderFlag )
4328 Q_FLAG( LegendJsonRenderFlags )
4329
4337 enum class ActionType : int
4338 {
4339 Invalid,
4340 MapLayerAction,
4341 AttributeAction
4342 };
4343 Q_ENUM( ActionType )
4344
4345
4352 enum class MapLayerActionTarget : int SIP_ENUM_BASETYPE( IntFlag )
4353 {
4354 Layer = 1 << 0,
4355 SingleFeature = 1 << 1,
4356 MultipleFeatures = 1 << 2,
4357 AllActions = Layer | SingleFeature | MultipleFeatures
4358 };
4359 Q_ENUM( MapLayerActionTarget )
4360
4361
4369 Q_FLAG( MapLayerActionTargets )
4370
4378 enum class MapLayerActionFlag : int SIP_ENUM_BASETYPE( IntFlag )
4379 {
4380 EnabledOnlyWhenEditable = 1 << 1,
4381 };
4382 Q_ENUM( MapLayerActionFlag )
4383
4384
4392 Q_FLAG( MapLayerActionFlags )
4393
4402 {
4403 Generic,
4404 GenericPython,
4405 Mac,
4406 Windows,
4407 Unix,
4408 OpenUrl,
4409 SubmitUrlEncoded,
4410 SubmitUrlMultipart,
4411 };
4412 Q_ENUM( AttributeActionType )
4413
4414
4420 {
4421 Created,
4422 Published,
4423 Revised,
4424 Superseded,
4425 };
4426 Q_ENUM( MetadataDateType )
4427
4428
4439 {
4440 Undefined SIP_MONKEYPATCH_COMPAT_NAME( UndefinedColorInterpretation ) = 0,
4441 GrayIndex = 1,
4442 PaletteIndex = 2,
4443 RedBand = 3,
4444 GreenBand = 4,
4445 BlueBand = 5,
4446 AlphaBand = 6,
4447 HueBand = 7,
4448 SaturationBand = 8,
4449 LightnessBand = 9,
4450 CyanBand = 10,
4451 MagentaBand = 11,
4452 YellowBand = 12,
4453 BlackBand = 13,
4454 YCbCr_YBand = 14,
4455 YCbCr_CbBand = 15,
4456 YCbCr_CrBand = 16,
4457 ContinuousPalette = 17,
4458
4459 // Note: values between PanBand and SAR_P_Band match additions done in
4460 // GDAL 3.10, except that the numeric values of the constant don't match GDAL ones
4461
4462 PanBand = 18,
4463 CoastalBand = 19,
4464 RedEdgeBand = 20,
4465 NIRBand = 21,
4466 SWIRBand = 22,
4467 MWIRBand = 23,
4468 LWIRBand = 24,
4469 TIRBand = 25,
4470 OtherIRBand = 26,
4471 SAR_Ka_Band = 27,
4472 SAR_K_Band = 28,
4473 SAR_Ku_Band = 30,
4474 SAR_X_Band = 31,
4475 SAR_C_Band = 32,
4476 SAR_S_Band = 33,
4477 SAR_L_Band = 34,
4478 SAR_P_Band = 35,
4479 };
4480 Q_ENUM( RasterColorInterpretation )
4481
4482
4490 {
4491 GrayOrUndefined,
4492 Palette,
4493 MultiBand SIP_MONKEYPATCH_COMPAT_NAME( Multiband ),
4494 SingleBandColorData SIP_MONKEYPATCH_COMPAT_NAME( ColorLayer ),
4495 };
4496 Q_ENUM( RasterLayerType )
4497
4498
4506 {
4507 Undefined SIP_MONKEYPATCH_COMPAT_NAME( UndefinedDrawingStyle ),
4508 SingleBandGray,
4509 SingleBandPseudoColor,
4510 PalettedColor,
4511 PalettedSingleBandGray,
4512 PalettedSingleBandPseudoColor,
4513 PalettedMultiBandColor,
4514 MultiBandSingleBandGray,
4515 MultiBandSingleBandPseudoColor,
4516 MultiBandColor,
4517 SingleBandColorData SIP_MONKEYPATCH_COMPAT_NAME( SingleBandColorDataStyle ),
4518 };
4519 Q_ENUM( RasterDrawingStyle )
4520
4521
4528 enum class RasterPyramidFormat SIP_MONKEYPATCH_SCOPEENUM_UNNEST( QgsRaster, RasterPyramidsFormat ) : int
4529 {
4530 GeoTiff SIP_MONKEYPATCH_COMPAT_NAME( PyramidsGTiff ) = 0,
4531 Internal SIP_MONKEYPATCH_COMPAT_NAME( PyramidsInternal ) = 1,
4532 Erdas SIP_MONKEYPATCH_COMPAT_NAME( PyramidsErdas ) = 2
4533 };
4534 Q_ENUM( RasterPyramidFormat )
4535
4536
4544 {
4545 No SIP_MONKEYPATCH_COMPAT_NAME( PyramidsFlagNo ) = 0,
4546 Yes SIP_MONKEYPATCH_COMPAT_NAME( PyramidsFlagYes ) = 1,
4547 CopyExisting SIP_MONKEYPATCH_COMPAT_NAME( PyramidsCopyExisting ) = 2
4548 };
4549 Q_ENUM( RasterBuildPyramidOption )
4550
4551
4559 {
4560 Undefined SIP_MONKEYPATCH_COMPAT_NAME( IdentifyFormatUndefined ) = 0,
4561 Value SIP_MONKEYPATCH_COMPAT_NAME( IdentifyFormatValue ) = 1,
4562 Text SIP_MONKEYPATCH_COMPAT_NAME( IdentifyFormatText ) = 1 << 1,
4563 Html SIP_MONKEYPATCH_COMPAT_NAME( IdentifyFormatHtml ) = 1 << 2,
4564 Feature SIP_MONKEYPATCH_COMPAT_NAME( IdentifyFormatFeature ) = 1 << 3,
4565 };
4566 Q_ENUM( RasterIdentifyFormat )
4567
4568 // TODO QGIS 4 -- remove NoCapabilities and rely on RasterInterfaceCapabilities() instead
4569 // remove deprecated members
4570 // Remove "Identify" member, and replace with combinations of IdentifyValue/IdentifyText/etc
4571
4572
4580 {
4581 NoCapabilities = 0,
4582 Size = 1 << 1,
4583 Create = 1 << 2,
4584 Remove = 1 << 3,
4585 BuildPyramids = 1 << 4,
4586 Identify = 1 << 5,
4587 IdentifyValue = 1 << 6,
4588 IdentifyText = 1 << 7,
4589 IdentifyHtml = 1 << 8,
4590 IdentifyFeature = 1 << 9,
4591 Prefetch = 1 << 10,
4592 };
4593 Q_ENUM( RasterInterfaceCapability )
4594
4595
4602
4603 // TODO QGIS 4 -- remove NoProviderCapabilities and rely on RasterProviderCapabilities() instead
4604
4613 {
4614 NoProviderCapabilities = 0,
4615 ReadLayerMetadata = 1 << 1,
4616 WriteLayerMetadata = 1 << 2,
4617 ProviderHintBenefitsFromResampling = 1 << 3,
4618 ProviderHintCanPerformProviderResampling = 1 << 4,
4619 ReloadData = 1 << 5,
4620 DpiDependentData = 1 << 6,
4621 NativeRasterAttributeTable = 1 << 7,
4622 BuildPyramids = 1 << 8,
4623 };
4624 Q_ENUM( RasterProviderCapability )
4625
4626
4635
4642 {
4643 HighestElevation,
4644 NewerElevation,
4645 };
4646 Q_ENUM( ElevationMapCombineMethod )
4647
4648
4657 {
4658 Normal SIP_MONKEYPATCH_COMPAT_NAME( BlendNormal ),
4659 Lighten SIP_MONKEYPATCH_COMPAT_NAME( BlendLighten ),
4660 Screen SIP_MONKEYPATCH_COMPAT_NAME( BlendScreen ),
4661 Dodge SIP_MONKEYPATCH_COMPAT_NAME( BlendDodge ),
4662 Addition SIP_MONKEYPATCH_COMPAT_NAME( BlendAddition ),
4663 Darken SIP_MONKEYPATCH_COMPAT_NAME( BlendDarken ),
4664 Multiply SIP_MONKEYPATCH_COMPAT_NAME( BlendMultiply ),
4665 Burn SIP_MONKEYPATCH_COMPAT_NAME( BlendBurn ),
4666 Overlay SIP_MONKEYPATCH_COMPAT_NAME( BlendOverlay ),
4667 SoftLight SIP_MONKEYPATCH_COMPAT_NAME( BlendSoftLight ),
4668 HardLight SIP_MONKEYPATCH_COMPAT_NAME( BlendHardLight ),
4669 Difference SIP_MONKEYPATCH_COMPAT_NAME( BlendDifference ),
4670 Subtract SIP_MONKEYPATCH_COMPAT_NAME( BlendSubtract ),
4671 Source SIP_MONKEYPATCH_COMPAT_NAME( BlendSource ),
4672 DestinationOver SIP_MONKEYPATCH_COMPAT_NAME( BlendDestinationOver ),
4673 Clear SIP_MONKEYPATCH_COMPAT_NAME( BlendClear ),
4674 Destination SIP_MONKEYPATCH_COMPAT_NAME( BlendDestination ),
4675 SourceIn SIP_MONKEYPATCH_COMPAT_NAME( BlendSourceIn ),
4676 DestinationIn SIP_MONKEYPATCH_COMPAT_NAME( BlendDestinationIn ),
4677 SourceOut SIP_MONKEYPATCH_COMPAT_NAME( BlendSourceOut ),
4678 DestinationOut SIP_MONKEYPATCH_COMPAT_NAME( BlendDestinationOut ),
4679 SourceAtop SIP_MONKEYPATCH_COMPAT_NAME( BlendSourceAtop ),
4680 DestinationAtop SIP_MONKEYPATCH_COMPAT_NAME( BlendDestinationAtop ),
4681 Xor SIP_MONKEYPATCH_COMPAT_NAME( BlendXor ),
4682 };
4683 Q_ENUM( BlendMode )
4684
4685
4693 {
4694 Unknown SIP_MONKEYPATCH_COMPAT_NAME( UnknownSystem ) = 0,
4695 Metric SIP_MONKEYPATCH_COMPAT_NAME( MetricSystem ),
4696 Imperial SIP_MONKEYPATCH_COMPAT_NAME( ImperialSystem ),
4697 USCS SIP_MONKEYPATCH_COMPAT_NAME( USCSSystem ),
4698 };
4699 Q_ENUM( SystemOfMeasurement )
4700
4701
4708 {
4709 Layer SIP_MONKEYPATCH_COMPAT_NAME( LayerUnits ),
4710 Pixels,
4711 Project SIP_MONKEYPATCH_COMPAT_NAME( ProjectUnits )
4712 };
4713 Q_ENUM( MapToolUnit )
4714
4715
4723 {
4724 Distance SIP_MONKEYPATCH_COMPAT_NAME( TypeDistance ) = 0,
4725 Area SIP_MONKEYPATCH_COMPAT_NAME( TypeArea ),
4726 Volume SIP_MONKEYPATCH_COMPAT_NAME( TypeVolume ),
4727 Unknown SIP_MONKEYPATCH_COMPAT_NAME( TypeUnknown ),
4728 Temporal SIP_MONKEYPATCH_COMPAT_NAME( TypeTemporal ),
4729 };
4730 Q_ENUM( UnitType )
4731
4732
4740 {
4741 Meters SIP_MONKEYPATCH_COMPAT_NAME( DistanceMeters ),
4742 Kilometers SIP_MONKEYPATCH_COMPAT_NAME( DistanceKilometers ),
4743 Feet SIP_MONKEYPATCH_COMPAT_NAME( DistanceFeet ),
4744 NauticalMiles SIP_MONKEYPATCH_COMPAT_NAME( DistanceNauticalMiles ),
4745 Yards SIP_MONKEYPATCH_COMPAT_NAME( DistanceYards ),
4746 Miles SIP_MONKEYPATCH_COMPAT_NAME( DistanceMiles ),
4747 Degrees SIP_MONKEYPATCH_COMPAT_NAME( DistanceDegrees ),
4748 Centimeters SIP_MONKEYPATCH_COMPAT_NAME( DistanceCentimeters ),
4749 Millimeters SIP_MONKEYPATCH_COMPAT_NAME( DistanceMillimeters ),
4750 Inches,
4751 ChainsInternational,
4752 ChainsBritishBenoit1895A,
4753 ChainsBritishBenoit1895B,
4754 ChainsBritishSears1922Truncated,
4755 ChainsBritishSears1922,
4756 ChainsClarkes,
4757 ChainsUSSurvey,
4758 FeetBritish1865,
4759 FeetBritish1936,
4760 FeetBritishBenoit1895A,
4761 FeetBritishBenoit1895B,
4762 FeetBritishSears1922Truncated,
4763 FeetBritishSears1922,
4764 FeetClarkes,
4765 FeetGoldCoast,
4766 FeetIndian,
4767 FeetIndian1937,
4768 FeetIndian1962,
4769 FeetIndian1975,
4770 FeetUSSurvey,
4771 LinksInternational,
4772 LinksBritishBenoit1895A,
4773 LinksBritishBenoit1895B,
4774 LinksBritishSears1922Truncated,
4775 LinksBritishSears1922,
4776 LinksClarkes,
4777 LinksUSSurvey,
4778 YardsBritishBenoit1895A,
4779 YardsBritishBenoit1895B,
4780 YardsBritishSears1922Truncated,
4781 YardsBritishSears1922,
4782 YardsClarkes,
4783 YardsIndian,
4784 YardsIndian1937,
4785 YardsIndian1962,
4786 YardsIndian1975,
4787 MilesUSSurvey,
4788 Fathoms,
4789 MetersGermanLegal,
4790 Unknown SIP_MONKEYPATCH_COMPAT_NAME( DistanceUnknownUnit ),
4791 };
4792 Q_ENUM( DistanceUnit )
4793
4794
4802 {
4803 Standard,
4804 Geographic,
4805 Unknown SIP_MONKEYPATCH_COMPAT_NAME( UnknownType ),
4806 };
4807 Q_ENUM( DistanceUnitType )
4808
4809
4817 {
4818 SquareMeters SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareMeters ),
4819 SquareKilometers SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareKilometers ),
4820 SquareFeet SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareFeet ),
4821 SquareYards SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareYards ),
4822 SquareMiles SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareMiles ),
4823 Hectares SIP_MONKEYPATCH_COMPAT_NAME( AreaHectares ),
4824 Acres SIP_MONKEYPATCH_COMPAT_NAME( AreaAcres ),
4825 SquareNauticalMiles SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareNauticalMiles ),
4826 SquareDegrees SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareDegrees ),
4827 SquareCentimeters SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareCentimeters ),
4828 SquareMillimeters SIP_MONKEYPATCH_COMPAT_NAME( AreaSquareMillimeters ),
4829 SquareInches,
4830 Unknown SIP_MONKEYPATCH_COMPAT_NAME( AreaUnknownUnit ),
4831 };
4832 Q_ENUM( AreaUnit )
4833
4834
4842 {
4843 CubicMeters SIP_MONKEYPATCH_COMPAT_NAME( VolumeCubicMeters ),
4844 CubicFeet SIP_MONKEYPATCH_COMPAT_NAME( VolumeCubicFeet ),
4845 CubicYards SIP_MONKEYPATCH_COMPAT_NAME( VolumeCubicYards ),
4846 Barrel SIP_MONKEYPATCH_COMPAT_NAME( VolumeBarrel ),
4847 CubicDecimeter SIP_MONKEYPATCH_COMPAT_NAME( VolumeCubicDecimeter ),
4848 Liters SIP_MONKEYPATCH_COMPAT_NAME( VolumeLiters ),
4849 GallonUS SIP_MONKEYPATCH_COMPAT_NAME( VolumeGallonUS ),
4850 CubicInch SIP_MONKEYPATCH_COMPAT_NAME( VolumeCubicInch ),
4851 CubicCentimeter SIP_MONKEYPATCH_COMPAT_NAME( VolumeCubicCentimeter ),
4852 CubicDegrees SIP_MONKEYPATCH_COMPAT_NAME( VolumeCubicDegrees ),
4853 Unknown SIP_MONKEYPATCH_COMPAT_NAME( VolumeUnknownUnit ),
4854 };
4855 Q_ENUM( VolumeUnit )
4856
4857
4865 {
4866 Degrees SIP_MONKEYPATCH_COMPAT_NAME( AngleDegrees ),
4867 Radians SIP_MONKEYPATCH_COMPAT_NAME( AngleRadians ),
4868 Gon SIP_MONKEYPATCH_COMPAT_NAME( AngleGon ),
4869 MinutesOfArc SIP_MONKEYPATCH_COMPAT_NAME( AngleMinutesOfArc ),
4870 SecondsOfArc SIP_MONKEYPATCH_COMPAT_NAME( AngleSecondsOfArc ),
4871 Turn SIP_MONKEYPATCH_COMPAT_NAME( AngleTurn ),
4872 MilliradiansSI SIP_MONKEYPATCH_COMPAT_NAME( AngleMilliradiansSI ),
4873 MilNATO SIP_MONKEYPATCH_COMPAT_NAME( AngleMilNATO ),
4874 Unknown SIP_MONKEYPATCH_COMPAT_NAME( AngleUnknownUnit ),
4875 };
4876 Q_ENUM( AngleUnit )
4877
4878
4886 {
4887 Milliseconds SIP_MONKEYPATCH_COMPAT_NAME( TemporalMilliseconds ),
4888 Seconds SIP_MONKEYPATCH_COMPAT_NAME( TemporalSeconds ),
4889 Minutes SIP_MONKEYPATCH_COMPAT_NAME( TemporalMinutes ),
4890 Hours SIP_MONKEYPATCH_COMPAT_NAME( TemporalHours ),
4891 Days SIP_MONKEYPATCH_COMPAT_NAME( TemporalDays ),
4892 Weeks SIP_MONKEYPATCH_COMPAT_NAME( TemporalWeeks ),
4893 Months SIP_MONKEYPATCH_COMPAT_NAME( TemporalMonths ),
4894 Years SIP_MONKEYPATCH_COMPAT_NAME( TemporalYears ),
4895 Decades SIP_MONKEYPATCH_COMPAT_NAME( TemporalDecades ),
4896 Centuries SIP_MONKEYPATCH_COMPAT_NAME( TemporalCenturies ),
4897 IrregularStep SIP_MONKEYPATCH_COMPAT_NAME( TemporalIrregularStep ),
4898 Unknown SIP_MONKEYPATCH_COMPAT_NAME( TemporalUnknownUnit )
4899 };
4900 Q_ENUM( TemporalUnit )
4901
4902
4910 {
4911 Millimeters SIP_MONKEYPATCH_COMPAT_NAME( RenderMillimeters ),
4912 MapUnits SIP_MONKEYPATCH_COMPAT_NAME( RenderMapUnits ),
4913 Pixels SIP_MONKEYPATCH_COMPAT_NAME( RenderPixels ),
4914 Percentage SIP_MONKEYPATCH_COMPAT_NAME( RenderPercentage ),
4915 Points SIP_MONKEYPATCH_COMPAT_NAME( RenderPoints ),
4916 Inches SIP_MONKEYPATCH_COMPAT_NAME( RenderInches ),
4917 Unknown SIP_MONKEYPATCH_COMPAT_NAME( RenderUnknownUnit ),
4918 MetersInMapUnits SIP_MONKEYPATCH_COMPAT_NAME( RenderMetersInMapUnits ),
4919 };
4920 Q_ENUM( RenderUnit )
4921
4922
4930 {
4931 Millimeters SIP_MONKEYPATCH_COMPAT_NAME( LayoutMillimeters ),
4932 Centimeters SIP_MONKEYPATCH_COMPAT_NAME( LayoutCentimeters ),
4933 Meters SIP_MONKEYPATCH_COMPAT_NAME( LayoutMeters ),
4934 Inches SIP_MONKEYPATCH_COMPAT_NAME( LayoutInches ),
4935 Feet SIP_MONKEYPATCH_COMPAT_NAME( LayoutFeet ),
4936 Points SIP_MONKEYPATCH_COMPAT_NAME( LayoutPoints ),
4937 Picas SIP_MONKEYPATCH_COMPAT_NAME( LayoutPicas ),
4938 Pixels SIP_MONKEYPATCH_COMPAT_NAME( LayoutPixels )
4939 };
4940 Q_ENUM( LayoutUnit )
4941
4942
4950 {
4951 PaperUnits SIP_MONKEYPATCH_COMPAT_NAME( LayoutPaperUnits ),
4952 ScreenUnits SIP_MONKEYPATCH_COMPAT_NAME( LayoutScreenUnits )
4953 };
4954 Q_ENUM( LayoutUnitType )
4955
4956
4964 {
4965 SVG SIP_MONKEYPATCH_COMPAT_NAME( FormatSVG ) = 0,
4966 Raster SIP_MONKEYPATCH_COMPAT_NAME( FormatRaster ),
4967 Unknown SIP_MONKEYPATCH_COMPAT_NAME( FormatUnknown ),
4968 };
4969 Q_ENUM( PictureFormat )
4970
4971
4976 enum class ScaleCalculationMethod : int
4977 {
4978 HorizontalTop = 0,
4979 HorizontalMiddle,
4980 HorizontalBottom,
4981 HorizontalAverage,
4982 };
4983 Q_ENUM( ScaleCalculationMethod )
4984
4985
4993 {
4994 Left SIP_MONKEYPATCH_COMPAT_NAME( AlignLeft ) = 0,
4995 Middle SIP_MONKEYPATCH_COMPAT_NAME( AlignMiddle ),
4996 Right SIP_MONKEYPATCH_COMPAT_NAME( AlignRight ),
4997 };
4998 Q_ENUM( ScaleBarAlignment )
4999
5000
5008 {
5009 Fixed SIP_MONKEYPATCH_COMPAT_NAME( SegmentSizeFixed ) = 0,
5010 FitWidth SIP_MONKEYPATCH_COMPAT_NAME( SegmentSizeFitWidth ) = 1
5011 };
5012 Q_ENUM( ScaleBarSegmentSizeMode )
5013
5014
5022 {
5023 AboveSegment SIP_MONKEYPATCH_COMPAT_NAME( LabelAboveSegment ) = 0,
5024 BelowSegment SIP_MONKEYPATCH_COMPAT_NAME( LabelBelowSegment ),
5025 };
5026 Q_ENUM( ScaleBarDistanceLabelVerticalPlacement )
5027
5028
5036 {
5037 CenteredEdge SIP_MONKEYPATCH_COMPAT_NAME( LabelCenteredEdge ) = 0,
5038 CenteredSegment SIP_MONKEYPATCH_COMPAT_NAME( LabelCenteredSegment ),
5039 };
5040 Q_ENUM( ScaleBarDistanceLabelHorizontalPlacement )
5041
5042
5047 enum class InputControllerType : int
5048 {
5049 Map2D,
5050 Map3D
5051 };
5053
5060 {
5061 NotSet,
5062 Unknown,
5063 OrdinaryTable,
5064 Index,
5065 Sequence,
5066 View,
5067 MaterializedView,
5068 CompositeType,
5069 ToastTable,
5070 ForeignTable,
5071 PartitionedTable,
5072 };
5073 Q_ENUM( PostgresRelKind )
5074
5075
5081 {
5082 SetFieldComment = 1 << 0,
5083 SetFieldAlias = 1 << 1,
5084 };
5085 Q_ENUM( DatabaseProviderConnectionCapability2 )
5088
5095 {
5096 SaveToDatabase = 1 << 1,
5097 LoadFromDatabase = 1 << 2,
5098 DeleteFromDatabase = 1 << 3
5099 };
5103
5104
5110 {
5111 LastProfile,
5112 DefaultProfile,
5113 AskUser,
5114 };
5115 Q_ENUM( UserProfileSelectionPolicy )
5116
5117
5125 {
5126 Container SIP_MONKEYPATCH_COMPAT_NAME( AeTypeContainer ),
5127 Field SIP_MONKEYPATCH_COMPAT_NAME( AeTypeField ),
5128 Relation SIP_MONKEYPATCH_COMPAT_NAME( AeTypeRelation ),
5129 QmlElement SIP_MONKEYPATCH_COMPAT_NAME( AeTypeQmlElement ),
5130 HtmlElement SIP_MONKEYPATCH_COMPAT_NAME( AeTypeHtmlElement ),
5131 Action SIP_MONKEYPATCH_COMPAT_NAME( AeTypeAction ),
5132 TextElement SIP_MONKEYPATCH_COMPAT_NAME( AeTypeTextElement ),
5133 SpacerElement SIP_MONKEYPATCH_COMPAT_NAME( AeTypeSpacerElement ),
5134 Invalid SIP_MONKEYPATCH_COMPAT_NAME( AeTypeInvalid ),
5135 };
5136 Q_ENUM( AttributeEditorType )
5137
5138
5144 {
5145 GroupBox,
5146 Tab,
5147 Row,
5148 };
5149 Q_ENUM( AttributeEditorContainerType )
5150
5151
5159 {
5160 AutoGenerated SIP_MONKEYPATCH_COMPAT_NAME( GeneratedLayout ) = 0,
5161 DragAndDrop SIP_MONKEYPATCH_COMPAT_NAME( TabLayout ) = 1,
5162 UiFile SIP_MONKEYPATCH_COMPAT_NAME( UiFileLayout ) = 2
5163 };
5164 Q_ENUM( AttributeFormLayout )
5165
5166
5174 {
5175 Default SIP_MONKEYPATCH_COMPAT_NAME( SuppressDefault ) = 0,
5176 On SIP_MONKEYPATCH_COMPAT_NAME( SuppressOn ) = 1,
5177 Off SIP_MONKEYPATCH_COMPAT_NAME( SuppressOff ) = 2
5178 };
5179 Q_ENUM( AttributeFormSuppression )
5180
5181
5189 {
5190 NoSource SIP_MONKEYPATCH_COMPAT_NAME( CodeSourceNone ) = 0,
5191 File SIP_MONKEYPATCH_COMPAT_NAME( CodeSourceFile ) = 1,
5192 Dialog SIP_MONKEYPATCH_COMPAT_NAME( CodeSourceDialog ) = 2,
5193 Environment SIP_MONKEYPATCH_COMPAT_NAME( CodeSourceEnvironment ) = 3
5194 };
5195 Q_ENUM( AttributeFormPythonInitCodeSource )
5196
5197
5203 {
5204 Qgis,
5205 PointCloud,
5206 RasterCalculator,
5207 };
5208 Q_ENUM( ExpressionType )
5209
5210
5218 {
5219 NoSymbology = 0,
5220 PerFeature SIP_MONKEYPATCH_COMPAT_NAME( FeatureSymbology ),
5221 PerSymbolLayer SIP_MONKEYPATCH_COMPAT_NAME( SymbolLayerSymbology )
5222 };
5223 Q_ENUM( FeatureSymbologyExport )
5224
5225
5230 enum class VectorTileProviderFlag : int SIP_ENUM_BASETYPE( IntFlag )
5231 {
5232 AlwaysUseTileMatrixSetFromProvider = 1 << 1,
5233 };
5234 Q_ENUM( VectorTileProviderFlag )
5235
5236
5242 Q_FLAG( VectorTileProviderFlags )
5243
5249 {
5250 ReadLayerMetadata = 1 << 1,
5251 };
5252 Q_ENUM( VectorTileProviderCapability )
5253
5254
5261
5268 {
5269 Available,
5270 NotAvailable,
5271 AvailableNoChildren,
5272 UseLowerZoomLevelTile,
5273 };
5274 Q_ENUM( TileAvailability )
5275
5276
5282 {
5283 ReadLayerMetadata = 1 << 1,
5284 };
5285 Q_ENUM( TiledSceneProviderCapability )
5286
5287
5294
5301 {
5302 Region,
5303 OrientedBox,
5304 Sphere,
5305 };
5306 Q_ENUM( TiledSceneBoundingVolumeType )
5307
5308
5317 {
5318 Replacement,
5319 Additive,
5320 };
5321 Q_ENUM( TileRefinementProcess )
5322
5323
5329 {
5330 NoChildren,
5331 Available,
5332 NeedFetching,
5333 };
5334 Q_ENUM( TileChildrenAvailability )
5335
5336
5341 enum class TiledSceneRequestFlag : int SIP_ENUM_BASETYPE( IntFlag )
5342 {
5343 NoHierarchyFetch = 1 << 0,
5344 };
5345 Q_ENUM( TiledSceneRequestFlag )
5346
5347
5353 Q_FLAG( TiledSceneRequestFlags )
5354
5360 enum class TiledSceneRendererFlag : int SIP_ENUM_BASETYPE( IntFlag )
5361 {
5362 RequiresTextures = 1 << 0,
5363 ForceRasterRender = 1 << 1,
5364 RendersTriangles = 1 << 2,
5365 RendersLines = 1 << 3,
5366 };
5367 Q_ENUM( TiledSceneRendererFlag )
5368
5369
5375 Q_FLAG( TiledSceneRendererFlags )
5376
5382 enum class GdalResampleAlgorithm : int
5383 {
5384 RA_NearestNeighbour = 0,
5385 RA_Bilinear = 1,
5386 RA_Cubic = 2,
5387 RA_CubicSpline = 3,
5388 RA_Lanczos = 4,
5389 RA_Average = 5,
5390 RA_Mode = 6,
5391 RA_Max = 8,
5392 RA_Min = 9,
5393 RA_Median = 10,
5394 RA_Q1 = 11,
5395 RA_Q3 = 12,
5396 };
5397 Q_ENUM( GdalResampleAlgorithm )
5398
5399
5404 enum class VsiHandlerType : int
5405 {
5406 Invalid,
5407 Archive,
5408 Network,
5409 Cloud,
5410 Memory,
5411 Other,
5412 };
5413 Q_ENUM( VsiHandlerType )
5414
5415 // TODO QGIS 4: make All include all values (we can't do this before 4.0, as we need to keep
5416 // compatibility with code which expects all these statistics to give numeric results)
5417
5418
5423 enum class ZonalStatistic : int SIP_ENUM_BASETYPE( IntFlag )
5424 {
5425 Count = 1 << 0,
5426 Sum = 1 << 1,
5427 Mean = 1 << 2,
5428 Median = 1 << 3,
5429 StDev = 1 << 4,
5430 Min = 1 << 5,
5431 Max = 1 << 6,
5432 Range = 1 << 7,
5433 Minority = 1 << 8,
5434 Majority = 1 << 9,
5435 Variety = 1 << 10,
5436 Variance = 1 << 11,
5437 MinimumPoint = 1 << 12,
5438 MaximumPoint = 1 << 13,
5439 All = Count | Sum | Mean | Median | StDev | Max | Min | Range | Minority | Majority | Variety | Variance,
5440 AllNumeric = Count | Sum | Mean | Median | StDev | Max | Min | Range | Minority | Majority | Variety | Variance,
5441 Default = Count | Sum | Mean,
5442 };
5443 Q_ENUM( ZonalStatistic )
5444
5445
5451 Q_FLAG( ZonalStatistics )
5452
5458 enum class ZonalStatisticResult : int
5459 {
5460 Success = 0,
5461 LayerTypeWrong = 1,
5462 LayerInvalid,
5463 RasterInvalid,
5464 RasterBandInvalid,
5465 FailedToCreateField = 8,
5466 Canceled = 9
5467 };
5468 Q_ENUM( ZonalStatisticResult )
5469
5470
5477 {
5478 Count,
5479 CountDistinct,
5480 CountMissing,
5481 Min,
5482 Max,
5483 Sum,
5484 Mean,
5485 Median,
5486 StDev,
5487 StDevSample,
5488 Range,
5489 Minority,
5490 Majority,
5491 FirstQuartile,
5492 ThirdQuartile,
5493 InterQuartileRange,
5494 StringMinimumLength,
5495 StringMaximumLength,
5496 StringConcatenate,
5497 GeometryCollect,
5498 ArrayAggregate,
5499 StringConcatenateUnique
5500 };
5501 Q_ENUM( Aggregate )
5502
5503
5509 {
5510 Count = 1 << 0,
5511 CountMissing = 1 << 15,
5512 Sum = 1 << 1,
5513 Mean = 1 << 2,
5514 Median = 1 << 3,
5515 StDev = 1 << 4,
5516 StDevSample = 1 << 5,
5517 Min = 1 << 6,
5518 Max = 1 << 7,
5519 Range = 1 << 8,
5520 Minority = 1 << 9,
5521 Majority = 1 << 10,
5522 Variety = 1 << 11,
5523 FirstQuartile = 1 << 12,
5524 ThirdQuartile = 1 << 13,
5525 InterQuartileRange = 1 << 14,
5526 First = 1 << 16,
5527 Last = 1 << 17,
5528 All = Count | CountMissing | Sum | Mean | Median | StDev | Max | Min | Range | Minority | Majority | Variety | FirstQuartile | ThirdQuartile | InterQuartileRange | First | Last
5529 };
5530 Q_ENUM( Statistic )
5531
5532
5538 Q_FLAG( Statistics )
5539
5546 {
5547 Count = 1,
5548 CountDistinct = 2,
5549 CountMissing = 4,
5550 Min = 8,
5551 Max = 16,
5552 Range = 32,
5553 All = Count | CountDistinct | CountMissing | Min | Max | Range,
5554 };
5555 Q_ENUM( DateTimeStatistic )
5556
5557
5563 Q_FLAG( DateTimeStatistics )
5564
5571 {
5572 Count = 1,
5573 CountDistinct = 2,
5574 CountMissing = 4,
5575 Min = 8,
5576 Max = 16,
5577 MinimumLength = 32,
5578 MaximumLength = 64,
5579 MeanLength = 128,
5580 Minority = 256,
5581 Majority = 512,
5582 All = Count | CountDistinct | CountMissing | Min | Max | MinimumLength | MaximumLength | MeanLength | Minority | Majority,
5583 };
5584 Q_ENUM( StringStatistic )
5585
5586
5592 Q_FLAG( StringStatistics )
5593
5600 {
5601 NoStatistic = 0,
5602 Min = 1,
5603 Max = 1 << 1,
5604 Range = 1 << 2,
5605 Sum = 1 << 3,
5606 Mean = 1 << 4,
5607 StdDev = 1 << 5,
5608 SumOfSquares = 1 << 6,
5609 All = Min | Max | Range | Sum | Mean | StdDev | SumOfSquares
5610 };
5611 Q_ENUM( RasterBandStatistic )
5612
5613
5619 Q_FLAG( RasterBandStatistics )
5620
5626 enum class SensorThingsEntity : int
5627 {
5628 Invalid,
5629 Thing,
5630 Location,
5631 HistoricalLocation,
5632 Datastream,
5633 Sensor,
5634 ObservedProperty,
5635 Observation,
5636 FeatureOfInterest,
5637 MultiDatastream,
5638 };
5639 Q_ENUM( SensorThingsEntity )
5640
5641
5646 enum class ColorModel : int
5647 {
5648 Rgb,
5649 Cmyk,
5650 };
5651 Q_ENUM( ColorModel )
5652
5653
5658 enum class DocumentationApi : int
5659 {
5660 PyQgis,
5661 PyQgisSearch,
5662 CppQgis,
5663 Qt,
5664 };
5665 Q_ENUM( DocumentationApi )
5666
5667
5672 enum class DocumentationBrowser : int
5673 {
5674 DeveloperToolsPanel,
5675 SystemWebBrowser,
5676 };
5677 Q_ENUM( DocumentationBrowser )
5678
5679
5684 enum class MouseHandlesAction : int
5685 {
5686 MoveItem,
5687 ResizeUp,
5688 ResizeDown,
5689 ResizeLeft,
5690 ResizeRight,
5691 ResizeLeftUp,
5692 ResizeRightUp,
5693 ResizeLeftDown,
5694 ResizeRightDown,
5695 SelectItem,
5696 NoAction
5697 };
5698 Q_ENUM( MouseHandlesAction )
5699
5700
5704 enum class MeshRangeLimit : int
5705 {
5706 NotSet,
5707 MinimumMaximum,
5708 };
5709 Q_ENUM( MeshRangeLimit )
5710
5711
5716 enum class MeshRangeExtent : int
5717 {
5718 WholeMesh,
5719 FixedCanvas,
5720 UpdatedCanvas,
5721 };
5722 Q_ENUM( MeshRangeExtent )
5723
5724
5727 static const double DEFAULT_SEARCH_RADIUS_MM;
5728
5730 static const float DEFAULT_MAPTOPIXEL_THRESHOLD;
5731
5737 static const QColor DEFAULT_HIGHLIGHT_COLOR;
5738
5742 static const double DEFAULT_HIGHLIGHT_BUFFER_MM;
5743
5747 static const double DEFAULT_HIGHLIGHT_MIN_WIDTH_MM;
5748
5756 Q_DECL_DEPRECATED static const double SCALE_PRECISION;
5757
5762 static const double DEFAULT_Z_COORDINATE;
5763
5769 static const double DEFAULT_M_COORDINATE;
5770
5775 static const double UI_SCALE_FACTOR;
5776
5780 static const double DEFAULT_SNAP_TOLERANCE;
5781
5785 static const Qgis::MapToolUnit DEFAULT_SNAP_UNITS;
5786
5792 static QString defaultProjectScales();
5793
5799 static int geosVersionInt();
5800
5806 static int geosVersionMajor();
5807
5813 static int geosVersionMinor();
5814
5820 static int geosVersionPatch();
5821
5827 static QString geosVersion();
5828};
5829
5832
5913
5914// hack to workaround warnings when casting void pointers
5915// retrieved from QLibrary::resolve to function pointers.
5916// It's assumed that this works on all systems supporting
5917// QLibrary
5918#define cast_to_fptr(f) f
5919
5920
5928// based on Boojum's code from http://stackoverflow.com/questions/3556687/prevent-firing-signals-in-qt
5929template<class Object> class QgsSignalBlocker SIP_SKIP SIP_SKIP // clazy:exclude=rule-of-three
5930{
5931 public:
5932
5937 explicit QgsSignalBlocker( Object *object )
5938 : mObject( object )
5939 , mPreviousState( object->blockSignals( true ) )
5940 {}
5941
5943 {
5944 mObject->blockSignals( mPreviousState );
5945 }
5946
5948 Object *operator->() { return mObject; }
5949
5950 private:
5951
5952 Object *mObject = nullptr;
5953 bool mPreviousState;
5954
5955};
5956
5969// based on Boojum's code from http://stackoverflow.com/questions/3556687/prevent-firing-signals-in-qt
5970template<class Object> inline QgsSignalBlocker<Object> whileBlocking( Object *object ) SIP_SKIP SIP_SKIP
5971{
5972 return QgsSignalBlocker<Object>( object );
5973}
5974
5976CORE_EXPORT uint qHash( const QVariant &variant );
5977
5983inline QString qgsDoubleToString( double a, int precision = 17 )
5984{
5985 QString str;
5986 if ( precision )
5987 {
5988 if ( precision < 0 )
5989 {
5990 const double roundFactor = std::pow( 10, -precision );
5991 str = QString::number( static_cast< long long >( std::round( a / roundFactor ) * roundFactor ) );
5992 }
5993 else
5994 {
5995 str = QString::number( a, 'f', precision );
5996 if ( str.contains( QLatin1Char( '.' ) ) )
5997 {
5998 // remove ending 0s
5999 int idx = str.length() - 1;
6000 while ( str.at( idx ) == '0' && idx > 1 )
6001 {
6002 idx--;
6003 }
6004 if ( idx < str.length() - 1 )
6005 str.truncate( str.at( idx ) == '.' ? idx : idx + 1 );
6006 }
6007 }
6008 }
6009 else
6010 {
6011 str = QString::number( a, 'f', precision );
6012 }
6013 // avoid printing -0
6014 // see https://bugreports.qt.io/browse/QTBUG-71439
6015 if ( str == QLatin1String( "-0" ) )
6016 {
6017 return QLatin1String( "0" );
6018 }
6019 return str;
6020}
6021
6028inline bool qgsNanCompatibleEquals( double a, double b )
6029{
6030 const bool aIsNan = std::isnan( a );
6031 const bool bIsNan = std::isnan( b );
6032 if ( aIsNan || bIsNan )
6033 return aIsNan && bIsNan;
6034
6035 return a == b;
6036}
6037
6038#ifndef SIP_RUN
6039
6047template<typename T>
6048inline bool qgsNumberNear( T a, T b, T epsilon = std::numeric_limits<T>::epsilon() * 4 )
6049{
6050 const bool aIsNan = std::isnan( a );
6051 const bool bIsNan = std::isnan( b );
6052 if ( aIsNan || bIsNan )
6053 return aIsNan && bIsNan;
6054
6055 const T diff = a - b;
6056 return diff >= -epsilon && diff <= epsilon;
6057}
6058#endif
6059
6066inline bool qgsDoubleNear( double a, double b, double epsilon = 4 * std::numeric_limits<double>::epsilon() )
6067{
6068 return qgsNumberNear<double>( a, b, epsilon );
6069}
6070
6077inline bool qgsFloatNear( float a, float b, float epsilon = 4 * FLT_EPSILON )
6078{
6079 return qgsNumberNear<float>( a, b, epsilon );
6080}
6081
6083inline bool qgsDoubleNearSig( double a, double b, int significantDigits = 10 )
6084{
6085 const bool aIsNan = std::isnan( a );
6086 const bool bIsNan = std::isnan( b );
6087 if ( aIsNan || bIsNan )
6088 return aIsNan && bIsNan;
6089
6090 // The most simple would be to print numbers as %.xe and compare as strings
6091 // but that is probably too costly
6092 // Then the fastest would be to set some bits directly, but little/big endian
6093 // has to be considered (maybe TODO)
6094 // Is there a better way?
6095 int aexp, bexp;
6096 const double ar = std::frexp( a, &aexp );
6097 const double br = std::frexp( b, &bexp );
6098
6099 return aexp == bexp &&
6100 std::round( ar * std::pow( 10.0, significantDigits ) ) == std::round( br * std::pow( 10.0, significantDigits ) );
6101}
6102
6107inline double qgsRound( double number, int places )
6108{
6109 const double m = ( number < 0.0 ) ? -1.0 : 1.0;
6110 const double scaleFactor = std::pow( 10.0, places );
6111 return ( std::round( number * m * scaleFactor ) / scaleFactor ) * m;
6112}
6113
6114#ifndef SIP_RUN
6115
6122template<class Key, class Value>
6123QString qgsMapJoinKeys( const QMap<Key, Value> &map, const QString &separator )
6124{
6125 QString result;
6126 for ( auto it = map.constBegin(); it != map.constEnd(); it++ )
6127 result += QString( "%1%2" ).arg( it.key() ).arg( separator );
6128
6129 result.chop( separator.size() );
6130 return result;
6131}
6132
6139template<class Key, class Value>
6140QString qgsMapJoinValues( const QMap<Key, Value> &map, const QString &separator )
6141{
6142 QString result;
6143 for ( auto it = map.constBegin(); it != map.constEnd(); it++ )
6144 result += QString( "%1%2" ).arg( it.value() ).arg( separator );
6145
6146 result.chop( separator.size() );
6147 return result;
6148}
6149
6156template<class T>
6157QString qgsSetJoin( const QSet<T> &set, const QString &separator )
6158{
6159 QString result;
6160 for ( auto it = set.constBegin(); it != set.constEnd(); it++ )
6161 result += QString( "%1%2" ).arg( *it ).arg( separator );
6162
6163 result.chop( separator.size() );
6164 return result;
6165}
6166
6168
6178namespace qgis
6179{
6180
6193 template<typename To, typename From> inline To down_cast( From *f )
6194 {
6195 static_assert(
6196 ( std::is_base_of<From,
6197 typename std::remove_pointer<To>::type>::value ),
6198 "target type not derived from source type" );
6199 Q_ASSERT( f == nullptr || dynamic_cast<To>( f ) != nullptr );
6200 return static_cast<To>( f );
6201 }
6202
6203 template<class T>
6204 QSet<T> listToSet( const QList<T> &list )
6205 {
6206 return QSet<T>( list.begin(), list.end() );
6207 }
6208
6209 template<class T>
6210 QList<T> setToList( const QSet<T> &set )
6211 {
6212 return QList<T>( set.begin(), set.end() );
6213 }
6214}
6215
6217#endif
6218
6223template<class T> const QList<T> qgsEnumList() SIP_SKIP
6224{
6225 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
6226 Q_ASSERT( metaEnum.isValid() );
6227 QList<T> enumList;
6228 for ( int idx = 0; idx < metaEnum.keyCount(); ++idx )
6229 {
6230 enumList.append( static_cast<T>( metaEnum.value( idx ) ) );
6231 }
6232 return enumList;
6233}
6234
6240template<class T> const QMap<T, QString> qgsEnumMap() SIP_SKIP
6241{
6242 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
6243 Q_ASSERT( metaEnum.isValid() );
6244 QMap<T, QString> enumMap;
6245 for ( int idx = 0; idx < metaEnum.keyCount(); ++idx )
6246 {
6247 enumMap.insert( static_cast<T>( metaEnum.value( idx ) ), QString( metaEnum.key( idx ) ) );
6248 }
6249 return enumMap;
6250}
6251
6257template<class T> QString qgsEnumValueToKey( const T &value, bool *returnOk = nullptr ) SIP_SKIP
6258{
6259 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
6260 Q_ASSERT( metaEnum.isValid() );
6261 const char *key = metaEnum.valueToKey( static_cast<int>( value ) );
6262 if ( returnOk )
6263 {
6264 *returnOk = key ? true : false;
6265 }
6266 return QString::fromUtf8( key );
6267}
6268
6276template<class T> T qgsEnumKeyToValue( const QString &key, const T &defaultValue, bool tryValueAsKey = true, bool *returnOk = nullptr ) SIP_SKIP
6277{
6278 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
6279 Q_ASSERT( metaEnum.isValid() );
6280 bool ok = false;
6281 T v = static_cast<T>( metaEnum.keyToValue( key.toUtf8().data(), &ok ) );
6282 if ( returnOk )
6283 {
6284 *returnOk = ok;
6285 }
6286 if ( ok )
6287 {
6288 return v;
6289 }
6290 else
6291 {
6292 // if conversion has failed, try with conversion from int value
6293 if ( tryValueAsKey )
6294 {
6295 bool canConvert = false;
6296 const int intValue = key.toInt( &canConvert );
6297 if ( canConvert && metaEnum.valueToKey( intValue ) )
6298 {
6299 if ( returnOk )
6300 {
6301 *returnOk = true;
6302 }
6303 return static_cast<T>( intValue );
6304 }
6305 }
6306 }
6307 return defaultValue;
6308}
6309
6315template<class T> QString qgsFlagValueToKeys( const T &value, bool *returnOk = nullptr ) SIP_SKIP
6316{
6317 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
6318 Q_ASSERT( metaEnum.isValid() );
6319 int intValue = static_cast<int>( value );
6320 const QByteArray ba = metaEnum.valueToKeys( intValue );
6321 // check that the int value does correspond to a flag
6322 // see https://stackoverflow.com/a/68495949/1548052
6323 const int intValueCheck = metaEnum.keysToValue( ba );
6324 bool ok = intValue == intValueCheck;
6325 if ( returnOk )
6326 *returnOk = ok;
6327 return ok ? QString::fromUtf8( ba ) : QString();
6328}
6329
6337template<class T> T qgsFlagKeysToValue( const QString &keys, const T &defaultValue, bool tryValueAsKey = true, bool *returnOk = nullptr ) SIP_SKIP
6338{
6339 if ( keys.isEmpty() )
6340 {
6341 if ( returnOk )
6342 {
6343 *returnOk = false;
6344 }
6345 return defaultValue;
6346 }
6347 const QMetaEnum metaEnum = QMetaEnum::fromType<T>();
6348 Q_ASSERT( metaEnum.isValid() );
6349 bool ok = false;
6350 T v = static_cast<T>( metaEnum.keysToValue( keys.toUtf8().constData(), &ok ) );
6351 if ( returnOk )
6352 {
6353 *returnOk = ok;
6354 }
6355 if ( ok )
6356 {
6357 return v;
6358 }
6359 else
6360 {
6361 // if conversion has failed, try with conversion from int value
6362 if ( tryValueAsKey )
6363 {
6364 bool canConvert = false;
6365 const int intValue = keys.toInt( &canConvert );
6366 if ( canConvert )
6367 {
6368 const QByteArray keys = metaEnum.valueToKeys( intValue );
6369 const int intValueCheck = metaEnum.keysToValue( keys );
6370 if ( intValue == intValueCheck )
6371 {
6372 if ( returnOk )
6373 {
6374 *returnOk = true;
6375 }
6376 return T( intValue );
6377 }
6378 }
6379 }
6380 }
6381 return defaultValue;
6382}
6383
6384
6393CORE_EXPORT double qgsPermissiveToDouble( QString string, bool &ok );
6394
6403CORE_EXPORT int qgsPermissiveToInt( QString string, bool &ok );
6404
6414CORE_EXPORT qlonglong qgsPermissiveToLongLong( QString string, bool &ok );
6415
6425CORE_EXPORT bool qgsVariantLessThan( const QVariant &lhs, const QVariant &rhs );
6426
6435CORE_EXPORT bool qgsVariantEqual( const QVariant &lhs, const QVariant &rhs );
6436
6443CORE_EXPORT bool qgsVariantGreaterThan( const QVariant &lhs, const QVariant &rhs );
6444
6445#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
6446
6453inline bool operator> ( const QVariant &v1, const QVariant &v2 )
6454{
6455 return qgsVariantGreaterThan( v1, v2 );
6456}
6457
6467inline bool operator< ( const QVariant &v1, const QVariant &v2 )
6468{
6469 return qgsVariantLessThan( v1, v2 );
6470}
6471#endif
6472
6473
6474#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
6475
6479template<> CORE_EXPORT bool qMapLessThanKey<QVariantList>( const QVariantList &key1, const QVariantList &key2 ) SIP_SKIP;
6480#endif
6481
6482CORE_EXPORT QString qgsVsiPrefix( const QString &path );
6483
6489void CORE_EXPORT *qgsMalloc( size_t size ) SIP_SKIP;
6490
6495void CORE_EXPORT qgsFree( void *ptr ) SIP_SKIP;
6496
6497#ifndef SIP_RUN
6498
6499#ifdef _MSC_VER
6500#define CONSTLATIN1STRING inline const QLatin1String
6501#else
6502#define CONSTLATIN1STRING constexpr QLatin1String
6503#endif
6504
6506class ScopedIntIncrementor
6507{
6508 public:
6509
6510 ScopedIntIncrementor( int *variable )
6511 : mVariable( variable )
6512 {
6513 ( *mVariable )++;
6514 }
6515
6516 ScopedIntIncrementor( const ScopedIntIncrementor &other ) = delete;
6517 ScopedIntIncrementor &operator=( const ScopedIntIncrementor &other ) = delete;
6518
6519 void release()
6520 {
6521 if ( mVariable )
6522 ( *mVariable )--;
6523
6524 mVariable = nullptr;
6525 }
6526
6527 ~ScopedIntIncrementor()
6528 {
6529 release();
6530 }
6531
6532 private:
6533 int *mVariable = nullptr;
6534};
6536
6542{
6543 return QLatin1String(
6544 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]] )"""
6545 );
6546}
6547
6550{
6551 return QLatin1String( "+proj=longlat +datum=WGS84 +no_defs" );
6552}
6553
6556{
6557 return QLatin1String( "EPSG:4326" );
6558}
6559
6562{
6563 return QLatin1String( "NONE" );
6564}
6565
6567
6569const int PREVIEW_JOB_DELAY_MS = 250;
6570
6572const int MAXIMUM_LAYER_PREVIEW_TIME_MS = 250;
6573
6575
6576#endif
6577
6579const long GEOSRID = 4326;
6580
6582const long GEOCRS_ID = 3452;
6583
6585const long GEO_EPSG_CRS_ID = 4326;
6586
6591const int USER_CRS_START_ID = 100000;
6592
6593//
6594// Constants for point symbols
6595//
6596
6598const double DEFAULT_POINT_SIZE = 2.0;
6599const double DEFAULT_LINE_WIDTH = 0.26;
6600
6602const double DEFAULT_SEGMENT_EPSILON = 1e-8;
6603
6604typedef QMap<QString, QString> QgsStringMap SIP_SKIP;
6605
6614typedef unsigned long long qgssize;
6615
6616#ifndef SIP_RUN
6617#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) || defined(__clang__)
6618
6619#define Q_NOWARN_DEPRECATED_PUSH \
6620 _Pragma("GCC diagnostic push") \
6621 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"");
6622#define Q_NOWARN_DEPRECATED_POP \
6623 _Pragma("GCC diagnostic pop");
6624#define Q_NOWARN_UNREACHABLE_PUSH
6625#define Q_NOWARN_UNREACHABLE_POP
6626
6627#elif defined(_MSC_VER)
6628
6629#define Q_NOWARN_DEPRECATED_PUSH \
6630 __pragma(warning(push)) \
6631 __pragma(warning(disable:4996))
6632#define Q_NOWARN_DEPRECATED_POP \
6633 __pragma(warning(pop))
6634#define Q_NOWARN_UNREACHABLE_PUSH \
6635 __pragma(warning(push)) \
6636 __pragma(warning(disable:4702))
6637#define Q_NOWARN_UNREACHABLE_POP \
6638 __pragma(warning(pop))
6639
6640#else
6641
6642#define Q_NOWARN_DEPRECATED_PUSH
6643#define Q_NOWARN_DEPRECATED_POP
6644#define Q_NOWARN_UNREACHABLE_PUSH
6645#define Q_NOWARN_UNREACHABLE_POP
6646
6647#endif
6648#endif
6649
6650#ifndef QGISEXTERN
6651#ifdef Q_OS_WIN
6652# define QGISEXTERN extern "C" __declspec( dllexport )
6653#else
6654# if defined(__GNUC__) || defined(__clang__)
6655# define QGISEXTERN extern "C" __attribute__ ((visibility ("default")))
6656# else
6657# define QGISEXTERN extern "C"
6658# endif
6659#endif
6660#endif
6661#endif
6662
6663// see https://infektor.net/posts/2017-01-19-using-cpp17-attributes-today.html#using-the-nodiscard-attribute
6664#if __cplusplus >= 201703L
6665#define NODISCARD [[nodiscard]]
6666#elif defined(__clang__)
6667#define NODISCARD [[nodiscard]]
6668#elif defined(_MSC_VER)
6669#define NODISCARD // no support
6670#elif defined(__has_cpp_attribute)
6671#if __has_cpp_attribute(nodiscard)
6672#define NODISCARD [[nodiscard]]
6673#elif __has_cpp_attribute(gnu::warn_unused_result)
6674#define NODISCARD [[gnu::warn_unused_result]]
6675#else
6676#define NODISCARD Q_REQUIRED_RESULT
6677#endif
6678#else
6679#define NODISCARD Q_REQUIRED_RESULT
6680#endif
6681
6682#if __cplusplus >= 201703L
6683#define MAYBE_UNUSED [[maybe_unused]]
6684#elif defined(__clang__)
6685#define MAYBE_UNUSED [[maybe_unused]]
6686#elif defined(_MSC_VER)
6687#define MAYBE_UNUSED // no support
6688#elif defined(__has_cpp_attribute)
6689#if __has_cpp_attribute(gnu::unused)
6690#define MAYBE_UNUSED [[gnu::unused]]
6691#else
6692#define MAYBE_UNUSED
6693#endif
6694#else
6695#define MAYBE_UNUSED
6696#endif
6697
6698#ifndef FINAL
6699#define FINAL final
6700#endif
6701
6702#ifndef SIP_RUN
6703#ifdef _MSC_VER
6704#define BUILTIN_UNREACHABLE \
6705 __assume(false);
6706#elif defined(__GNUC__) && !defined(__clang__)
6707// Workaround a GCC bug where a -Wreturn-type warning is emitted in constructs
6708// like:
6709// switch( mVariableThatCanOnlyBeXorY )
6710// {
6711// case X:
6712// return "foo";
6713// case Y:
6714// return "foo";
6715// }
6716// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87951
6717#define BUILTIN_UNREACHABLE \
6718 __builtin_unreachable();
6719#else
6720#define BUILTIN_UNREACHABLE
6721#endif
6722#endif // SIP_RUN
6723
6724#ifdef SIP_RUN
6725
6730QString CORE_EXPORT geoWkt();
6731
6733QString CORE_EXPORT geoProj4();
6734
6736QString CORE_EXPORT geoEpsgCrsAuthId();
6737
6739QString CORE_EXPORT geoNone();
6740
6741#endif
The Qgis class provides global constants for use throughout the application.
Definition qgis.h:54
DistanceUnitType
Types of distance units.
Definition qgis.h:4802
GnssConstellation
GNSS constellation.
Definition qgis.h:1814
SettingsOption
Settings options.
Definition qgis.h:688
ProfileGeneratorFlag
Flags that control the way the QgsAbstractProfileGenerator operate.
Definition qgis.h:3985
ProcessingSourceType
Processing data source types.
Definition qgis.h:3333
GpsQualityIndicator
GPS signal quality indicator.
Definition qgis.h:1832
DataItemProviderCapability
Capabilities for data item providers.
Definition qgis.h:910
ProcessingFileParameterBehavior
Flags which dictate the behavior of QgsProcessingParameterFile.
Definition qgis.h:3573
QFlags< MapLayerRendererFlag > MapLayerRendererFlags
Flags which control how map layer renderers behave.
Definition qgis.h:2676
ProjectReadFlag
Flags which control project read behavior.
Definition qgis.h:4069
QFlags< BabelCommandFlag > BabelCommandFlags
Babel command flags.
Definition qgis.h:1927
MapToolUnit
Type of unit of tolerance value from settings.
Definition qgis.h:4708
PlotAxisSuffixPlacement
Placement options for suffixes in the labels for axis of plots.
Definition qgis.h:3158
ProcessingModelChildAlgorithmExecutionStatus
Reflects the status of a child algorithm in a Processing model.
Definition qgis.h:3648
QFlags< GpsInformationComponent > GpsInformationComponents
GPS information component.
Definition qgis.h:1894
ScaleBarDistanceLabelHorizontalPlacement
Scale bar distance label horizontal placement.
Definition qgis.h:5036
PointCloudSymbol
Rendering symbols for point cloud points.
Definition qgis.h:4013
SymbolRotationMode
Modes for handling how symbol and text entity rotation is handled when maps are rotated.
Definition qgis.h:750
GeometryValidityFlag
Geometry validity check flags.
Definition qgis.h:1981
QFlags< RasterProviderCapability > RasterProviderCapabilities
Raster data provider capabilities.
Definition qgis.h:4633
ExpressionType
Expression types.
Definition qgis.h:5203
MapLayerActionFlag
Map layer action flags.
Definition qgis.h:4379
ScaleBarDistanceLabelVerticalPlacement
Scale bar distance label vertical placement.
Definition qgis.h:5022
MapLayerProperty
Generic map layer properties.
Definition qgis.h:2176
VectorProviderCapability
Vector data provider capabilities.
Definition qgis.h:463
BufferSide
Side of line to buffer.
Definition qgis.h:2006
RasterResamplingStage
Stage at which raster resampling occurs.
Definition qgis.h:1380
QFlags< MapLayerActionTarget > MapLayerActionTargets
Map layer action targets.
Definition qgis.h:4368
VectorTileProviderCapability
Enumeration with capabilities that vector tile data providers might implement.
Definition qgis.h:5249
AltitudeClamping
Altitude clamping.
Definition qgis.h:3762
VectorTileProviderFlag
Flags for vector tile data providers.
Definition qgis.h:5231
VectorTemporalMode
Vector layer temporal feature modes.
Definition qgis.h:2475
SublayerFlag
Flags which reflect the properties of sublayers in a dataset.
Definition qgis.h:1319
QFlags< ProjectCapability > ProjectCapabilities
Flags which control project capabilities.
Definition qgis.h:4110
LabelLinePlacementFlag
Line placement flags, which control how candidates are generated for a linear feature.
Definition qgis.h:1206
CoordinateDisplayType
Formats for displaying coordinates.
Definition qgis.h:4218
ProcessingParameterTypeFlag
Flags which dictate the behavior of Processing parameter types.
Definition qgis.h:3521
QFlags< VectorRenderingSimplificationFlag > VectorRenderingSimplificationFlags
Simplification flags for vector feature rendering.
Definition qgis.h:2884
DashPatternSizeAdjustment
Dash pattern size adjustment options.
Definition qgis.h:3131
GpsFixStatus
GPS fix status.
Definition qgis.h:1799
AnnotationItemNodeType
Annotation item node types.
Definition qgis.h:2402
static const char * QGIS_DEV_VERSION
The development version.
Definition qgis.h:82
VectorFileWriterCapability
Capabilities supported by a QgsVectorFileWriter object.
Definition qgis.h:1004
QFlags< MapSettingsFlag > MapSettingsFlags
Map settings flags.
Definition qgis.h:2619
CrsIdentifierType
Available identifier string types for representing coordinate reference systems.
Definition qgis.h:2312
QFlags< RasterRendererFlag > RasterRendererFlags
Flags which control behavior of raster renderers.
Definition qgis.h:1422
AngularDirection
Angular directions.
Definition qgis.h:3246
DriveType
Drive types.
Definition qgis.h:1057
UnitType
Unit types.
Definition qgis.h:4723
ContentStatus
Status for fetched or stored content.
Definition qgis.h:1755
QFlags< SelectionFlag > SelectionFlags
Flags which control feature selection behavior.
Definition qgis.h:1717
SnappingType
SnappingTypeFlag defines on what object the snapping is performed.
Definition qgis.h:713
LayoutUnit
Layout measurement units.
Definition qgis.h:4930
Q_ENUM(GpsFixStatus)
RelationshipStrength
Relationship strength.
Definition qgis.h:4171
Q_ENUM(GnssConstellation)
MarkerLinePlacement
Defines how/where the symbols should be placed on a line.
Definition qgis.h:2969
QFlags< ProjectReadFlag > ProjectReadFlags
Project load flags.
Definition qgis.h:4088
Point3DShape
3D point shape types.
Definition qgis.h:3904
GeometryOperationResult
Success or failure of a geometry operation.
Definition qgis.h:1952
QFlags< StringStatistic > StringStatistics
Statistics to be calculated for string values.
Definition qgis.h:5591
BrowserItemState
Browser item states.
Definition qgis.h:872
AttributeEditorContainerType
Attribute editor container types.
Definition qgis.h:5144
QFlags< TiledSceneProviderCapability > TiledSceneProviderCapabilities
Tiled scene data provider capabilities.
Definition qgis.h:5292
FeatureRequestFilterType
Types of feature request filters.
Definition qgis.h:2119
MarkerClipMode
Marker clipping modes.
Definition qgis.h:3089
GpsNavigationStatus
GPS navigation status.
Definition qgis.h:1852
AnnotationItemFlag
Flags for annotation items.
Definition qgis.h:2359
RenderSubcomponentProperty
Rendering subcomponent properties.
Definition qgis.h:2893
ProcessingTinInputLayerType
Defines the type of input layer for a Processing TIN input.
Definition qgis.h:3663
QFlags< DataProviderFlag > DataProviderFlags
Data provider flags.
Definition qgis.h:2210
Statistic
Available generic statistics.
Definition qgis.h:5509
SymbolRenderHint
Flags controlling behavior of symbols during rendering.
Definition qgis.h:733
AngleUnit
Units of angles.
Definition qgis.h:4865
CaptureTechnique
Capture technique.
Definition qgis.h:376
SpatialIndexPresence
Enumeration of spatial index presence states.
Definition qgis.h:522
BrowserItemCapability
Browser item capabilities.
Definition qgis.h:885
AttributeFormSuppression
Available form types for layout of the attribute form editor.
Definition qgis.h:5174
QFlags< AuthConfigurationStorageCapability > AuthConfigurationStorageCapabilities
Authentication configuration storage capabilities.
Definition qgis.h:145
QFlags< LayerTreeFilterFlag > LayerTreeFilterFlags
Layer tree filter flags.
Definition qgis.h:4311
LayerTreeInsertionMethod
Layer tree insertion methods.
Definition qgis.h:4288
RasterProviderCapability
Raster data provider capabilities.
Definition qgis.h:4613
LineClipMode
Line clipping modes.
Definition qgis.h:3103
VectorRenderingSimplificationFlag
Simplification flags for vector feature rendering.
Definition qgis.h:2869
QFlags< GeometryValidityFlag > GeometryValidityFlags
Geometry validity flags.
Definition qgis.h:1985
BrowserDirectoryMonitoring
Browser directory item monitoring switches.
Definition qgis.h:959
VsiHandlerType
GDAL VSI handler types.
Definition qgis.h:5405
SettingsTreeNodeType
Type of tree node.
Definition qgis.h:618
TilePixelRatio
DpiMode enum.
Definition qgis.h:3186
DatabaseProviderConnectionCapability2
The Capability enum represents the extended operations supported by the connection.
Definition qgis.h:5081
LabelOffsetType
Behavior modifier for label offset and distance, only applies in some label placement modes.
Definition qgis.h:1172
QFlags< ProfileGeneratorFlag > ProfileGeneratorFlags
Definition qgis.h:3991
LabelPrioritization
Label prioritization.
Definition qgis.h:1111
GradientColorSource
Gradient color sources.
Definition qgis.h:3018
FileFilterType
Type of file filters.
Definition qgis.h:1285
LabelPlacement
Placement modes which determine how label candidates are generated for a feature.
Definition qgis.h:1125
RasterLayerType
Raster layer types.
Definition qgis.h:4490
QFlags< VectorLayerTypeFlag > VectorLayerTypeFlags
Vector layer type flags.
Definition qgis.h:395
ScaleBarAlignment
Scalebar alignment.
Definition qgis.h:4993
RasterPyramidFormat
Raster pyramid formats.
Definition qgis.h:4529
VectorExportResult
Vector layer export result codes.
Definition qgis.h:983
DistanceUnit
Units of distance.
Definition qgis.h:4740
RasterTemporalCapabilityFlag
Flags for raster layer temporal capabilities.
Definition qgis.h:2546
SymbolLayerFlag
Flags controlling behavior of symbol layers.
Definition qgis.h:814
MeshRangeLimit
Describes the limits used to compute mesh ranges (min/max values).
Definition qgis.h:5705
GradientSpread
Gradient spread options, which control how gradients are rendered outside of their start and end poin...
Definition qgis.h:3062
QFlags< AnnotationItemGuiFlag > AnnotationItemGuiFlags
Annotation item GUI flags.
Definition qgis.h:2392
LabelPolygonPlacementFlag
Polygon placement flags, which control how candidates are generated for a polygon feature.
Definition qgis.h:1231
RasterRangeLimit
Describes the limits used to compute raster ranges (min/max values).
Definition qgis.h:1454
ScaleMethod
Scale methods.
Definition qgis.h:588
SldExportOption
SLD export options.
Definition qgis.h:660
VectorSimplificationAlgorithm
Simplification algorithms for vector features.
Definition qgis.h:2853
FilePathType
File path types.
Definition qgis.h:1586
CadConstraintType
Advanced digitizing constraint type.
Definition qgis.h:3854
AttributeFormPythonInitCodeSource
The Python init code source for attribute forms.
Definition qgis.h:5189
PointCountMethod
Methods which define the number of points randomly filling a polygon.
Definition qgis.h:3077
SldExportVendorExtension
SLD export vendor extensions, allow the use of vendor extensions when exporting to SLD.
Definition qgis.h:675
MapCanvasFlag
Flags controlling behavior of map canvases.
Definition qgis.h:3272
LayerTreeFilterFlag
Layer tree filter flags.
Definition qgis.h:4301
AttributeFormLayout
Available form types for layout of the attribute form editor.
Definition qgis.h:5159
FeatureRequestFlag
Flags for controlling feature requests.
Definition qgis.h:2091
VertexType
Types of vertex.
Definition qgis.h:2906
ShaderInterpolationMethod
Color ramp shader interpolation methods.
Definition qgis.h:1335
DataProviderFlag
Generic data provider flags.
Definition qgis.h:2204
Q_ENUM(GpsNavigationStatus)
GdalResampleAlgorithm
Resampling algorithm to be used (equivalent to GDAL's enum GDALResampleAlg)
Definition qgis.h:5383
RasterResamplingMethod
Resampling method for raster provider-level resampling.
Definition qgis.h:1394
GeometryValidationEngine
Available engines for validating geometries.
Definition qgis.h:1994
TransactionMode
Transaction mode.
Definition qgis.h:3749
Q_ENUM(ScaleToTileZoomLevelMethod)
QFlags< FeatureRendererFlag > FeatureRendererFlags
Flags controlling behavior of vector feature renderers.
Definition qgis.h:772
ElevationMapCombineMethod
Methods used to select the elevation when two elevation maps are combined.
Definition qgis.h:4642
RasterDrawingStyle
Raster drawing styles.
Definition qgis.h:4506
GeosCreationFlag
Flags which control geos geometry creation behavior.
Definition qgis.h:2044
MeshRangeExtent
Describes the extent used to compute mesh ranges (min/max values).
Definition qgis.h:5717
GpsInformationComponent
GPS information component.
Definition qgis.h:1866
ViewSyncModeFlag
Synchronization of 2D map canvas and 3D view.
Definition qgis.h:3291
ProcessingProviderFlag
Flags indicating how and when an processing provider operates and should be exposed to users.
Definition qgis.h:3359
FileOperationFlag
File operation flags.
Definition qgis.h:2161
QFlags< DataItemProviderCapability > DataItemProviderCapabilities
Capabilities for data item providers.
Definition qgis.h:926
ProjectCapability
Flags which control project capabilities.
Definition qgis.h:4100
QFlags< BabelFormatCapability > BabelFormatCapabilities
Babel GPS format capabilities.
Definition qgis.h:1912
QFlags< SymbolLayerFlag > SymbolLayerFlags
Symbol layer flags.
Definition qgis.h:821
QFlags< RasterInterfaceCapability > RasterInterfaceCapabilities
Raster interface capabilities.
Definition qgis.h:4600
Q_ENUM(VectorProfileType)
AttributeActionType
Attribute action types.
Definition qgis.h:4402
TemporalNavigationMode
Temporal navigation modes.
Definition qgis.h:2429
ProcessingFieldParameterDataType
Processing field parameter data types.
Definition qgis.h:3601
AreaUnit
Units of area.
Definition qgis.h:4817
StringStatistic
Available string statistics.
Definition qgis.h:5571
FieldDomainMergePolicy
Merge policy for field domains.
Definition qgis.h:3708
ZonalStatistic
Statistics to be calculated during a zonal statistics operation.
Definition qgis.h:5424
MessageLevel
Level for messages This will be used both for message log and message bar in application.
Definition qgis.h:154
SqlKeywordCategory
SqlKeywordCategory enum represents the categories of the SQL keywords used by the SQL query editor.
Definition qgis.h:1039
QFlags< SnappingType > SnappingTypes
Snapping types.
Definition qgis.h:724
GraduatedMethod
Methods for modifying symbols by range in a graduated symbol renderer.
Definition qgis.h:3146
QFlags< LabelLinePlacementFlag > LabelLinePlacementFlags
Line placement flags, which control how candidates are generated for a linear feature.
Definition qgis.h:1221
TiledSceneBoundingVolumeType
Tiled scene bounding volume types.
Definition qgis.h:5301
TextLayoutMode
Text layout modes.
Definition qgis.h:2762
PropertyType
Property types.
Definition qgis.h:646
QFlags< RenderContextFlag > RenderContextFlags
Render context flags.
Definition qgis.h:2654
LayerFilter
Filter for layers.
Definition qgis.h:188
Q_ENUM(ProviderStyleStorageCapability)
QFlags< SublayerFlag > SublayerFlags
Sublayer flags.
Definition qgis.h:1323
RasterRendererFlag
Flags which control behavior of raster renderers.
Definition qgis.h:1412
PythonEmbeddedMode
Authorisation to run Python Embedded in projects.
Definition qgis.h:403
CrsType
Coordinate reference system types.
Definition qgis.h:2222
QFlags< GeosCreationFlag > GeosCreationFlags
Geos geometry creation behavior flags.
Definition qgis.h:2055
SensorThingsEntity
OGC SensorThings API entity types.
Definition qgis.h:5627
MeshEditingErrorType
Type of error that can occur during mesh frame editing.
Definition qgis.h:1569
FieldDomainSplitPolicy
Split policy for field domains.
Definition qgis.h:3691
ArcGisRestServiceType
Available ArcGIS REST service types.
Definition qgis.h:4138
RasterFileWriterResult
Raster file export results.
Definition qgis.h:1552
AnnotationItemEditOperationResult
Results from an edit operation on an annotation item.
Definition qgis.h:2414
ProcessingPropertyAvailability
Property availability, used for QgsProcessingAlgorithm::VectorProperties in order to determine if pro...
Definition qgis.h:3442
MapRecenteringMode
Modes for recentering map canvases.
Definition qgis.h:3304
RasterRangeAccuracy
Describes the accuracy used to compute raster ranges (min/max values).
Definition qgis.h:1485
ActionType
Action types.
Definition qgis.h:4338
ActionStart
Enum to determine when an operation would begin.
Definition qgis.h:1074
PlaybackOperation
Media playback operations.
Definition qgis.h:2458
QFlags< SymbolLayerUserFlag > SymbolLayerUserFlags
Symbol layer user flags.
Definition qgis.h:844
QFlags< TextRendererFlag > TextRendererFlags
Definition qgis.h:3225
ProviderStyleStorageCapability
The StorageCapability enum represents the style storage operations supported by the provider.
Definition qgis.h:5095
AvoidIntersectionsMode
Flags which control how intersections of pre-existing feature are handled when digitizing new feature...
Definition qgis.h:4040
MarkerShape
Marker shapes.
Definition qgis.h:2920
LegendJsonRenderFlag
Legend JSON export flags.
Definition qgis.h:4323
BlendMode
Blending modes defining the available composition modes that can be used when painting.
Definition qgis.h:4657
RasterElevationMode
Raster layer elevation modes.
Definition qgis.h:3801
Capitalization
String capitalization options.
Definition qgis.h:3203
TemporalIntervalMatchMethod
Method to use when resolving a temporal range to a data provider layer or band.
Definition qgis.h:2531
PictureFormat
Picture formats.
Definition qgis.h:4964
QFlags< LabelPolygonPlacementFlag > LabelPolygonPlacementFlags
Polygon placement flags, which control how candidates are generated for a polygon feature.
Definition qgis.h:1243
LabelQuadrantPosition
Label quadrant positions.
Definition qgis.h:1186
QFlags< PlotToolFlag > PlotToolFlags
Definition qgis.h:3892
ScaleToTileZoomLevelMethod
Available methods for converting map scales to tile zoom levels.
Definition qgis.h:3234
SublayerQueryFlag
Flags which control how data providers will scan for sublayers in a dataset.
Definition qgis.h:1302
QFlags< VectorFileWriterCapability > VectorFileWriterCapabilities
Capabilities supported by a QgsVectorFileWriter object.
Definition qgis.h:1014
TextOrientation
Text orientations.
Definition qgis.h:2747
TemporalUnit
Temporal units.
Definition qgis.h:4886
QFlags< RasterRendererCapability > RasterRendererCapabilities
Raster renderer capabilities.
Definition qgis.h:1443
QFlags< SymbolPreviewFlag > SymbolPreviewFlags
Symbol preview flags.
Definition qgis.h:801
UnplacedLabelVisibility
Unplaced label visibility.
Definition qgis.h:1086
CrsDefinitionFormat
CRS definition formats.
Definition qgis.h:3676
SpatialFilterType
Feature request spatial filter types.
Definition qgis.h:2148
QFlags< ProcessingParameterTypeFlag > ProcessingParameterTypeFlags
Flags which dictate the behavior of Processing parameter types.
Definition qgis.h:3536
TileAvailability
Possible availability states for a tile within a tile matrix.
Definition qgis.h:5268
ProjectFlag
Flags which control the behavior of QgsProjects.
Definition qgis.h:3872
FeatureRendererFlag
Flags controlling behavior of vector feature renderers.
Definition qgis.h:762
BrowserItemType
Browser item types.
Definition qgis.h:853
QFlags< FeatureRequestFlag > FeatureRequestFlags
Flags for controlling feature requests.
Definition qgis.h:2108
SettingsType
Types of settings entries.
Definition qgis.h:599
QFlags< SettingsOption > SettingsOptions
Definition qgis.h:693
RasterTemporalMode
Raster layer temporal modes.
Definition qgis.h:2516
RasterAttributeTableType
The RasterAttributeTableType enum represents the type of RAT.
Definition qgis.h:1526
LabelingFlag
Various flags that affect drawing and placement of labels.
Definition qgis.h:2702
GeometryType
The geometry types are used to group Qgis::WkbType in a coarse way.
Definition qgis.h:337
RelationshipType
Relationship types.
Definition qgis.h:4157
ScriptLanguageCapability
Script language capabilities.
Definition qgis.h:4267
RasterInterfaceCapability
Raster interface capabilities.
Definition qgis.h:4580
JoinStyle
Join styles for buffers.
Definition qgis.h:2031
PointCloudDrawOrder
Pointcloud rendering order for 2d views.
Definition qgis.h:4025
QFlags< RasterBandStatistic > RasterBandStatistics
Statistics to be calculated for raster bands.
Definition qgis.h:5618
ProcessingAlgorithmDocumentationFlag
Flags describing algorithm behavior for documentation purposes.
Definition qgis.h:3419
TextCharacterVerticalAlignment
Text vertical alignment for characters.
Definition qgis.h:2838
FieldDuplicatePolicy
Duplicate policy for fields.
Definition qgis.h:3723
UserProfileSelectionPolicy
User profile selection policy.
Definition qgis.h:5110
QFlags< FileOperationFlag > FileOperationFlags
File operation flags.
Definition qgis.h:2166
DpiMode
DpiMode enum.
Definition qgis.h:3172
Q_ENUM(ProfileExportType)
BrowserLayerType
Browser item layer types.
Definition qgis.h:935
QFlags< ProcessingAlgorithmFlag > ProcessingAlgorithmFlags
Flags indicating how and when an algorithm operates and should be exposed to users.
Definition qgis.h:3410
AltitudeBinding
Altitude binding.
Definition qgis.h:3775
QFlags< DataProviderReadFlag > DataProviderReadFlags
Flags which control data provider construction.
Definition qgis.h:450
Q_ENUM(ProcessingProviderFlag)
TiledSceneRendererFlag
Flags which control how tiled scene 2D renderers behave.
Definition qgis.h:5361
MapLayerActionTarget
Map layer action targets.
Definition qgis.h:4353
ShaderClassificationMethod
Color ramp shader classification methods.
Definition qgis.h:1350
ZonalStatisticResult
Zonal statistics result codes.
Definition qgis.h:5459
ScriptLanguage
Scripting languages.
Definition qgis.h:4244
QFlags< BrowserItemCapability > BrowserItemCapabilities
Browser item capabilities.
Definition qgis.h:899
FeatureAvailability
Possible return value for QgsFeatureSource::hasFeatures() to determine if a source is empty.
Definition qgis.h:541
TiledSceneProviderCapability
Tiled scene data provider capabilities.
Definition qgis.h:5282
LabelMultiLineAlignment
Text alignment for multi-line labels.
Definition qgis.h:1269
RasterBandStatistic
Available raster band statistics.
Definition qgis.h:5600
QFlags< VectorTileProviderCapability > VectorTileProviderCapabilities
Vector tile data provider capabilities.
Definition qgis.h:5259
AuthConfigurationStorageCapability
Authentication configuration storage capabilities.
Definition qgis.h:100
PythonEmbeddedType
Type of Python Embedded in projects.
Definition qgis.h:417
QFlags< ZonalStatistic > ZonalStatistics
Statistics to be calculated during a zonal statistics operation.
Definition qgis.h:5450
VectorDataProviderTemporalMode
Vector data provider temporal handling modes.
Definition qgis.h:2503
TextRenderFormat
Options for rendering text.
Definition qgis.h:2687
DocumentationBrowser
Documentation API browser.
Definition qgis.h:5673
DataType
Raster data types.
Definition qgis.h:351
Q_ENUM(ProfileSurfaceSymbology)
QFlags< ViewSyncModeFlag > ViewSyncModeFlags
Definition qgis.h:3296
QFlags< SublayerQueryFlag > SublayerQueryFlags
Sublayer query flags.
Definition qgis.h:1309
SystemOfMeasurement
Systems of unit measurement.
Definition qgis.h:4693
RasterAttributeTableFieldUsage
The RasterAttributeTableFieldUsage enum represents the usage of a Raster Attribute Table field.
Definition qgis.h:1497
VerticalAxisInversion
Vertical axis inversion options for 3D views.
Definition qgis.h:3947
QFlags< CoordinateTransformationFlag > CoordinateTransformationFlags
Coordinate transformation flags.
Definition qgis.h:2588
RelationshipCapability
Relationship capabilities.
Definition qgis.h:4197
RasterBuildPyramidOption
Raster pyramid building options.
Definition qgis.h:4544
QFlags< VectorProviderCapability > VectorProviderCapabilities
Vector data provider capabilities.
Definition qgis.h:500
NavigationMode
The navigation mode used by 3D cameras.
Definition qgis.h:3935
LinearReferencingPlacement
Defines how/where the labels should be placed in a linear referencing symbol layer.
Definition qgis.h:2989
TileChildrenAvailability
Possible availability states for a tile's children.
Definition qgis.h:5329
LayerType
Types of layers that can be added to a map.
Definition qgis.h:169
QFlags< AnnotationItemFlag > AnnotationItemFlags
Annotation item flags.
Definition qgis.h:2365
FieldOrigin
Field origin.
Definition qgis.h:1614
LinearReferencingLabelSource
Defines what quantity to use for the labels shown in a linear referencing symbol layer.
Definition qgis.h:3003
RasterRangeExtent
Describes the extent used to compute raster ranges (min/max values).
Definition qgis.h:1470
QFlags< Statistic > Statistics
Statistics to be calculated for generic values.
Definition qgis.h:5537
PlotToolFlag
Flags that control the way the QgsPlotTools operate.
Definition qgis.h:3888
RenderUnit
Rendering size units.
Definition qgis.h:4910
CoordinateOrder
Order of coordinates.
Definition qgis.h:2297
SelectionFlag
Flags which control feature selection behavior.
Definition qgis.h:1707
QFlags< SettingsTreeNodeOption > SettingsTreeNodeOptions
Definition qgis.h:635
EndCapStyle
End cap styles for buffers.
Definition qgis.h:2018
ScaleCalculationMethod
Scale calculation logic.
Definition qgis.h:4977
QFlags< TiledSceneRequestFlag > TiledSceneRequestFlags
Flags which control how tiled scene requests behave.
Definition qgis.h:5352
QFlags< MapLayerActionFlag > MapLayerActionFlags
Map layer action flags.
Definition qgis.h:4391
QFlags< MapLayerProperty > MapLayerProperties
Map layer properties.
Definition qgis.h:2181
QFlags< LoadStyleFlag > LoadStyleFlags
Flags for loading layer styles.
Definition qgis.h:225
BabelCommandFlag
Babel command flags, which control how commands and arguments are generated for executing GPSBabel pr...
Definition qgis.h:1923
QFlags< LabelingFlag > LabelingFlags
Flags that affect drawing and placement of labels.
Definition qgis.h:2722
FieldDomainType
Types of field domain.
Definition qgis.h:3736
MapLayerRendererFlag
Flags which control how map layer renderers behave.
Definition qgis.h:2664
RenderContextFlag
Flags which affect rendering operations.
Definition qgis.h:2629
RasterPipeInterfaceRole
Raster pipe interface roles.
Definition qgis.h:1363
CoverageValidityResult
Coverage validity results.
Definition qgis.h:2064
DataProviderReadFlag
Flags which control data provider construction.
Definition qgis.h:431
ScaleBarSegmentSizeMode
Modes for setting size for scale bar segments.
Definition qgis.h:5008
Aggregate
Available aggregates to calculate.
Definition qgis.h:5477
SymbolPreviewFlag
Flags for controlling how symbol preview images are generated.
Definition qgis.h:796
AnnotationItemGuiFlag
Flags for controlling how an annotation item behaves in the GUI.
Definition qgis.h:2388
MapBoxGlStyleSourceType
Available MapBox GL style source types.
Definition qgis.h:4119
LayoutUnitType
Types of layout units.
Definition qgis.h:4950
VectorDataProviderAttributeEditCapability
Attribute editing capabilities which may be supported by vector data providers.
Definition qgis.h:554
DashPatternLineEndingRule
Dash pattern line ending rules.
Definition qgis.h:3116
FieldMetadataProperty
Standard field metadata values.
Definition qgis.h:1655
TiledSceneRequestFlag
Flags which control how tiled scene requests behave.
Definition qgis.h:5342
RasterRendererCapability
Raster renderer capabilities.
Definition qgis.h:1433
VertexMarkerType
Editing vertex markers, used for showing vertices during a edit operation.
Definition qgis.h:1743
HistoryProviderBackend
History provider backends.
Definition qgis.h:3317
RasterExportType
Raster file export types.
Definition qgis.h:1539
SublayerPromptMode
Specifies how to handle layer sources with multiple sublayers.
Definition qgis.h:1598
TextVerticalAlignment
Text vertical alignment.
Definition qgis.h:2822
RelationshipCardinality
Relationship cardinality.
Definition qgis.h:4183
GradientType
Gradient types.
Definition qgis.h:3032
QFlags< ScriptLanguageCapability > ScriptLanguageCapabilities
Script language capabilities.
Definition qgis.h:4279
VectorProfileType
Types of elevation profiles to generate for vector sources.
Definition qgis.h:3973
GpsFeatureType
GPS feature types.
Definition qgis.h:1937
VectorLayerTypeFlag
Vector layer type flags.
Definition qgis.h:390
MakeValidMethod
Algorithms to use when repairing invalid geometries.
Definition qgis.h:2077
RangeLimits
Describes how the limits of a range are handled.
Definition qgis.h:3787
QFlags< ProjectFlag > ProjectFlags
Definition qgis.h:3879
VectorTemporalLimitMode
Mode for the handling of the limits of the filtering timeframe for vector features.
Definition qgis.h:2491
QFlags< ProcessingParameterFlag > ProcessingParameterFlags
Flags which dictate the behavior of Processing parameters.
Definition qgis.h:3562
SqlLayerDefinitionCapability
SqlLayerDefinitionCapability enum lists the arguments supported by the provider when creating SQL que...
Definition qgis.h:1022
VectorEditResult
Specifies the result of a vector layer edit operation.
Definition qgis.h:1728
QFlags< VectorDataProviderAttributeEditCapability > VectorDataProviderAttributeEditCapabilities
Attribute editing capabilities which may be supported by vector data providers.
Definition qgis.h:566
Axis
Cartesian axes.
Definition qgis.h:2346
QFlags< ProcessingAlgorithmDocumentationFlag > ProcessingAlgorithmDocumentationFlags
Flags describing algorithm behavior for documentation purposes.
Definition qgis.h:3430
QFlags< RelationshipCapability > RelationshipCapabilities
Relationship capabilities.
Definition qgis.h:4209
QFlags< SymbolRenderHint > SymbolRenderHints
Symbol render hints.
Definition qgis.h:741
VolumeUnit
Units of volume.
Definition qgis.h:4842
AttributeEditorType
Attribute editor types.
Definition qgis.h:5125
QFlags< LegendJsonRenderFlag > LegendJsonRenderFlags
Definition qgis.h:4327
QFlags< ProviderStyleStorageCapability > ProviderStyleStorageCapabilities
Definition qgis.h:5101
SymbolLayerUserFlag
User-specified flags controlling behavior of symbol layers.
Definition qgis.h:834
InvalidGeometryCheck
Methods for handling of features with invalid geometries.
Definition qgis.h:2135
QFlags< SymbolFlag > SymbolFlags
Symbol flags.
Definition qgis.h:787
QFlags< ProcessingFeatureSourceDefinitionFlag > ProcessingFeatureSourceDefinitionFlags
Flags which control behavior for a Processing feature source.
Definition qgis.h:3484
ProfileExportType
Types of export for elevation profiles.
Definition qgis.h:4000
MeshElevationMode
Mesh layer elevation modes.
Definition qgis.h:3815
ProjectFileFormat
Flags which control project read behavior.
Definition qgis.h:4055
SnappingMode
SnappingMode defines on which layer the snapping is performed.
Definition qgis.h:701
SymbolType
Symbol types.
Definition qgis.h:574
RasterColorInterpretation
Raster color interpretation.
Definition qgis.h:4439
ProfileSurfaceSymbology
Surface symbology type for elevation profile plots.
Definition qgis.h:3960
LabelPlacementEngineVersion
Labeling placement engine version.
Definition qgis.h:2733
Q_ENUM(ProcessingAlgorithmFlag)
ColorModel
Color model types.
Definition qgis.h:5647
RendererUsage
Usage of the renderer.
Definition qgis.h:3259
SettingsTreeNodeOption
Options for named list nodes.
Definition qgis.h:630
BabelFormatCapability
Babel GPS format capabilities.
Definition qgis.h:1904
PostgresRelKind
Postgres database relkind options.
Definition qgis.h:5060
GpsConnectionType
GPS connection types.
Definition qgis.h:1770
Q_ENUM(InputControllerType)
QFlags< DatabaseProviderConnectionCapability2 > DatabaseProviderConnectionCapabilities2
Definition qgis.h:5086
MouseHandlesAction
Action to be performed by the mouse handles.
Definition qgis.h:5685
ProcessingFeatureSourceDefinitionFlag
Flags which control behavior for a Processing feature source.
Definition qgis.h:3471
QFlags< TextComponent > TextComponents
Text components.
Definition qgis.h:2792
LoadStyleFlag
Flags for loading layer styles.
Definition qgis.h:215
BetweenLineConstraint
Between line constraints which can be enabled.
Definition qgis.h:3828
QFlags< VectorTileProviderFlag > VectorTileProviderFlags
Vector tile data provider flags.
Definition qgis.h:5241
MetadataDateType
Date types for metadata.
Definition qgis.h:4420
QFlags< RasterTemporalCapabilityFlag > RasterTemporalCapabilityFlags
Flags for raster layer temporal capabilities.
Definition qgis.h:2556
ProcessingFeatureSourceFlag
Flags which control how QgsProcessingFeatureSource fetches features.
Definition qgis.h:3495
RasterIdentifyFormat
Raster identify formats.
Definition qgis.h:4559
TextHorizontalAlignment
Text horizontal alignment.
Definition qgis.h:2803
SymbolFlag
Flags controlling behavior of symbols.
Definition qgis.h:781
LineExtensionSide
Designates whether the line extension constraint is currently soft locked with the previous or next v...
Definition qgis.h:3841
HttpMethod
Different methods of HTTP requests.
Definition qgis.h:971
WkbType
The WKB type describes the number of dimensions a geometry has.
Definition qgis.h:256
QFlags< SldExportOption > SldExportOptions
Definition qgis.h:666
SymbolCoordinateReference
Symbol coordinate reference modes.
Definition qgis.h:3047
QFlags< ProcessingProviderFlag > ProcessingProviderFlags
Flags indicating how and when an processing provider operates and should be exposed to users.
Definition qgis.h:3372
TileRefinementProcess
Tiled scene tile refinement processes.
Definition qgis.h:5317
QFlags< DateTimeStatistic > DateTimeStatistics
Statistics to be calculated for date/time values.
Definition qgis.h:5562
SelectionRenderingMode
Specifies how a selection should be rendered.
Definition qgis.h:1668
InputControllerType
Input controller types.
Definition qgis.h:5048
TextRendererFlag
Flags which control the behavior of rendering text.
Definition qgis.h:3221
SelectGeometryRelationship
Geometry relationship test to apply for selecting features.
Definition qgis.h:1695
CrsAxisDirection
Coordinate reference system axis directions.
Definition qgis.h:2247
ProcessingModelChildParameterSource
Processing model child parameter sources.
Definition qgis.h:3632
QFlags< MarkerLinePlacement > MarkerLinePlacements
Definition qgis.h:2980
QFlags< MapCanvasFlag > MapCanvasFlags
Flags controlling behavior of map canvases.
Definition qgis.h:3282
CrsWktVariant
Coordinate reference system WKT formatting variants.
Definition qgis.h:2327
QFlags< TiledSceneRendererFlag > TiledSceneRendererFlags
Flags which control how tiled scene 2D renderers behave.
Definition qgis.h:5374
DocumentationApi
Documentation API.
Definition qgis.h:5659
AutoRefreshMode
Map layer automatic refresh modes.
Definition qgis.h:2191
AnnotationPlacementMode
Annotation item placement modes.
Definition qgis.h:2375
ProcessingAlgorithmFlag
Flags indicating how and when an algorithm operates and should be exposed to users.
Definition qgis.h:3383
FieldConfigurationFlag
Configuration flags for fields These flags are meant to be user-configurable and are not describing a...
Definition qgis.h:1631
SettingsOrigin
The setting origin describes where a setting is stored.
Definition qgis.h:4231
ProcessingParameterFlag
Flags which dictate the behavior of Processing parameters.
Definition qgis.h:3547
LabelOverlapHandling
Label overlap handling.
Definition qgis.h:1098
FeatureSymbologyExport
Options for exporting features considering their symbology.
Definition qgis.h:5218
QFlags< LayerFilter > LayerFilters
Definition qgis.h:206
ProcessingDateTimeParameterDataType
Processing date time parameter data types.
Definition qgis.h:3619
CoordinateTransformationFlag
Flags which adjust the coordinate transformations behave.
Definition qgis.h:2577
TextComponent
Text components.
Definition qgis.h:2779
DateTimeStatistic
Available date/time statistics.
Definition qgis.h:5546
AnimationState
Animation states.
Definition qgis.h:2445
TransformDirection
Indicates the direction (forward or inverse) of a transform.
Definition qgis.h:2565
LightSourceType
Light source types for 3D scenes.
Definition qgis.h:3923
QFlags< ProcessingFeatureSourceFlag > ProcessingFeatureSourceFlags
Flags which control how QgsProcessingFeatureSource fetches features.
Definition qgis.h:3507
QFlags< HistoryProviderBackend > HistoryProviderBackends
Definition qgis.h:3322
LabelPredefinedPointPosition
Positions for labels when using the Qgis::LabelPlacement::OrderedPositionsAroundPoint placement mode.
Definition qgis.h:1146
QFlags< FieldConfigurationFlag > FieldConfigurationFlags
Configuration flags for fields These flags are meant to be user-configurable and are not describing a...
Definition qgis.h:1646
UpsideDownLabelHandling
Handling techniques for upside down labels.
Definition qgis.h:1254
DeviceConnectionStatus
GPS connection status.
Definition qgis.h:1784
ProcessingNumberParameterType
Processing numeric parameter data types.
Definition qgis.h:3587
MapSettingsFlag
Flags which adjust the way maps are rendered.
Definition qgis.h:2597
QFlags< SqlLayerDefinitionCapability > SqlLayerDefinitionCapabilities
SQL layer definition capabilities.
Definition qgis.h:1030
ProcessingLogLevel
Logging level for algorithms to use when pushing feedback messages.
Definition qgis.h:3456
SelectBehavior
Specifies how a selection should be applied.
Definition qgis.h:1681
Utility class that encapsulates an action based on vector attributes.
Definition qgsaction.h:37
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).
Class for doing transforms between two map coordinate systems.
Abstract base class for curved geometry type.
Definition qgscurve.h:35
Base class for all items in the model.
Definition qgsdataitem.h:46
Abstract base class for spatial data provider implementations.
Calculator for summary statistics and aggregates for a list of datetimes.
Contains configuration settings for an editor form.
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.
Definition qgsfields.h:46
A geometry is the spatial representation of a feature.
Encapsulates information relating to a GPS position fix.
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.
Definition qgslabeling.h:32
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.
Definition qgsmaplayer.h:76
The QgsMapSettings class contains configuration for rendering of the map.
Registry for temporary fetched files.
Contains miscellaneous painting utility functions.
Definition qgspainting.h:32
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.
A parameter for processing algorithms that need a list of input vector layers to construct a TIN.
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,...
Definition qgsproject.h:107
A store for object properties.
Holds data provider key, description, and associated shared library file or function pointer informat...
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.
This class describes the origin of min/max values.
Contains a pipeline of raster interfaces for sequential raster processing.
Raster namespace.
Definition qgsraster.h:32
Represents a relationship between two vector layers.
Definition qgsrelation.h:44
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.
Definition qgis.h:5930
Object * operator->()
Returns pointer to blocked QObject.
Definition qgis.h:5948
QgsSignalBlocker(Object *object)
Constructor for QgsSignalBlocker.
Definition qgis.h:5937
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.
Definition qgssymbol.h:231
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.
Definition qgswkbtypes.h:42
FeatureCountState
Enumeration of feature count states.
Definition qgis.h:509
@ 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.
Definition qgis.cpp:94
qlonglong qgsPermissiveToLongLong(QString string, bool &ok)
Converts a string to an qlonglong in a permissive way, e.g., allowing for incorrect numbers of digits...
Definition qgis.cpp:87
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...
Definition qgis.cpp:248
uint qHash(const QVariant &variant)
Hash for QVariant.
Definition qgis.cpp:199
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...
Definition qgis.cpp:73
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...
Definition qgis.cpp:80
void qgsFree(void *ptr)
Frees the memory space pointed to by ptr.
Definition qgis.cpp:116
QString qgsVsiPrefix(const QString &path)
Definition qgis.cpp:194
bool qgsVariantLessThan(const QVariant &lhs, const QVariant &rhs)
Compares two QVariant values and returns whether the first is less than the second.
Definition qgis.cpp:121
bool qgsVariantGreaterThan(const QVariant &lhs, const QVariant &rhs)
Compares two QVariant values and returns whether the first is greater than the second.
Definition qgis.cpp:189
CONSTLATIN1STRING geoNone()
Constant that holds the string representation for "No ellips/No CRS".
Definition qgis.h:6561
const double DEFAULT_LINE_WIDTH
Definition qgis.h:6599
bool operator>(const QVariant &v1, const QVariant &v2)
Compares two QVariant values and returns whether the first is greater than the second.
Definition qgis.h:6453
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.
Definition qgis.h:6276
QString qgsDoubleToString(double a, int precision=17)
Returns a string representation of a double.
Definition qgis.h:5983
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.
Definition qgis.h:6140
QString qgsEnumValueToKey(const T &value, bool *returnOk=nullptr)
Returns the value for the given key of an enum.
Definition qgis.h:6257
QString qgsFlagValueToKeys(const T &value, bool *returnOk=nullptr)
Returns the value for the given keys of a flag.
Definition qgis.h:6315
const long GEO_EPSG_CRS_ID
Magic number for a geographic coord sys in EpsgCrsId ID format.
Definition qgis.h:6585
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.
Definition qgis.h:6123
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.
Definition qgis.h:6337
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...
Definition qgis.h:6614
const QMap< T, QString > qgsEnumMap()
Returns a map of all enum entries.
Definition qgis.h:6240
bool qgsFloatNear(float a, float b, float epsilon=4 *FLT_EPSILON)
Compare two floats (but allow some difference)
Definition qgis.h:6077
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.
Definition qgis.h:6157
const QList< T > qgsEnumList()
Returns a list all enum entries.
Definition qgis.h:6223
double qgsRound(double number, int places)
Returns a double number, rounded (as close as possible) to the specified number of places.
Definition qgis.h:6107
bool qgsDoubleNear(double a, double b, double epsilon=4 *std::numeric_limits< double >::epsilon())
Compare two doubles (but allow some difference)
Definition qgis.h:6066
CONSTLATIN1STRING geoProj4()
PROJ4 string that represents a geographic coord sys.
Definition qgis.h:6549
bool qgsNanCompatibleEquals(double a, double b)
Compare two doubles, treating nan values as equal.
Definition qgis.h:6028
QgsSignalBlocker< Object > whileBlocking(Object *object)
Temporarily blocks signals from a QObject while calling a single method from the object.
Definition qgis.h:5970
const double DEFAULT_SEGMENT_EPSILON
Default snapping tolerance for segments.
Definition qgis.h:6602
QMap< QString, QString > QgsStringMap
Definition qgis.h:6604
#define CONSTLATIN1STRING
Definition qgis.h:6502
CONSTLATIN1STRING geoWkt()
Wkt string that represents a geographic coord sys.
Definition qgis.h:6541
bool qgsDoubleNearSig(double a, double b, int significantDigits=10)
Compare two doubles using specified number of significant digits.
Definition qgis.h:6083
const int USER_CRS_START_ID
Magick number that determines whether a projection crsid is a system (srs.db) or user (~/....
Definition qgis.h:6591
bool qgsNumberNear(T a, T b, T epsilon=std::numeric_limits< T >::epsilon() *4)
Compare two numbers of type T (but allow some difference)
Definition qgis.h:6048
const long GEOSRID
Magic number for a geographic coord sys in POSTGIS SRID.
Definition qgis.h:6579
#define QHASH_FOR_CLASS_ENUM(T)
Definition qgis.h:43
bool operator<(const QVariant &v1, const QVariant &v2)
Compares two QVariant values and returns whether the first is less than the second.
Definition qgis.h:6467
CONSTLATIN1STRING geoEpsgCrsAuthId()
Geographic coord sys from EPSG authority.
Definition qgis.h:6555
const long GEOCRS_ID
Magic number for a geographic coord sys in QGIS srs.db tbl_srs.srs_id.
Definition qgis.h:6582
const double DEFAULT_POINT_SIZE
Magic number that determines the default point size for point symbols.
Definition qgis.h:6598
#define SIP_ENUM_BASETYPE(type)
Definition qgis_sip.h:278
#define SIP_SKIP
Definition qgis_sip.h:126
#define SIP_MONKEYPATCH_SCOPEENUM_UNNEST(OUTSIDE_CLASS, FORMERNAME)
Definition qgis_sip.h:271
#define SIP_MONKEYPATCH_FLAGS_UNNEST(OUTSIDE_CLASS, FORMERNAME)
Definition qgis_sip.h:272
#define SIP_MONKEYPATCH_SCOPEENUM
Definition qgis_sip.h:270
#define SIP_MONKEYPATCH_COMPAT_NAME(FORMERNAME)
Definition qgis_sip.h:273
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)
int precision
Utility class for identifying a unique vertex within a geometry.
Definition qgsvertexid.h:30