QGIS API Documentation 3.41.0-Master (652554233d6)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Qgis Class Reference

The Qgis class provides global constants for use throughout the application. More...

#include <qgis.h>

Public Types

enum class  ActionStart : int { Deferred , Immediate }
 Enum to determine when an operation would begin. More...
 
enum class  ActionType : int { Invalid , MapLayerAction , AttributeAction }
 Action types. More...
 
enum class  Aggregate : int {
  Count , CountDistinct , CountMissing , Min ,
  Max , Sum , Mean , Median ,
  StDev , StDevSample , Range , Minority ,
  Majority , FirstQuartile , ThirdQuartile , InterQuartileRange ,
  StringMinimumLength , StringMaximumLength , StringConcatenate , GeometryCollect ,
  ArrayAggregate , StringConcatenateUnique
}
 Available aggregates to calculate. More...
 
enum class  AltitudeBinding : int { Vertex , Centroid }
 Altitude binding. More...
 
enum class  AltitudeClamping : int { Absolute , Relative , Terrain }
 Altitude clamping. More...
 
enum class  AngleUnit : int {
  Degrees , Radians , Gon , MinutesOfArc ,
  SecondsOfArc , Turn , MilliradiansSI , MilNATO ,
  Unknown
}
 Units of angles. More...
 
enum class  AngularDirection : int { Clockwise , CounterClockwise , NoOrientation }
 Angular directions. More...
 
enum class  AnimationState : int { Forward , Reverse , Idle }
 Animation states. More...
 
enum class  AnnotationItemEditOperationResult : int { Success , Invalid , ItemCleared }
 Results from an edit operation on an annotation item. More...
 
enum class  AnnotationItemFlag : int { ScaleDependentBoundingBox = 1 << 0 , SupportsReferenceScale = 1 << 1 , SupportsCallouts = 1 << 2 }
 Flags for annotation items. More...
 
typedef QFlags< AnnotationItemFlagAnnotationItemFlags
 Annotation item flags.
 
enum class  AnnotationItemGuiFlag : int { FlagNoCreationTools = 1 << 0 }
 Flags for controlling how an annotation item behaves in the GUI. More...
 
typedef QFlags< AnnotationItemGuiFlagAnnotationItemGuiFlags
 Annotation item GUI flags.
 
enum class  AnnotationItemNodeType : int { VertexHandle , CalloutHandle }
 Annotation item node types. More...
 
enum class  AnnotationPlacementMode : int { SpatialBounds = 0 , FixedSize , RelativeToMapFrame }
 Annotation item placement modes. More...
 
enum class  ArcGisRestServiceType : int {
  FeatureServer , MapServer , ImageServer , GlobeServer ,
  GPServer , GeocodeServer , Unknown
}
 Available ArcGIS REST service types. More...
 
enum class  AreaUnit : int {
  SquareMeters , SquareKilometers , SquareFeet , SquareYards ,
  SquareMiles , Hectares , Acres , SquareNauticalMiles ,
  SquareDegrees , SquareCentimeters , SquareMillimeters , SquareInches ,
  Unknown
}
 Units of area. More...
 
enum class  AttributeActionType : int {
  Generic , GenericPython , Mac , Windows ,
  Unix , OpenUrl , SubmitUrlEncoded , SubmitUrlMultipart
}
 Attribute action types. More...
 
enum class  AttributeEditorContainerType : int { GroupBox , Tab , Row }
 Attribute editor container types. More...
 
enum class  AttributeEditorType : int {
  Container , Field , Relation , QmlElement ,
  HtmlElement , Action , TextElement , SpacerElement ,
  Invalid
}
 Attribute editor types. More...
 
enum class  AttributeFormLayout : int { AutoGenerated = 0 , DragAndDrop = 1 , UiFile = 2 }
 Available form types for layout of the attribute form editor. More...
 
enum class  AttributeFormPythonInitCodeSource : int { NoSource = 0 , File = 1 , Dialog = 2 , Environment = 3 }
 The Python init code source for attribute forms. More...
 
enum class  AttributeFormSuppression : int { Default = 0 , On = 1 , Off = 2 }
 Available form types for layout of the attribute form editor. More...
 
typedef QFlags< AuthConfigurationStorageCapabilityAuthConfigurationStorageCapabilities
 Authentication configuration storage capabilities.
 
enum class  AuthConfigurationStorageCapability : int {
  ClearStorage = 1 << 0 , ReadConfiguration = 1 << 1 , UpdateConfiguration = 1 << 2 , DeleteConfiguration = 1 << 3 ,
  CreateConfiguration = 1 << 4 , ReadCertificateIdentity = 1 << 5 , UpdateCertificateIdentity = 1 << 6 , DeleteCertificateIdentity = 1 << 7 ,
  CreateCertificateIdentity = 1 << 8 , ReadSslCertificateCustomConfig = 1 << 9 , UpdateSslCertificateCustomConfig = 1 << 10 , DeleteSslCertificateCustomConfig = 1 << 11 ,
  CreateSslCertificateCustomConfig = 1 << 12 , ReadCertificateAuthority = 1 << 13 , UpdateCertificateAuthority = 1 << 14 , DeleteCertificateAuthority = 1 << 15 ,
  CreateCertificateAuthority = 1 << 16 , ReadCertificateTrustPolicy = 1 << 17 , UpdateCertificateTrustPolicy = 1 << 18 , DeleteCertificateTrustPolicy = 1 << 19 ,
  CreateCertificateTrustPolicy = 1 << 20 , ReadMasterPassword = 1 << 21 , UpdateMasterPassword = 1 << 22 , DeleteMasterPassword = 1 << 23 ,
  CreateMasterPassword = 1 << 24 , ReadSetting = 1 << 25 , UpdateSetting = 1 << 26 , DeleteSetting = 1 << 27 ,
  CreateSetting = 1 << 28
}
 Authentication configuration storage capabilities. More...
 
enum class  AutoRefreshMode : int { Disabled = 0 , ReloadData = 1 , RedrawOnly = 2 }
 Map layer automatic refresh modes. More...
 
enum class  AvoidIntersectionsMode : int { AllowIntersections , AvoidIntersectionsCurrentLayer , AvoidIntersectionsLayers }
 Flags which control how intersections of pre-existing feature are handled when digitizing new features. More...
 
enum class  Axis : int { X , Y , Z }
 Cartesian axes. More...
 
enum class  BabelCommandFlag : int { QuoteFilePaths = 1 << 0 }
 Babel command flags, which control how commands and arguments are generated for executing GPSBabel processes. More...
 
typedef QFlags< BabelCommandFlagBabelCommandFlags
 Babel command flags.
 
typedef QFlags< BabelFormatCapabilityBabelFormatCapabilities
 Babel GPS format capabilities.
 
enum class  BabelFormatCapability : int {
  Import = 1 << 0 , Export = 1 << 1 , Waypoints = 1 << 2 , Routes = 1 << 3 ,
  Tracks = 1 << 4
}
 Babel GPS format capabilities. More...
 
enum class  BetweenLineConstraint : int { NoConstraint , Perpendicular , Parallel }
 Between line constraints which can be enabled. More...
 
enum class  BlendMode : int {
  Normal , Lighten , Screen , Dodge ,
  Addition , Darken , Multiply , Burn ,
  Overlay , SoftLight , HardLight , Difference ,
  Subtract , Source , DestinationOver , Clear ,
  Destination , SourceIn , DestinationIn , SourceOut ,
  DestinationOut , SourceAtop , DestinationAtop , Xor
}
 Blending modes defining the available composition modes that can be used when painting. More...
 
enum class  BrowserDirectoryMonitoring : int { Default , NeverMonitor , AlwaysMonitor }
 Browser directory item monitoring switches. More...
 
typedef QFlags< BrowserItemCapabilityBrowserItemCapabilities
 Browser item capabilities.
 
enum class  BrowserItemCapability : int {
  NoCapabilities = 0 , SetCrs = 1 << 0 , Fertile = 1 << 1 , Fast = 1 << 2 ,
  Collapse = 1 << 3 , Rename = 1 << 4 , Delete = 1 << 5 , ItemRepresentsFile = 1 << 6 ,
  RefreshChildrenWhenItemIsRefreshed = 1 << 7 , ReadOnly = 1 << 8
}
 Browser item capabilities. More...
 
enum class  BrowserItemState : int { NotPopulated , Populating , Populated }
 Browser item states. More...
 
enum class  BrowserItemType : int {
  Collection , Directory , Layer , Error ,
  Favorites , Project , Custom , Fields ,
  Field
}
 Browser item types. More...
 
enum class  BrowserLayerType : int {
  NoType , Vector , Raster , Point ,
  Line , Polygon , TableLayer , Database ,
  Table , Plugin , Mesh , VectorTile ,
  PointCloud , TiledScene
}
 Browser item layer types. More...
 
enum class  BufferSide : int { Left = 0 , Right }
 Side of line to buffer. More...
 
enum class  CadConstraintType : int {
  Generic , Angle , Distance , XCoordinate ,
  YCoordinate , ZValue , MValue
}
 Advanced digitizing constraint type. More...
 
enum class  Capitalization : int {
  MixedCase = 0 , AllUppercase = 1 , AllLowercase = 2 , ForceFirstLetterToCapital = 4 ,
  SmallCaps = 5 , TitleCase = 1004 , UpperCamelCase = 1005 , AllSmallCaps = 1006
}
 String capitalization options. More...
 
enum class  CaptureTechnique : int { StraightSegments , CircularString , Streaming , Shape }
 Capture technique. More...
 
enum class  ColorModel : int { Rgb , Cmyk }
 Color model types. More...
 
enum class  ContentStatus : int {
  NotStarted , Running , Finished , Failed ,
  Canceled
}
 Status for fetched or stored content. More...
 
enum class  CoordinateDisplayType : int { MapCrs , MapGeographic , CustomCrs }
 Formats for displaying coordinates. More...
 
enum class  CoordinateOrder : int { Default , XY , YX }
 Order of coordinates. More...
 
enum class  CoordinateTransformationFlag : int { BallparkTransformsAreAppropriate = 1 << 0 , IgnoreImpossibleTransformations = 1 << 1 }
 Flags which adjust the coordinate transformations behave. More...
 
typedef QFlags< CoordinateTransformationFlagCoordinateTransformationFlags
 Coordinate transformation flags.
 
enum class  CoverageValidityResult : int { Invalid = 0 , Valid = 1 , Error = 2 }
 Coverage validity results. More...
 
enum class  CrsAxisDirection : int {
  North , NorthNorthEast , NorthEast , EastNorthEast ,
  East , EastSouthEast , SouthEast , SouthSouthEast ,
  South , SouthSouthWest , SouthWest , WestSouthWest ,
  West , WestNorthWest , NorthWest , NorthNorthWest ,
  GeocentricX , GeocentricY , GeocentricZ , Up ,
  Down , Forward , Aft , Port ,
  Starboard , Clockwise , CounterClockwise , ColumnPositive ,
  ColumnNegative , RowPositive , RowNegative , DisplayRight ,
  DisplayLeft , DisplayUp , DisplayDown , Future ,
  Past , Towards , AwayFrom , Unspecified
}
 Coordinate reference system axis directions. More...
 
enum class  CrsDefinitionFormat : int { Wkt , Proj }
 CRS definition formats. More...
 
enum class  CrsIdentifierType : int { ShortString , MediumString , FullString }
 Available identifier string types for representing coordinate reference systems. More...
 
enum class  CrsType : int {
  Unknown , Geodetic , Geocentric , Geographic2d ,
  Geographic3d , Vertical , Projected , Compound ,
  Temporal , Engineering , Bound , Other ,
  DerivedProjected
}
 Coordinate reference system types. More...
 
enum class  CrsWktVariant : int {
  Wkt1Gdal , Wkt1Esri , Wkt2_2015 , Wkt2_2015Simplified ,
  Wkt2_2019 , Wkt2_2019Simplified , Preferred = Wkt2_2019 , PreferredSimplified = Wkt2_2019Simplified ,
  PreferredGdal = Wkt2_2019
}
 Coordinate reference system WKT formatting variants. More...
 
enum class  DashPatternLineEndingRule : int {
  NoRule , FullDash , HalfDash , FullGap ,
  HalfGap
}
 Dash pattern line ending rules. More...
 
enum class  DashPatternSizeAdjustment : int { ScaleBothDashAndGap , ScaleDashOnly , ScaleGapOnly }
 Dash pattern size adjustment options. More...
 
typedef QFlags< DatabaseProviderConnectionCapability2DatabaseProviderConnectionCapabilities2
 
enum class  DatabaseProviderConnectionCapability2 : int { SetFieldComment = 1 << 0 , SetFieldAlias = 1 << 1 }
 The Capability enum represents the extended operations supported by the connection. More...
 
typedef QFlags< DataItemProviderCapabilityDataItemProviderCapabilities
 Capabilities for data item providers.
 
enum class  DataItemProviderCapability : int {
  NoCapabilities = 0 , Files = 1 , Directories = 1 << 1 , Databases = 1 << 2 ,
  NetworkSources = 1 << 3
}
 Capabilities for data item providers. More...
 
enum class  DataProviderFlag : int { IsBasemapSource = 1 << 1 , FastExtent2D = 1 << 2 , FastExtent3D = 1 << 3 }
 Generic data provider flags. More...
 
typedef QFlags< DataProviderFlagDataProviderFlags
 Data provider flags.
 
enum class  DataProviderReadFlag : int {
  TrustDataSource = 1 << 0 , SkipFeatureCount = 1 << 1 , LoadDefaultStyle = 1 << 2 , SkipGetExtent = 1 << 3 ,
  SkipFullScan = 1 << 4 , ForceReadOnly = 1 << 5 , SkipCredentialsRequest = 1 << 6 , ParallelThreadLoading = 1 << 7
}
 Flags which control data provider construction. More...
 
typedef QFlags< DataProviderReadFlagDataProviderReadFlags
 Flags which control data provider construction.
 
enum class  DataType : int {
  UnknownDataType = 0 , Byte = 1 , Int8 = 14 , UInt16 = 2 ,
  Int16 = 3 , UInt32 = 4 , Int32 = 5 , Float32 = 6 ,
  Float64 = 7 , CInt16 = 8 , CInt32 = 9 , CFloat32 = 10 ,
  CFloat64 = 11 , ARGB32 = 12 , ARGB32_Premultiplied = 13
}
 Raster data types. More...
 
enum class  DateTimeStatistic : int {
  Count = 1 , CountDistinct = 2 , CountMissing = 4 , Min = 8 ,
  Max = 16 , Range = 32 , All = Count | CountDistinct | CountMissing | Min | Max | Range
}
 Available date/time statistics. More...
 
typedef QFlags< DateTimeStatisticDateTimeStatistics
 Statistics to be calculated for date/time values.
 
enum class  DeviceConnectionStatus : int { Disconnected , Connecting , Connected }
 GPS connection status. More...
 
enum class  DistanceUnit : int {
  Meters , Kilometers , Feet , NauticalMiles ,
  Yards , Miles , Degrees , Centimeters ,
  Millimeters , Inches , ChainsInternational , ChainsBritishBenoit1895A ,
  ChainsBritishBenoit1895B , ChainsBritishSears1922Truncated , ChainsBritishSears1922 , ChainsClarkes ,
  ChainsUSSurvey , FeetBritish1865 , FeetBritish1936 , FeetBritishBenoit1895A ,
  FeetBritishBenoit1895B , FeetBritishSears1922Truncated , FeetBritishSears1922 , FeetClarkes ,
  FeetGoldCoast , FeetIndian , FeetIndian1937 , FeetIndian1962 ,
  FeetIndian1975 , FeetUSSurvey , LinksInternational , LinksBritishBenoit1895A ,
  LinksBritishBenoit1895B , LinksBritishSears1922Truncated , LinksBritishSears1922 , LinksClarkes ,
  LinksUSSurvey , YardsBritishBenoit1895A , YardsBritishBenoit1895B , YardsBritishSears1922Truncated ,
  YardsBritishSears1922 , YardsClarkes , YardsIndian , YardsIndian1937 ,
  YardsIndian1962 , YardsIndian1975 , MilesUSSurvey , Fathoms ,
  MetersGermanLegal , Unknown
}
 Units of distance. More...
 
enum class  DistanceUnitType : int { Standard , Geographic , Unknown }
 Types of distance units. More...
 
enum class  DocumentationApi : int { PyQgis , PyQgisSearch , CppQgis , Qt }
 Documentation API. More...
 
enum class  DocumentationBrowser : int { DeveloperToolsPanel , SystemWebBrowser }
 Documentation API browser. More...
 
enum class  DpiMode {
  All = 7 , Off = 0 , QGIS = 1 , UMN = 2 ,
  GeoServer = 4
}
 DpiMode enum. More...
 
enum class  DriveType : int {
  Unknown , Invalid , Removable , Fixed ,
  Remote , CdRom , RamDisk , Cloud
}
 Drive types. More...
 
enum class  ElevationMapCombineMethod : int { HighestElevation , NewerElevation }
 Methods used to select the elevation when two elevation maps are combined. More...
 
enum class  EndCapStyle : int { Round = 1 , Flat , Square }
 End cap styles for buffers. More...
 
enum class  ExpressionType { Qgis , PointCloud , RasterCalculator }
 Expression types. More...
 
enum class  FeatureAvailability : int { NoFeaturesAvailable = 0 , FeaturesAvailable , FeaturesMaybeAvailable }
 Possible return value for QgsFeatureSource::hasFeatures() to determine if a source is empty. More...
 
enum class  FeatureCountState : int { FeatureCountState::Uncounted = -2 , FeatureCountState::UnknownCount = -1 }
 Enumeration of feature count states. More...
 
enum class  FeatureRendererFlag : int { AffectsLabeling = 1 << 0 }
 Flags controlling behavior of vector feature renderers. More...
 
typedef QFlags< FeatureRendererFlagFeatureRendererFlags
 Flags controlling behavior of vector feature renderers.
 
enum class  FeatureRequestFilterType : int { NoFilter , Fid , Expression , Fids }
 Types of feature request filters. More...
 
enum class  FeatureRequestFlag : int {
  NoFlags = 0 , NoGeometry = 1 , SubsetOfAttributes = 2 , ExactIntersect = 4 ,
  IgnoreStaticNodesDuringExpressionCompilation = 8 , EmbeddedSymbols = 16
}
 Flags for controlling feature requests. More...
 
typedef QFlags< FeatureRequestFlagFeatureRequestFlags
 Flags for controlling feature requests.
 
enum class  FeatureSymbologyExport : int { NoSymbology = 0 , PerFeature , PerSymbolLayer }
 Options for exporting features considering their symbology. More...
 
enum class  FieldConfigurationFlag : int { NoFlag = 0 , NotSearchable = 1 << 1 , HideFromWms = 1 << 2 , HideFromWfs = 1 << 3 }
 Configuration flags for fields These flags are meant to be user-configurable and are not describing any information from the data provider. More...
 
typedef QFlags< FieldConfigurationFlagFieldConfigurationFlags
 Configuration flags for fields These flags are meant to be user-configurable and are not describing any information from the data provider.
 
enum class  FieldDomainMergePolicy : int { DefaultValue , Sum , GeometryWeighted }
 Merge policy for field domains. More...
 
enum class  FieldDomainSplitPolicy : int { DefaultValue , Duplicate , GeometryRatio , UnsetField }
 Split policy for field domains. More...
 
enum class  FieldDomainType : int { Coded , Range , Glob }
 Types of field domain. More...
 
enum class  FieldDuplicatePolicy : int { DefaultValue , Duplicate , UnsetField }
 Duplicate policy for fields. More...
 
enum class  FieldMetadataProperty : int { GeometryCrs = 0x1000 , GeometryWkbType = 0x1001 , CustomProperty = 0x100000 }
 Standard field metadata values. More...
 
enum class  FieldOrigin : int {
  Unknown , Provider , Join , Edit ,
  Expression
}
 Field origin. More...
 
enum class  FileFilterType : int {
  Vector = 1 , Raster , Mesh , MeshDataset ,
  PointCloud , VectorTile , TiledScene
}
 Type of file filters. More...
 
enum class  FileOperationFlag : int { IncludeMetadataFile = 1 << 0 , IncludeStyleFile = 1 << 1 }
 File operation flags. More...
 
typedef QFlags< FileOperationFlagFileOperationFlags
 File operation flags.
 
enum class  FilePathType : int { Absolute , Relative }
 File path types. More...
 
enum class  GdalResampleAlgorithm : int {
  RA_NearestNeighbour = 0 , RA_Bilinear = 1 , RA_Cubic = 2 , RA_CubicSpline = 3 ,
  RA_Lanczos = 4 , RA_Average = 5 , RA_Mode = 6 , RA_Max = 8 ,
  RA_Min = 9 , RA_Median = 10 , RA_Q1 = 11 , RA_Q3 = 12
}
 Resampling algorithm to be used (equivalent to GDAL's enum GDALResampleAlg) More...
 
enum class  GeometryOperationResult : int {
  Success = 0 , NothingHappened = 1000 , InvalidBaseGeometry , InvalidInputGeometryType ,
  SelectionIsEmpty , SelectionIsGreaterThanOne , GeometryEngineError , LayerNotEditable ,
  AddPartSelectedGeometryNotFound , AddPartNotMultiGeometry , AddRingNotClosed , AddRingNotValid ,
  AddRingCrossesExistingRings , AddRingNotInExistingFeature , SplitCannotSplitPoint , GeometryTypeHasChanged
}
 Success or failure of a geometry operation. More...
 
enum class  GeometryType : int {
  Point , Line , Polygon , Unknown ,
  Null
}
 The geometry types are used to group Qgis::WkbType in a coarse way. More...
 
enum class  GeometryValidationEngine : int { QgisInternal , Geos }
 Available engines for validating geometries. More...
 
enum class  GeometryValidityFlag : int { AllowSelfTouchingHoles = 1 << 0 }
 Geometry validity check flags. More...
 
typedef QFlags< GeometryValidityFlagGeometryValidityFlags
 Geometry validity flags.
 
enum class  GeosCreationFlag : int { RejectOnInvalidSubGeometry = 1 << 0 , SkipEmptyInteriorRings = 1 << 1 }
 Flags which control geos geometry creation behavior. More...
 
typedef QFlags< GeosCreationFlagGeosCreationFlags
 Geos geometry creation behavior flags.
 
enum class  GnssConstellation {
  Unknown , Gps , Glonass , Galileo ,
  BeiDou , Qzss , Navic , Sbas
}
 GNSS constellation. More...
 
enum class  GpsConnectionType : int { Automatic , Internal , Serial , Gpsd }
 GPS connection types. More...
 
enum class  GpsFeatureType : int { Waypoint , Route , Track }
 GPS feature types. More...
 
enum class  GpsFixStatus : int { NoData , NoFix , Fix2D , Fix3D }
 GPS fix status. More...
 
enum class  GpsInformationComponent : int {
  Location = 1 << 0 , Altitude = 1 << 1 , GroundSpeed = 1 << 2 , Bearing = 1 << 3 ,
  TotalTrackLength = 1 << 4 , TrackDistanceFromStart = 1 << 5 , Pdop = 1 << 6 , Hdop = 1 << 7 ,
  Vdop = 1 << 8 , HorizontalAccuracy = 1 << 9 , VerticalAccuracy = 1 << 10 , HvAccuracy = 1 << 11 ,
  SatellitesUsed = 1 << 12 , Timestamp = 1 << 13 , TrackStartTime = 1 << 14 , TrackEndTime = 1 << 15 ,
  TrackDistanceSinceLastPoint = 1 << 16 , TrackTimeSinceLastPoint = 1 << 17 , GeoidalSeparation = 1 << 18 , EllipsoidAltitude = 1 << 19
}
 GPS information component. More...
 
typedef QFlags< GpsInformationComponentGpsInformationComponents
 GPS information component.
 
enum class  GpsNavigationStatus : int { NotValid , Safe , Caution , Unsafe }
 GPS navigation status. More...
 
enum class  GpsQualityIndicator {
  Unknown = -1 , Invalid , GPS , DGPS ,
  PPS , RTK , FloatRTK , Estimated ,
  Manual , Simulation
}
 GPS signal quality indicator. More...
 
enum class  GradientColorSource : int { SimpleTwoColor , ColorRamp }
 Gradient color sources. More...
 
enum class  GradientSpread : int { Pad , Reflect , Repeat }
 Gradient spread options, which control how gradients are rendered outside of their start and end points. More...
 
enum class  GradientType : int { Linear , Radial , Conical }
 Gradient types. More...
 
enum class  GraduatedMethod : int { Color , Size }
 Methods for modifying symbols by range in a graduated symbol renderer. More...
 
enum class  HistoryProviderBackend : int { LocalProfile = 1 << 0 }
 History provider backends. More...
 
typedef QFlags< HistoryProviderBackendHistoryProviderBackends
 
enum class  HttpMethod : int { Get = 0 , Post = 1 }
 Different methods of HTTP requests. More...
 
enum class  InputControllerType : int { Map2D , Map3D }
 Input controller types. More...
 
enum class  InvalidGeometryCheck : int { NoCheck = 0 , SkipInvalid = 1 , AbortOnInvalid = 2 }
 Methods for handling of features with invalid geometries. More...
 
enum class  JoinStyle : int { Round = 1 , Miter , Bevel }
 Join styles for buffers. More...
 
enum class  LabelingFlag : int {
  UseAllLabels = 1 << 1 , UsePartialCandidates = 1 << 2 , RenderOutlineLabels = 1 << 3 , DrawLabelRectOnly = 1 << 4 ,
  DrawCandidates = 1 << 5 , DrawUnplacedLabels = 1 << 6 , CollectUnplacedLabels = 1 << 7 , DrawLabelMetrics = 1 << 8
}
 Various flags that affect drawing and placement of labels. More...
 
typedef QFlags< LabelingFlagLabelingFlags
 Flags that affect drawing and placement of labels.
 
enum class  LabelLinePlacementFlag : int { OnLine = 1 , AboveLine = 2 , BelowLine = 4 , MapOrientation = 8 }
 Line placement flags, which control how candidates are generated for a linear feature. More...
 
typedef QFlags< LabelLinePlacementFlagLabelLinePlacementFlags
 Line placement flags, which control how candidates are generated for a linear feature.
 
enum class  LabelMultiLineAlignment : int {
  Left = 0 , Center , Right , FollowPlacement ,
  Justify
}
 Text alignment for multi-line labels. More...
 
enum class  LabelOffsetType : int { FromPoint , FromSymbolBounds }
 Behavior modifier for label offset and distance, only applies in some label placement modes. More...
 
enum class  LabelOverlapHandling : int { PreventOverlap , AllowOverlapIfRequired , AllowOverlapAtNoCost }
 Label overlap handling. More...
 
enum class  LabelPlacement : int {
  AroundPoint , OverPoint , Line , Curved ,
  Horizontal , Free , OrderedPositionsAroundPoint , PerimeterCurved ,
  OutsidePolygons
}
 Placement modes which determine how label candidates are generated for a feature. More...
 
enum class  LabelPlacementEngineVersion : int { Version1 , Version2 }
 Labeling placement engine version. More...
 
enum class  LabelPolygonPlacementFlag : int { AllowPlacementOutsideOfPolygon = 1 << 0 , AllowPlacementInsideOfPolygon = 1 << 1 }
 Polygon placement flags, which control how candidates are generated for a polygon feature. More...
 
typedef QFlags< LabelPolygonPlacementFlagLabelPolygonPlacementFlags
 Polygon placement flags, which control how candidates are generated for a polygon feature.
 
enum class  LabelPredefinedPointPosition : int {
  TopLeft , TopSlightlyLeft , TopMiddle , TopSlightlyRight ,
  TopRight , MiddleLeft , MiddleRight , BottomLeft ,
  BottomSlightlyLeft , BottomMiddle , BottomSlightlyRight , BottomRight ,
  OverPoint
}
 Positions for labels when using the Qgis::LabelPlacement::OrderedPositionsAroundPoint placement mode. More...
 
enum class  LabelPrioritization : int { PreferCloser , PreferPositionOrdering }
 Label prioritization. More...
 
enum class  LabelQuadrantPosition : int {
  AboveLeft , Above , AboveRight , Left ,
  Over , Right , BelowLeft , Below ,
  BelowRight
}
 Label quadrant positions. More...
 
enum class  LayerFilter : int {
  RasterLayer = 1 , NoGeometry = 2 , PointLayer = 4 , LineLayer = 8 ,
  PolygonLayer = 16 , HasGeometry = PointLayer | LineLayer | PolygonLayer , VectorLayer = NoGeometry | HasGeometry , PluginLayer = 32 ,
  WritableLayer = 64 , MeshLayer = 128 , VectorTileLayer = 256 , PointCloudLayer = 512 ,
  AnnotationLayer = 1024 , TiledSceneLayer = 2048 , All = RasterLayer | VectorLayer | PluginLayer | MeshLayer | VectorTileLayer | PointCloudLayer | AnnotationLayer | TiledSceneLayer , SpatialLayer = RasterLayer | HasGeometry | PluginLayer | MeshLayer | VectorTileLayer | PointCloudLayer | AnnotationLayer | TiledSceneLayer
}
 Filter for layers. More...
 
typedef QFlags< LayerFilterLayerFilters
 
enum class  LayerTreeFilterFlag : int { SkipVisibilityCheck = 1 << 0 }
 Layer tree filter flags. More...
 
typedef QFlags< LayerTreeFilterFlagLayerTreeFilterFlags
 Layer tree filter flags.
 
enum class  LayerTreeInsertionMethod : int { AboveInsertionPoint , TopOfTree , OptimalInInsertionGroup }
 Layer tree insertion methods. More...
 
enum class  LayerType : int {
  Vector , Raster , Plugin , Mesh ,
  VectorTile , Annotation , PointCloud , Group ,
  TiledScene
}
 Types of layers that can be added to a map. More...
 
enum class  LayoutUnit : int {
  Millimeters , Centimeters , Meters , Inches ,
  Feet , Points , Picas , Pixels
}
 Layout measurement units. More...
 
enum class  LayoutUnitType : int { PaperUnits , ScreenUnits }
 Types of layout units. More...
 
enum class  LegendJsonRenderFlag : int { ShowRuleDetails = 1 << 0 }
 Legend JSON export flags. More...
 
typedef QFlags< LegendJsonRenderFlagLegendJsonRenderFlags
 
enum class  LightSourceType : int { Point , Directional }
 Light source types for 3D scenes. More...
 
enum class  LinearReferencingLabelSource : int { CartesianDistance2D , Z , M }
 Defines what quantity to use for the labels shown in a linear referencing symbol layer. More...
 
enum class  LinearReferencingPlacement : int { IntervalCartesian2D = 1 << 0 , IntervalZ = 1 << 1 , IntervalM = 1 << 2 , Vertex = 1 << 3 }
 Defines how/where the labels should be placed in a linear referencing symbol layer. More...
 
enum class  LineClipMode : int { ClipPainterOnly , ClipToIntersection , NoClipping }
 Line clipping modes. More...
 
enum class  LineExtensionSide : int { BeforeVertex , AfterVertex , NoVertex }
 Designates whether the line extension constraint is currently soft locked with the previous or next vertex of the locked one. More...
 
enum class  LoadStyleFlag : int { IgnoreMissingStyleErrors = 1 << 0 }
 Flags for loading layer styles. More...
 
typedef QFlags< LoadStyleFlagLoadStyleFlags
 Flags for loading layer styles.
 
enum class  MakeValidMethod : int { Linework = 0 , Structure = 1 }
 Algorithms to use when repairing invalid geometries. More...
 
enum class  MapBoxGlStyleSourceType : int {
  Vector , Raster , RasterDem , GeoJson ,
  Image , Video , Unknown
}
 Available MapBox GL style source types. More...
 
enum class  MapCanvasFlag : int { ShowMainAnnotationLayer = 1 << 0 }
 Flags controlling behavior of map canvases. More...
 
typedef QFlags< MapCanvasFlagMapCanvasFlags
 Flags controlling behavior of map canvases.
 
enum class  MapLayerActionFlag : int { EnabledOnlyWhenEditable = 1 << 1 }
 Map layer action flags. More...
 
typedef QFlags< MapLayerActionFlagMapLayerActionFlags
 Map layer action flags.
 
enum class  MapLayerActionTarget : int { Layer = 1 << 0 , SingleFeature = 1 << 1 , MultipleFeatures = 1 << 2 , AllActions = Layer | SingleFeature | MultipleFeatures }
 Map layer action targets. More...
 
typedef QFlags< MapLayerActionTargetMapLayerActionTargets
 Map layer action targets.
 
typedef QFlags< MapLayerPropertyMapLayerProperties
 Map layer properties.
 
enum class  MapLayerProperty : int { UsersCannotToggleEditing = 1 << 0 , IsBasemapLayer = 1 << 1 }
 Generic map layer properties. More...
 
enum class  MapLayerRendererFlag : int { RenderPartialOutputs = 1 << 0 , RenderPartialOutputOverPreviousCachedImage = 1 << 1 , AffectsLabeling = 1 << 2 }
 Flags which control how map layer renderers behave. More...
 
typedef QFlags< MapLayerRendererFlagMapLayerRendererFlags
 Flags which control how map layer renderers behave.
 
enum class  MapRecenteringMode { Always , WhenOutsideVisibleExtent , Never }
 Modes for recentering map canvases. More...
 
enum class  MapSettingsFlag : int {
  Antialiasing = 0x01 , DrawEditingInfo = 0x02 , ForceVectorOutput = 0x04 , UseAdvancedEffects = 0x08 ,
  DrawLabeling = 0x10 , UseRenderingOptimization = 0x20 , DrawSelection = 0x40 , DrawSymbolBounds = 0x80 ,
  RenderMapTile = 0x100 , RenderPartialOutput = 0x200 , RenderPreviewJob = 0x400 , RenderBlocking = 0x800 ,
  LosslessImageRendering = 0x1000 , Render3DMap = 0x2000 , HighQualityImageTransforms = 0x4000 , SkipSymbolRendering = 0x8000 ,
  ForceRasterMasks = 0x10000 , RecordProfile = 0x20000 , AlwaysUseGlobalMasks = 0x40000
}
 Flags which adjust the way maps are rendered. More...
 
typedef QFlags< MapSettingsFlagMapSettingsFlags
 Map settings flags.
 
enum class  MapToolUnit : int { Layer , Pixels , Project }
 Type of unit of tolerance value from settings. More...
 
enum class  MarkerClipMode : int { NoClipping , Shape , CentroidWithin , CompletelyWithin }
 Marker clipping modes. More...
 
enum class  MarkerLinePlacement : int {
  Interval = 1 << 0 , Vertex = 1 << 1 , LastVertex = 1 << 2 , FirstVertex = 1 << 3 ,
  CentralPoint = 1 << 4 , CurvePoint = 1 << 5 , SegmentCenter = 1 << 6 , InnerVertices = 1 << 7
}
 Defines how/where the symbols should be placed on a line. More...
 
typedef QFlags< MarkerLinePlacementMarkerLinePlacements
 
enum class  MarkerShape : int {
  Square , Diamond , Pentagon , Hexagon ,
  Triangle , EquilateralTriangle , Star , Arrow ,
  Circle , Cross , CrossFill , Cross2 ,
  Line , ArrowHead , ArrowHeadFilled , SemiCircle ,
  ThirdCircle , QuarterCircle , QuarterSquare , HalfSquare ,
  DiagonalHalfSquare , RightHalfTriangle , LeftHalfTriangle , Octagon ,
  SquareWithCorners , AsteriskFill , HalfArc , ThirdArc ,
  QuarterArc , ParallelogramRight , ParallelogramLeft , Trapezoid ,
  Shield , DiamondStar , Heart , Decagon ,
  RoundedSquare
}
 Marker shapes. More...
 
enum class  MeshEditingErrorType : int {
  NoError , InvalidFace , TooManyVerticesInFace , FlatFace ,
  UniqueSharedVertex , InvalidVertex , ManifoldFace
}
 Type of error that can occur during mesh frame editing. More...
 
enum class  MeshElevationMode : int { FixedElevationRange = 0 , FromVertices = 1 , FixedRangePerGroup = 2 }
 Mesh layer elevation modes. More...
 
enum class  MeshRangeExtent : int { WholeMesh , FixedCanvas , UpdatedCanvas }
 Describes the extent used to compute mesh ranges (min/max values). More...
 
enum class  MeshRangeLimit : int { NotSet , MinimumMaximum }
 Describes the limits used to compute mesh ranges (min/max values). More...
 
enum  MessageLevel {
  Info = 0 , Warning = 1 , Critical = 2 , Success = 3 ,
  NoLevel = 4
}
 Level for messages This will be used both for message log and message bar in application. More...
 
enum class  MetadataDateType { Created , Published , Revised , Superseded }
 Date types for metadata. More...
 
enum class  MouseHandlesAction : int {
  MoveItem , ResizeUp , ResizeDown , ResizeLeft ,
  ResizeRight , ResizeLeftUp , ResizeRightUp , ResizeLeftDown ,
  ResizeRightDown , SelectItem , NoAction
}
 Action to be performed by the mouse handles. More...
 
enum class  NavigationMode : int { TerrainBased , Walk }
 The navigation mode used by 3D cameras. More...
 
enum class  PictureFormat : int { SVG = 0 , Raster , Unknown }
 Picture formats. More...
 
enum class  PlaybackOperation : int {
  SkipToStart , PreviousFrame , PlayReverse , Pause ,
  PlayForward , NextFrame , SkipToEnd
}
 Media playback operations. More...
 
enum class  PlotAxisSuffixPlacement {
  NoLabels , EveryLabel , FirstLabel , LastLabel ,
  FirstAndLastLabels
}
 Placement options for suffixes in the labels for axis of plots. More...
 
enum class  PlotToolFlag : int { ShowContextMenu = 1 << 0 }
 Flags that control the way the QgsPlotTools operate. More...
 
typedef QFlags< PlotToolFlagPlotToolFlags
 
enum class  Point3DShape : int {
  Cylinder , Sphere , Cone , Cube ,
  Torus , Plane , ExtrudedText , Model ,
  Billboard
}
 3D point shape types. More...
 
enum class  PointCloudAccessType : int { Local , Remote }
 The access type of the data, local is for local files and remote for remote files (over HTTP). More...
 
enum class  PointCloudDrawOrder : int { Default , BottomToTop , TopToBottom }
 Pointcloud rendering order for 2d views. More...
 
enum class  PointCloudSymbol : int { Square , Circle }
 Rendering symbols for point cloud points. More...
 
enum class  PointCloudZoomOutRenderBehavior : int { RenderExtents , RenderOverview , RenderOverviewAndExtents }
 Point cloud zoom out options. More...
 
enum class  PointCountMethod : int { Absolute , DensityBased }
 Methods which define the number of points randomly filling a polygon. More...
 
enum class  PostgresRelKind {
  NotSet , Unknown , OrdinaryTable , Index ,
  Sequence , View , MaterializedView , CompositeType ,
  ToastTable , ForeignTable , PartitionedTable
}
 Postgres database relkind options. More...
 
enum class  ProcessingAlgorithmDocumentationFlag : int { RegeneratesPrimaryKey = 1 << 0 , RegeneratesPrimaryKeyInSomeScenarios = 1 << 1 }
 Flags describing algorithm behavior for documentation purposes. More...
 
typedef QFlags< ProcessingAlgorithmDocumentationFlagProcessingAlgorithmDocumentationFlags
 Flags describing algorithm behavior for documentation purposes.
 
enum class  ProcessingAlgorithmFlag : int {
  HideFromToolbox = 1 << 1 , HideFromModeler = 1 << 2 , SupportsBatch = 1 << 3 , CanCancel = 1 << 4 ,
  RequiresMatchingCrs = 1 << 5 , NoThreading = 1 << 6 , DisplayNameIsLiteral = 1 << 7 , SupportsInPlaceEdits = 1 << 8 ,
  KnownIssues = 1 << 9 , CustomException = 1 << 10 , PruneModelBranchesBasedOnAlgorithmResults = 1 << 11 , SkipGenericModelLogging = 1 << 12 ,
  NotAvailableInStandaloneTool = 1 << 13 , RequiresProject = 1 << 14 , SecurityRisk = 1 << 15 , Deprecated = HideFromToolbox | HideFromModeler
}
 Flags indicating how and when an algorithm operates and should be exposed to users. More...
 
typedef QFlags< ProcessingAlgorithmFlagProcessingAlgorithmFlags
 Flags indicating how and when an algorithm operates and should be exposed to users.
 
enum class  ProcessingDateTimeParameterDataType : int { DateTime , Date , Time }
 Processing date time parameter data types. More...
 
enum class  ProcessingFeatureSourceDefinitionFlag : int { OverrideDefaultGeometryCheck = 1 << 0 , CreateIndividualOutputPerInputFeature = 1 << 1 }
 Flags which control behavior for a Processing feature source. More...
 
typedef QFlags< ProcessingFeatureSourceDefinitionFlagProcessingFeatureSourceDefinitionFlags
 Flags which control behavior for a Processing feature source.
 
enum class  ProcessingFeatureSourceFlag : int { SkipGeometryValidityChecks = 1 << 1 }
 Flags which control how QgsProcessingFeatureSource fetches features. More...
 
typedef QFlags< ProcessingFeatureSourceFlagProcessingFeatureSourceFlags
 Flags which control how QgsProcessingFeatureSource fetches features.
 
enum class  ProcessingFieldParameterDataType : int {
  Any = -1 , Numeric = 0 , String = 1 , DateTime = 2 ,
  Binary = 3 , Boolean = 4
}
 Processing field parameter data types. More...
 
enum class  ProcessingFileParameterBehavior : int { File = 0 , Folder }
 Flags which dictate the behavior of QgsProcessingParameterFile. More...
 
enum class  ProcessingLogLevel : int { DefaultLevel = 0 , Verbose , ModelDebug }
 Logging level for algorithms to use when pushing feedback messages. More...
 
enum class  ProcessingModelChildAlgorithmExecutionStatus : int { NotExecuted , Success , Failed }
 Reflects the status of a child algorithm in a Processing model. More...
 
enum class  ProcessingModelChildParameterSource : int {
  ModelParameter , ChildOutput , StaticValue , Expression ,
  ExpressionText , ModelOutput
}
 Processing model child parameter sources. More...
 
enum class  ProcessingNumberParameterType : int { Integer , Double }
 Processing numeric parameter data types. More...
 
enum class  ProcessingParameterFlag : int { Advanced = 1 << 1 , Hidden = 1 << 2 , Optional = 1 << 3 , IsModelOutput = 1 << 4 }
 Flags which dictate the behavior of Processing parameters. More...
 
typedef QFlags< ProcessingParameterFlagProcessingParameterFlags
 Flags which dictate the behavior of Processing parameters.
 
enum class  ProcessingParameterTypeFlag : int { ExposeToModeler = 1 }
 Flags which dictate the behavior of Processing parameter types. More...
 
typedef QFlags< ProcessingParameterTypeFlagProcessingParameterTypeFlags
 Flags which dictate the behavior of Processing parameter types.
 
enum class  ProcessingPropertyAvailability : int { NotAvailable , Available }
 Property availability, used for QgsProcessingAlgorithm::VectorProperties in order to determine if properties are available or not. More...
 
enum class  ProcessingProviderFlag : int { DeemphasiseSearchResults = 1 << 1 , CompatibleWithVirtualRaster = 1 << 2 }
 Flags indicating how and when an processing provider operates and should be exposed to users. More...
 
typedef QFlags< ProcessingProviderFlagProcessingProviderFlags
 Flags indicating how and when an processing provider operates and should be exposed to users.
 
enum class  ProcessingSourceType : int {
  MapLayer = -2 , VectorAnyGeometry = -1 , VectorPoint = 0 , VectorLine = 1 ,
  VectorPolygon = 2 , Raster = 3 , File = 4 , Vector = 5 ,
  Mesh = 6 , Plugin = 7 , PointCloud = 8 , Annotation = 9 ,
  VectorTile = 10
}
 Processing data source types. More...
 
enum class  ProcessingTinInputLayerType : int { Vertices , StructureLines , BreakLines }
 Defines the type of input layer for a Processing TIN input. More...
 
enum class  ProfileExportType : int { Features3D , Profile2D , DistanceVsElevationTable }
 Types of export for elevation profiles. More...
 
enum class  ProfileGeneratorFlag : int { RespectsMaximumErrorMapUnit = 1 << 0 , RespectsDistanceRange = 1 << 1 , RespectsElevationRange = 1 << 2 }
 Flags that control the way the QgsAbstractProfileGenerator operate. More...
 
typedef QFlags< ProfileGeneratorFlagProfileGeneratorFlags
 
enum class  ProfileSurfaceSymbology : int { Line , FillBelow , FillAbove }
 Surface symbology type for elevation profile plots. More...
 
typedef QFlags< ProjectCapabilityProjectCapabilities
 Flags which control project capabilities.
 
enum class  ProjectCapability : int { ProjectStyles = 1 << 0 }
 Flags which control project capabilities. More...
 
enum class  ProjectFileFormat : int { Qgz , Qgs }
 Flags which control project read behavior. More...
 
enum class  ProjectFlag : int { EvaluateDefaultValuesOnProviderSide = 1 << 0 , TrustStoredLayerStatistics = 1 << 1 , RememberLayerEditStatusBetweenSessions = 1 << 2 , RememberAttributeTableWindowsBetweenSessions = 1 << 3 }
 Flags which control the behavior of QgsProjects. More...
 
typedef QFlags< ProjectFlagProjectFlags
 
enum class  ProjectReadFlag : int {
  DontResolveLayers = 1 << 0 , DontLoadLayouts = 1 << 1 , TrustLayerMetadata = 1 << 2 , DontStoreOriginalStyles = 1 << 3 ,
  DontLoad3DViews = 1 << 4 , DontLoadProjectStyles = 1 << 5 , ForceReadOnlyLayers = 1 << 6 , DontUpgradeAnnotations = 1 << 7
}
 Flags which control project read behavior. More...
 
typedef QFlags< ProjectReadFlagProjectReadFlags
 Project load flags.
 
enum class  PropertyType : int { Invalid , Static , Field , Expression }
 Property types. More...
 
typedef QFlags< ProviderStyleStorageCapabilityProviderStyleStorageCapabilities
 
enum class  ProviderStyleStorageCapability : int { SaveToDatabase = 1 << 1 , LoadFromDatabase = 1 << 2 , DeleteFromDatabase = 1 << 3 }
 The StorageCapability enum represents the style storage operations supported by the provider. More...
 
enum class  PythonEmbeddedMode : int {
  Never = 0 , Ask = 1 , SessionOnly = 2 , Always = 3 ,
  NotForThisSession
}
 Authorisation to run Python Embedded in projects. More...
 
enum class  PythonEmbeddedType : int { Macro = 0 , ExpressionFunction = 1 }
 Type of Python Embedded in projects. More...
 
enum class  RangeLimits : int { IncludeBoth = 0 , IncludeLowerExcludeUpper , ExcludeLowerIncludeUpper , ExcludeBoth }
 Describes how the limits of a range are handled. More...
 
enum class  RasterAttributeTableFieldUsage : int {
  Generic = 0 , PixelCount = 1 , Name = 2 , Min = 3 ,
  Max = 4 , MinMax = 5 , Red = 6 , Green = 7 ,
  Blue = 8 , Alpha = 9 , RedMin = 10 , GreenMin = 11 ,
  BlueMin = 12 , AlphaMin = 13 , RedMax = 14 , GreenMax = 15 ,
  BlueMax = 16 , AlphaMax = 17 , MaxCount
}
 The RasterAttributeTableFieldUsage enum represents the usage of a Raster Attribute Table field. More...
 
enum class  RasterAttributeTableType : int { Thematic = 0 , Athematic = 1 }
 The RasterAttributeTableType enum represents the type of RAT. More...
 
enum class  RasterBandStatistic : int {
  NoStatistic = 0 , Min = 1 , Max = 1 << 1 , Range = 1 << 2 ,
  Sum = 1 << 3 , Mean = 1 << 4 , StdDev = 1 << 5 , SumOfSquares = 1 << 6 ,
  All = Min | Max | Range | Sum | Mean | StdDev | SumOfSquares
}
 Available raster band statistics. More...
 
typedef QFlags< RasterBandStatisticRasterBandStatistics
 Statistics to be calculated for raster bands.
 
enum class  RasterBuildPyramidOption : int { No = 0 , Yes = 1 , CopyExisting = 2 }
 Raster pyramid building options. More...
 
enum class  RasterColorInterpretation : int {
  Undefined = 0 , GrayIndex = 1 , PaletteIndex = 2 , RedBand = 3 ,
  GreenBand = 4 , BlueBand = 5 , AlphaBand = 6 , HueBand = 7 ,
  SaturationBand = 8 , LightnessBand = 9 , CyanBand = 10 , MagentaBand = 11 ,
  YellowBand = 12 , BlackBand = 13 , YCbCr_YBand = 14 , YCbCr_CbBand = 15 ,
  YCbCr_CrBand = 16 , ContinuousPalette = 17 , PanBand = 18 , CoastalBand = 19 ,
  RedEdgeBand = 20 , NIRBand = 21 , SWIRBand = 22 , MWIRBand = 23 ,
  LWIRBand = 24 , TIRBand = 25 , OtherIRBand = 26 , SAR_Ka_Band = 27 ,
  SAR_K_Band = 28 , SAR_Ku_Band = 30 , SAR_X_Band = 31 , SAR_C_Band = 32 ,
  SAR_S_Band = 33 , SAR_L_Band = 34 , SAR_P_Band = 35
}
 Raster color interpretation. More...
 
enum class  RasterDrawingStyle : int {
  Undefined , SingleBandGray , SingleBandPseudoColor , PalettedColor ,
  PalettedSingleBandGray , PalettedSingleBandPseudoColor , PalettedMultiBandColor , MultiBandSingleBandGray ,
  MultiBandSingleBandPseudoColor , MultiBandColor , SingleBandColorData
}
 Raster drawing styles. More...
 
enum class  RasterElevationMode : int { FixedElevationRange = 0 , RepresentsElevationSurface = 1 , FixedRangePerBand = 2 , DynamicRangePerBand = 3 }
 Raster layer elevation modes. More...
 
enum class  RasterExportType : int { Raw = 0 , RenderedImage = 1 }
 Raster file export types. More...
 
enum class  RasterFileWriterResult : int {
  Success = 0 , SourceProviderError = 1 , DestinationProviderError = 2 , CreateDatasourceError = 3 ,
  WriteError = 4 , NoDataConflict = 5 , Canceled = 6
}
 Raster file export results. More...
 
enum class  RasterIdentifyFormat : int {
  Undefined = 0 , Value = 1 , Text = 1 << 1 , Html = 1 << 2 ,
  Feature = 1 << 3
}
 Raster identify formats. More...
 
typedef QFlags< RasterInterfaceCapabilityRasterInterfaceCapabilities
 Raster interface capabilities.
 
enum class  RasterInterfaceCapability : int {
  NoCapabilities = 0 , Size = 1 << 1 , Create = 1 << 2 , Remove = 1 << 3 ,
  BuildPyramids = 1 << 4 , Identify = 1 << 5 , IdentifyValue = 1 << 6 , IdentifyText = 1 << 7 ,
  IdentifyHtml = 1 << 8 , IdentifyFeature = 1 << 9 , Prefetch = 1 << 10
}
 Raster interface capabilities. More...
 
enum class  RasterLayerType : int { GrayOrUndefined , Palette , MultiBand , SingleBandColorData }
 Raster layer types. More...
 
enum class  RasterPipeInterfaceRole : int {
  Unknown = 0 , Provider = 1 , Renderer = 2 , Brightness = 3 ,
  Resampler = 4 , Projector = 5 , Nuller = 6 , HueSaturation = 7
}
 Raster pipe interface roles. More...
 
typedef QFlags< RasterProviderCapabilityRasterProviderCapabilities
 Raster data provider capabilities.
 
enum class  RasterProviderCapability : int {
  NoProviderCapabilities = 0 , ReadLayerMetadata = 1 << 1 , WriteLayerMetadata = 1 << 2 , ProviderHintBenefitsFromResampling = 1 << 3 ,
  ProviderHintCanPerformProviderResampling = 1 << 4 , ReloadData = 1 << 5 , DpiDependentData = 1 << 6 , NativeRasterAttributeTable = 1 << 7 ,
  BuildPyramids = 1 << 8
}
 Raster data provider capabilities. More...
 
enum class  RasterPyramidFormat : int { GeoTiff = 0 , Internal = 1 , Erdas = 2 }
 Raster pyramid formats. More...
 
enum class  RasterRangeAccuracy : int { Exact , Estimated }
 Describes the accuracy used to compute raster ranges (min/max values). More...
 
enum class  RasterRangeExtent : int { WholeRaster , FixedCanvas , UpdatedCanvas }
 Describes the extent used to compute raster ranges (min/max values). More...
 
enum class  RasterRangeLimit : int { NotSet , MinimumMaximum , StdDev , CumulativeCut }
 Describes the limits used to compute raster ranges (min/max values). More...
 
typedef QFlags< RasterRendererCapabilityRasterRendererCapabilities
 Raster renderer capabilities.
 
enum class  RasterRendererCapability : int { UsesMultipleBands = 1 << 0 }
 Raster renderer capabilities. More...
 
enum class  RasterRendererFlag : int { InternalLayerOpacityHandling = 1 << 0 , UseNoDataForOutOfRangePixels = 1 << 1 }
 Flags which control behavior of raster renderers. More...
 
typedef QFlags< RasterRendererFlagRasterRendererFlags
 Flags which control behavior of raster renderers.
 
enum class  RasterResamplingMethod : int {
  Nearest , Bilinear , Cubic , CubicSpline ,
  Lanczos , Average , Mode , Gauss
}
 Resampling method for raster provider-level resampling. More...
 
enum class  RasterResamplingStage : int { ResampleFilter , Provider }
 Stage at which raster resampling occurs. More...
 
enum class  RasterTemporalCapabilityFlag : int { RequestedTimesMustExactlyMatchAllAvailableTemporalRanges = 1 << 0 }
 Flags for raster layer temporal capabilities. More...
 
typedef QFlags< RasterTemporalCapabilityFlagRasterTemporalCapabilityFlags
 Flags for raster layer temporal capabilities.
 
enum class  RasterTemporalMode : int {
  FixedTemporalRange = 0 , TemporalRangeFromDataProvider = 1 , RedrawLayerOnly = 2 , FixedRangePerBand = 3 ,
  RepresentsTemporalValues = 4
}
 Raster layer temporal modes. More...
 
typedef QFlags< RelationshipCapabilityRelationshipCapabilities
 Relationship capabilities.
 
enum class  RelationshipCapability : int { MultipleFieldKeys = 1 << 0 , ForwardPathLabel = 1 << 1 , BackwardPathLabel = 1 << 2 }
 Relationship capabilities. More...
 
enum class  RelationshipCardinality : int { OneToOne , OneToMany , ManyToOne , ManyToMany }
 Relationship cardinality. More...
 
enum class  RelationshipStrength : int { Association , Composition }
 Relationship strength. More...
 
enum class  RelationshipType : int { Normal , Generated }
 Relationship types. More...
 
enum class  RenderContextFlag : int {
  DrawEditingInfo = 0x01 , ForceVectorOutput = 0x02 , UseAdvancedEffects = 0x04 , UseRenderingOptimization = 0x08 ,
  DrawSelection = 0x10 , DrawSymbolBounds = 0x20 , RenderMapTile = 0x40 , Antialiasing = 0x80 ,
  RenderPartialOutput = 0x100 , RenderPreviewJob = 0x200 , RenderBlocking = 0x400 , RenderSymbolPreview = 0x800 ,
  LosslessImageRendering = 0x1000 , ApplyScalingWorkaroundForTextRendering = 0x2000 , Render3DMap = 0x4000 , ApplyClipAfterReprojection = 0x8000 ,
  RenderingSubSymbol = 0x10000 , HighQualityImageTransforms = 0x20000 , SkipSymbolRendering = 0x40000 , RecordProfile = 0x80000 ,
  AlwaysUseGlobalMasks = 0x100000 , DisableSymbolClippingToExtent = 0x200000
}
 Flags which affect rendering operations. More...
 
typedef QFlags< RenderContextFlagRenderContextFlags
 Render context flags.
 
enum class  RendererUsage : int { View , Export , Unknown }
 Usage of the renderer. More...
 
enum class  RenderSubcomponentProperty : int { Generic , ShadowOffset , BlurSize , GlowSpread }
 Rendering subcomponent properties. More...
 
enum class  RenderUnit : int {
  Millimeters , MapUnits , Pixels , Percentage ,
  Points , Inches , Unknown , MetersInMapUnits
}
 Rendering size units. More...
 
enum class  ScaleBarAlignment : int { Left = 0 , Middle , Right }
 Scalebar alignment. More...
 
enum class  ScaleBarDistanceLabelHorizontalPlacement : int { CenteredEdge = 0 , CenteredSegment }
 Scale bar distance label horizontal placement. More...
 
enum class  ScaleBarDistanceLabelVerticalPlacement : int { AboveSegment = 0 , BelowSegment }
 Scale bar distance label vertical placement. More...
 
enum class  ScaleBarSegmentSizeMode : int { Fixed = 0 , FitWidth = 1 }
 Modes for setting size for scale bar segments. More...
 
enum class  ScaleCalculationMethod : int { HorizontalTop = 0 , HorizontalMiddle , HorizontalBottom , HorizontalAverage }
 Scale calculation logic. More...
 
enum class  ScaleMethod : int { ScaleArea , ScaleDiameter }
 Scale methods. More...
 
enum class  ScaleToTileZoomLevelMethod : int { MapBox , Esri }
 Available methods for converting map scales to tile zoom levels. More...
 
enum class  ScriptLanguage : int {
  Css , QgisExpression , Html , JavaScript ,
  Json , Python , R , Sql ,
  Batch , Bash , Unknown
}
 Scripting languages. More...
 
typedef QFlags< ScriptLanguageCapabilityScriptLanguageCapabilities
 Script language capabilities.
 
enum class  ScriptLanguageCapability : int { Reformat = 1 << 0 , CheckSyntax = 1 << 1 , ToggleComment = 1 << 2 }
 Script language capabilities. More...
 
enum class  SegmentCalculationMethod : int { Standard = 0 , Adaptive , AreaError , ConstantDensity }
 brief Method used to calculate the number of segments for circle approximation More...
 
enum class  SelectBehavior : int { SetSelection , AddToSelection , IntersectSelection , RemoveFromSelection }
 Specifies how a selection should be applied. More...
 
enum class  SelectGeometryRelationship : int { Intersect , Within }
 Geometry relationship test to apply for selecting features. More...
 
enum class  SelectionFlag : int { SingleFeatureSelection = 1 << 0 , ToggleSelection = 1 << 1 }
 Flags which control feature selection behavior. More...
 
typedef QFlags< SelectionFlagSelectionFlags
 Flags which control feature selection behavior.
 
enum class  SelectionRenderingMode : int { Default , CustomColor , CustomSymbol }
 Specifies how a selection should be rendered. More...
 
enum class  SensorThingsEntity : int {
  Invalid , Thing , Location , HistoricalLocation ,
  Datastream , Sensor , ObservedProperty , Observation ,
  FeatureOfInterest , MultiDatastream
}
 OGC SensorThings API entity types. More...
 
enum class  SettingsOption : int { SaveFormerValue = 1 << 1 , SaveEnumFlagAsInt = 1 << 2 }
 Settings options. More...
 
typedef QFlags< SettingsOptionSettingsOptions
 
enum class  SettingsOrigin : int { Any , Global , Local }
 The setting origin describes where a setting is stored. More...
 
enum class  SettingsTreeNodeOption : int { NamedListSelectedItemSetting = 1 << 0 }
 Options for named list nodes. More...
 
typedef QFlags< SettingsTreeNodeOptionSettingsTreeNodeOptions
 
enum class  SettingsTreeNodeType { Root , Standard , NamedList }
 Type of tree node. More...
 
enum class  SettingsType : int {
  Custom , Variant , String , StringList ,
  VariantMap , Bool , Integer , Double ,
  EnumFlag , Color
}
 Types of settings entries. More...
 
enum class  ShaderClassificationMethod : int { Continuous = 1 , EqualInterval = 2 , Quantile = 3 }
 Color ramp shader classification methods. More...
 
enum class  ShaderInterpolationMethod : int { Linear = 0 , Discrete = 1 , Exact = 2 }
 Color ramp shader interpolation methods. More...
 
enum class  SldExportOption : int { NoOptions = 0 , Svg = 1 << 0 , Png = 1 << 1 }
 SLD export options. More...
 
typedef QFlags< SldExportOptionSldExportOptions
 
enum class  SldExportVendorExtension : int { NoVendorExtension = 0 , GeoServerVendorExtension = 1 << 1 , DeegreeVendorExtension = 1 << 2 }
 SLD export vendor extensions, allow the use of vendor extensions when exporting to SLD. More...
 
enum class  SnappingMode : int { ActiveLayer = 1 , AllLayers = 2 , AdvancedConfiguration = 3 }
 SnappingMode defines on which layer the snapping is performed. More...
 
enum class  SnappingType : int {
  NoSnap = 0 , Vertex = 1 << 0 , Segment = 1 << 1 , Area = 1 << 2 ,
  Centroid = 1 << 3 , MiddleOfSegment = 1 << 4 , LineEndpoint = 1 << 5
}
 SnappingTypeFlag defines on what object the snapping is performed. More...
 
typedef QFlags< SnappingTypeSnappingTypes
 Snapping types.
 
enum class  SpatialFilterType : int { NoFilter , BoundingBox , DistanceWithin }
 Feature request spatial filter types. More...
 
enum class  SpatialIndexPresence : int { Unknown = 0 , NotPresent = 1 , Present = 2 }
 Enumeration of spatial index presence states. More...
 
enum class  SqlKeywordCategory : int {
  Keyword , Constant , Function , Geospatial ,
  Operator , Math , Aggregate , String ,
  Identifier
}
 SqlKeywordCategory enum represents the categories of the SQL keywords used by the SQL query editor. More...
 
typedef QFlags< SqlLayerDefinitionCapabilitySqlLayerDefinitionCapabilities
 SQL layer definition capabilities.
 
enum class  SqlLayerDefinitionCapability : int { SubsetStringFilter = 1 << 1 , GeometryColumn = 1 << 2 , PrimaryKeys = 1 << 3 , UnstableFeatureIds = 1 << 4 }
 SqlLayerDefinitionCapability enum lists the arguments supported by the provider when creating SQL query layers. More...
 
enum class  Statistic : int {
  Count = 1 << 0 , CountMissing = 1 << 15 , Sum = 1 << 1 , Mean = 1 << 2 ,
  Median = 1 << 3 , StDev = 1 << 4 , StDevSample = 1 << 5 , Min = 1 << 6 ,
  Max = 1 << 7 , Range = 1 << 8 , Minority = 1 << 9 , Majority = 1 << 10 ,
  Variety = 1 << 11 , FirstQuartile = 1 << 12 , ThirdQuartile = 1 << 13 , InterQuartileRange = 1 << 14 ,
  First = 1 << 16 , Last = 1 << 17 , All = Count | CountMissing | Sum | Mean | Median | StDev | Max | Min | Range | Minority | Majority | Variety | FirstQuartile | ThirdQuartile | InterQuartileRange | First | Last
}
 Available generic statistics. More...
 
typedef QFlags< StatisticStatistics
 Statistics to be calculated for generic values.
 
enum class  StringStatistic : int {
  Count = 1 , CountDistinct = 2 , CountMissing = 4 , Min = 8 ,
  Max = 16 , MinimumLength = 32 , MaximumLength = 64 , MeanLength = 128 ,
  Minority = 256 , Majority = 512 , All = Count | CountDistinct | CountMissing | Min | Max | MinimumLength | MaximumLength | MeanLength | Minority | Majority
}
 Available string statistics. More...
 
typedef QFlags< StringStatisticStringStatistics
 Statistics to be calculated for string values.
 
enum class  SublayerFlag : int { SystemTable = 1 << 0 }
 Flags which reflect the properties of sublayers in a dataset. More...
 
typedef QFlags< SublayerFlagSublayerFlags
 Sublayer flags.
 
enum class  SublayerPromptMode : int { AlwaysAsk , AskExcludingRasterBands , NeverAskSkip , NeverAskLoadAll }
 Specifies how to handle layer sources with multiple sublayers. More...
 
enum class  SublayerQueryFlag : int { FastScan = 1 << 0 , ResolveGeometryType = 1 << 1 , CountFeatures = 1 << 2 , IncludeSystemTables = 1 << 3 }
 Flags which control how data providers will scan for sublayers in a dataset. More...
 
typedef QFlags< SublayerQueryFlagSublayerQueryFlags
 Sublayer query flags.
 
enum class  SymbolCoordinateReference : int { Feature , Viewport }
 Symbol coordinate reference modes. More...
 
enum class  SymbolFlag : int { RendererShouldUseSymbolLevels = 1 << 0 , AffectsLabeling = 1 << 1 }
 Flags controlling behavior of symbols. More...
 
typedef QFlags< SymbolFlagSymbolFlags
 Symbol flags.
 
enum class  SymbolLayerFlag : int { DisableFeatureClipping = 1 << 0 , CanCalculateMaskGeometryPerFeature = 1 << 1 , AffectsLabeling = 1 << 2 }
 Flags controlling behavior of symbol layers. More...
 
typedef QFlags< SymbolLayerFlagSymbolLayerFlags
 Symbol layer flags.
 
enum class  SymbolLayerUserFlag : int { DisableSelectionRecoloring = 1 << 0 }
 User-specified flags controlling behavior of symbol layers. More...
 
typedef QFlags< SymbolLayerUserFlagSymbolLayerUserFlags
 Symbol layer user flags.
 
enum class  SymbolPreviewFlag : int { FlagIncludeCrosshairsForMarkerSymbols = 1 << 0 }
 Flags for controlling how symbol preview images are generated. More...
 
typedef QFlags< SymbolPreviewFlagSymbolPreviewFlags
 Symbol preview flags.
 
enum class  SymbolRenderHint : int { DynamicRotation = 1 << 1 , IsSymbolLayerSubSymbol = 1 << 2 , ForceVectorRendering = 1 << 3 , ExcludeSymbolBuffers = 1 << 4 }
 Flags controlling behavior of symbols during rendering. More...
 
typedef QFlags< SymbolRenderHintSymbolRenderHints
 Symbol render hints.
 
enum class  SymbolRotationMode : int { RespectMapRotation , IgnoreMapRotation }
 Modes for handling how symbol and text entity rotation is handled when maps are rotated. More...
 
enum class  SymbolType : int { Marker , Line , Fill , Hybrid }
 Symbol types. More...
 
enum class  SystemOfMeasurement : int { Unknown = 0 , Metric , Imperial , USCS }
 Systems of unit measurement. More...
 
enum class  TemporalIntervalMatchMethod : int {
  MatchUsingWholeRange , MatchExactUsingStartOfRange , MatchExactUsingEndOfRange , FindClosestMatchToStartOfRange ,
  FindClosestMatchToEndOfRange
}
 Method to use when resolving a temporal range to a data provider layer or band. More...
 
enum class  TemporalNavigationMode : int { Disabled , Animated , FixedRange , Movie }
 Temporal navigation modes. More...
 
enum class  TemporalUnit : int {
  Milliseconds , Seconds , Minutes , Hours ,
  Days , Weeks , Months , Years ,
  Decades , Centuries , IrregularStep , Unknown
}
 Temporal units. More...
 
enum class  TextCharacterVerticalAlignment : int { Normal , SuperScript , SubScript }
 Text vertical alignment for characters. More...
 
enum class  TextComponent : int { Text = 1 << 0 , Buffer = 1 << 1 , Background = 1 << 2 , Shadow = 1 << 3 }
 Text components. More...
 
typedef QFlags< TextComponentTextComponents
 Text components.
 
enum class  TextHorizontalAlignment : int { Left , Center , Right , Justify }
 Text horizontal alignment. More...
 
enum class  TextLayoutMode : int {
  Rectangle , Point , Labeling , RectangleCapHeightBased ,
  RectangleAscentBased
}
 Text layout modes. More...
 
enum class  TextOrientation : int { Horizontal , Vertical , RotationBased }
 Text orientations. More...
 
enum class  TextRendererFlag : int { WrapLines = 1 << 0 }
 Flags which control the behavior of rendering text. More...
 
typedef QFlags< TextRendererFlagTextRendererFlags
 
enum class  TextRenderFormat : int { AlwaysOutlines , AlwaysText , PreferText }
 Options for rendering text. More...
 
enum class  TextVerticalAlignment : int { Top , VerticalCenter , Bottom }
 Text vertical alignment. More...
 
enum class  TileAvailability { Available , NotAvailable , AvailableNoChildren , UseLowerZoomLevelTile }
 Possible availability states for a tile within a tile matrix. More...
 
enum class  TileChildrenAvailability { NoChildren , Available , NeedFetching }
 Possible availability states for a tile's children. More...
 
enum class  TiledSceneBoundingVolumeType { Region , OrientedBox , Sphere }
 Tiled scene bounding volume types. More...
 
typedef QFlags< TiledSceneProviderCapabilityTiledSceneProviderCapabilities
 Tiled scene data provider capabilities.
 
enum class  TiledSceneProviderCapability : int { ReadLayerMetadata = 1 << 1 }
 Tiled scene data provider capabilities. More...
 
enum class  TiledSceneRendererFlag : int { RequiresTextures = 1 << 0 , ForceRasterRender = 1 << 1 , RendersTriangles = 1 << 2 , RendersLines = 1 << 3 }
 Flags which control how tiled scene 2D renderers behave. More...
 
typedef QFlags< TiledSceneRendererFlagTiledSceneRendererFlags
 Flags which control how tiled scene 2D renderers behave.
 
enum class  TiledSceneRequestFlag : int { NoHierarchyFetch = 1 << 0 }
 Flags which control how tiled scene requests behave. More...
 
typedef QFlags< TiledSceneRequestFlagTiledSceneRequestFlags
 Flags which control how tiled scene requests behave.
 
enum class  TilePixelRatio { Undefined = 0 , StandardDpi = 1 , HighDpi = 2 }
 DpiMode enum. More...
 
enum class  TileRefinementProcess { Replacement , Additive }
 Tiled scene tile refinement processes. More...
 
enum class  TransactionMode : int { Disabled = 0 , AutomaticGroups = 1 , BufferedGroups = 2 }
 Transaction mode. More...
 
enum class  TransformDirection : int { Forward , Reverse }
 Indicates the direction (forward or inverse) of a transform. More...
 
enum class  UnitType : int {
  Distance = 0 , Area , Volume , Unknown ,
  Temporal
}
 Unit types. More...
 
enum class  UnplacedLabelVisibility : int { FollowEngineSetting , NeverShow }
 Unplaced label visibility. More...
 
enum class  UpsideDownLabelHandling : int { FlipUpsideDownLabels , AllowUpsideDownWhenRotationIsDefined , AlwaysAllowUpsideDown }
 Handling techniques for upside down labels. More...
 
enum class  UriCleaningFlag : int { RemoveCredentials = 1 << 0 , RedactCredentials = 1 << 1 }
 Flags for cleaning layer URIs. More...
 
typedef QFlags< UriCleaningFlagUriCleaningFlags
 Flags for cleaning layer URIs.
 
enum class  UserProfileSelectionPolicy : int { LastProfile , DefaultProfile , AskUser }
 User profile selection policy. More...
 
typedef QFlags< VectorDataProviderAttributeEditCapabilityVectorDataProviderAttributeEditCapabilities
 Attribute editing capabilities which may be supported by vector data providers.
 
enum class  VectorDataProviderAttributeEditCapability : int { EditAlias = 1 << 0 , EditComment = 1 << 1 }
 Attribute editing capabilities which may be supported by vector data providers. More...
 
enum class  VectorDataProviderTemporalMode : int { HasFixedTemporalRange = 0 , StoresFeatureDateTimeInstantInField , StoresFeatureDateTimeStartAndEndInSeparateFields }
 Vector data provider temporal handling modes. More...
 
enum class  VectorEditResult : int {
  Success = 0 , EmptyGeometry = 1 , EditFailed = 2 , FetchFeatureFailed = 3 ,
  InvalidLayer = 4
}
 Specifies the result of a vector layer edit operation. More...
 
enum class  VectorExportResult : int {
  Success = 0 , ErrorCreatingDataSource , ErrorCreatingLayer , ErrorAttributeTypeUnsupported ,
  ErrorAttributeCreationFailed , ErrorProjectingFeatures , ErrorFeatureWriteFailed , ErrorInvalidLayer ,
  ErrorInvalidProvider , ErrorProviderUnsupportedFeature , ErrorConnectionFailed , UserCanceled
}
 Vector layer export result codes. More...
 
typedef QFlags< VectorFileWriterCapabilityVectorFileWriterCapabilities
 Capabilities supported by a QgsVectorFileWriter object.
 
enum class  VectorFileWriterCapability : int { FieldAliases = 1 << 0 , FieldComments = 1 << 2 }
 Capabilities supported by a QgsVectorFileWriter object. More...
 
enum class  VectorLayerTypeFlag : int { SqlQuery = 1 << 0 }
 Vector layer type flags. More...
 
typedef QFlags< VectorLayerTypeFlagVectorLayerTypeFlags
 Vector layer type flags.
 
enum class  VectorProfileType : int { IndividualFeatures , ContinuousSurface }
 Types of elevation profiles to generate for vector sources. More...
 
typedef QFlags< VectorProviderCapabilityVectorProviderCapabilities
 Vector data provider capabilities.
 
enum class  VectorProviderCapability : int {
  NoCapabilities = 0 , AddFeatures = 1 , DeleteFeatures = 1 << 1 , ChangeAttributeValues = 1 << 2 ,
  AddAttributes = 1 << 3 , DeleteAttributes = 1 << 4 , CreateSpatialIndex = 1 << 6 , SelectAtId = 1 << 7 ,
  ChangeGeometries = 1 << 8 , SelectEncoding = 1 << 13 , CreateAttributeIndex = 1 << 12 , SimplifyGeometries = 1 << 14 ,
  SimplifyGeometriesWithTopologicalValidation = 1 << 15 , TransactionSupport = 1 << 16 , CircularGeometries = 1 << 17 , ChangeFeatures = 1 << 18 ,
  RenameAttributes = 1 << 19 , FastTruncate = 1 << 20 , ReadLayerMetadata = 1 << 21 , WriteLayerMetadata = 1 << 22 ,
  CancelSupport = 1 << 23 , CreateRenderer = 1 << 24 , CreateLabeling = 1 << 25 , ReloadData = 1 << 26 ,
  FeatureSymbology = 1 << 27 , EditingCapabilities = AddFeatures | DeleteFeatures | ChangeAttributeValues | ChangeGeometries | AddAttributes | DeleteAttributes | RenameAttributes
}
 Vector data provider capabilities. More...
 
enum class  VectorRenderingSimplificationFlag : int { NoSimplification = 0 , GeometrySimplification = 1 , AntialiasingSimplification = 2 , FullSimplification = 3 }
 Simplification flags for vector feature rendering. More...
 
typedef QFlags< VectorRenderingSimplificationFlagVectorRenderingSimplificationFlags
 Simplification flags for vector feature rendering.
 
enum class  VectorSimplificationAlgorithm : int { Distance = 0 , SnapToGrid = 1 , Visvalingam = 2 , SnappedToGridGlobal = 3 }
 Simplification algorithms for vector features. More...
 
enum class  VectorTemporalLimitMode : int { IncludeBeginExcludeEnd = 0 , IncludeBeginIncludeEnd }
 Mode for the handling of the limits of the filtering timeframe for vector features. More...
 
enum class  VectorTemporalMode : int {
  FixedTemporalRange = 0 , FeatureDateTimeInstantFromField , FeatureDateTimeStartAndEndFromFields , FeatureDateTimeStartAndDurationFromFields ,
  FeatureDateTimeStartAndEndFromExpressions , RedrawLayerOnly
}
 Vector layer temporal feature modes. More...
 
typedef QFlags< VectorTileProviderCapabilityVectorTileProviderCapabilities
 Vector tile data provider capabilities.
 
enum class  VectorTileProviderCapability : int { ReadLayerMetadata = 1 << 1 }
 Enumeration with capabilities that vector tile data providers might implement. More...
 
enum class  VectorTileProviderFlag : int { AlwaysUseTileMatrixSetFromProvider = 1 << 1 }
 Flags for vector tile data providers. More...
 
typedef QFlags< VectorTileProviderFlagVectorTileProviderFlags
 Vector tile data provider flags.
 
enum class  VertexMarkerType : int { SemiTransparentCircle , Cross , NoMarker }
 Editing vertex markers, used for showing vertices during a edit operation. More...
 
enum class  VertexType : int { Segment = 1 , Curve = 2 }
 Types of vertex. More...
 
enum class  VerticalAxisInversion : int { Never , WhenDragging , Always }
 Vertical axis inversion options for 3D views. More...
 
enum class  ViewSyncModeFlag : int { Sync3DTo2D = 1 << 0 , Sync2DTo3D = 1 << 1 }
 Synchronization of 2D map canvas and 3D view. More...
 
typedef QFlags< ViewSyncModeFlagViewSyncModeFlags
 
enum class  VolumeUnit : int {
  CubicMeters , CubicFeet , CubicYards , Barrel ,
  CubicDecimeter , Liters , GallonUS , CubicInch ,
  CubicCentimeter , CubicDegrees , Unknown
}
 Units of volume. More...
 
enum class  VsiHandlerType : int {
  Invalid , Archive , Network , Cloud ,
  Memory , Other
}
 GDAL VSI handler types. More...
 
enum class  WkbType : quint32 {
  Unknown = 0 , Point = 1 , LineString = 2 , Polygon = 3 ,
  Triangle = 17 , MultiPoint = 4 , MultiLineString = 5 , MultiPolygon = 6 ,
  GeometryCollection = 7 , CircularString = 8 , CompoundCurve = 9 , CurvePolygon = 10 ,
  MultiCurve = 11 , MultiSurface = 12 , PolyhedralSurface = 15 , TIN = 16 ,
  NoGeometry = 100 , PointZ = 1001 , LineStringZ = 1002 , PolygonZ = 1003 ,
  TriangleZ = 1017 , MultiPointZ = 1004 , MultiLineStringZ = 1005 , MultiPolygonZ = 1006 ,
  GeometryCollectionZ = 1007 , CircularStringZ = 1008 , CompoundCurveZ = 1009 , CurvePolygonZ = 1010 ,
  MultiCurveZ = 1011 , MultiSurfaceZ = 1012 , PolyhedralSurfaceZ = 1015 , TINZ = 1016 ,
  PointM = 2001 , LineStringM = 2002 , PolygonM = 2003 , TriangleM = 2017 ,
  MultiPointM = 2004 , MultiLineStringM = 2005 , MultiPolygonM = 2006 , GeometryCollectionM = 2007 ,
  CircularStringM = 2008 , CompoundCurveM = 2009 , CurvePolygonM = 2010 , MultiCurveM = 2011 ,
  MultiSurfaceM = 2012 , PolyhedralSurfaceM = 2015 , TINM = 2016 , PointZM = 3001 ,
  LineStringZM = 3002 , PolygonZM = 3003 , MultiPointZM = 3004 , MultiLineStringZM = 3005 ,
  MultiPolygonZM = 3006 , GeometryCollectionZM = 3007 , CircularStringZM = 3008 , CompoundCurveZM = 3009 ,
  CurvePolygonZM = 3010 , MultiCurveZM = 3011 , MultiSurfaceZM = 3012 , PolyhedralSurfaceZM = 3015 ,
  TINZM = 3016 , TriangleZM = 3017 , Point25D = 0x80000001 , LineString25D ,
  Polygon25D , MultiPoint25D , MultiLineString25D , MultiPolygon25D
}
 The WKB type describes the number of dimensions a geometry has. More...
 
enum class  ZonalStatistic : int {
  Count = 1 << 0 , Sum = 1 << 1 , Mean = 1 << 2 , Median = 1 << 3 ,
  StDev = 1 << 4 , Min = 1 << 5 , Max = 1 << 6 , Range = 1 << 7 ,
  Minority = 1 << 8 , Majority = 1 << 9 , Variety = 1 << 10 , Variance = 1 << 11 ,
  MinimumPoint = 1 << 12 , MaximumPoint = 1 << 13 , All = Count | Sum | Mean | Median | StDev | Max | Min | Range | Minority | Majority | Variety | Variance , AllNumeric = Count | Sum | Mean | Median | StDev | Max | Min | Range | Minority | Majority | Variety | Variance ,
  Default = Count | Sum | Mean
}
 Statistics to be calculated during a zonal statistics operation. More...
 
enum class  ZonalStatisticResult : int {
  Success = 0 , LayerTypeWrong = 1 , LayerInvalid , RasterInvalid ,
  RasterBandInvalid , FailedToCreateField = 8 , Canceled = 9
}
 Zonal statistics result codes. More...
 
typedef QFlags< ZonalStatisticZonalStatistics
 Statistics to be calculated during a zonal statistics operation.
 

Public Member Functions

 Q_ENUM (GnssConstellation)
 
 Q_ENUM (GpsFixStatus)
 
 Q_ENUM (GpsNavigationStatus)
 
 Q_ENUM (InputControllerType)
 
 Q_ENUM (ProcessingAlgorithmFlag)
 
 Q_ENUM (ProcessingProviderFlag)
 
 Q_ENUM (ProfileExportType)
 
 Q_ENUM (ProfileSurfaceSymbology)
 
 Q_ENUM (ProviderStyleStorageCapability)
 
 Q_ENUM (ScaleToTileZoomLevelMethod)
 
 Q_ENUM (VectorProfileType)
 

Static Public Member Functions

static QString defaultProjectScales ()
 A string with default project scales.
 
static QString devVersion ()
 The development version.
 
static QString geosVersion ()
 GEOS string version linked.
 
static int geosVersionInt ()
 GEOS version number linked.
 
static int geosVersionMajor ()
 GEOS Major version number linked.
 
static int geosVersionMinor ()
 GEOS Minor version number linked.
 
static int geosVersionPatch ()
 GEOS Patch version number linked.
 
static QString releaseName ()
 Release name.
 
static QString version ()
 Version string.
 
static int versionInt ()
 Version number used for comparing versions using the "Check QGIS Version" function.
 

Static Public Attributes

static const double DEFAULT_HIGHLIGHT_BUFFER_MM = 0.5
 Default highlight buffer in mm.
 
static const QColor DEFAULT_HIGHLIGHT_COLOR = QColor( 255, 0, 0, 128 )
 Default highlight color.
 
static const double DEFAULT_HIGHLIGHT_MIN_WIDTH_MM = 1.0
 Default highlight line/stroke minimum width in mm.
 
static const double DEFAULT_M_COORDINATE = 0.0
 Default M coordinate value.
 
static const float DEFAULT_MAPTOPIXEL_THRESHOLD = 1.0f
 Default threshold between map coordinates and device coordinates for map2pixel simplification.
 
static const double DEFAULT_SEARCH_RADIUS_MM = 2.
 Identify search radius in mm.
 
static const double DEFAULT_SNAP_TOLERANCE = 12.0
 Default snapping distance tolerance.
 
static const Qgis::MapToolUnit DEFAULT_SNAP_UNITS = Qgis::MapToolUnit::Pixels
 Default snapping distance units.
 
static const double DEFAULT_Z_COORDINATE = 0.0
 Default Z coordinate value.
 
static const char * QGIS_DEV_VERSION = QGSVERSION
 The development version.
 
static Q_DECL_DEPRECATED const double SCALE_PRECISION = 0.9999999999
 Fudge factor used to compare two scales.
 
static const double UI_SCALE_FACTOR = 1
 UI scaling factor.
 

Detailed Description

The Qgis class provides global constants for use throughout the application.

Definition at line 53 of file qgis.h.

Member Typedef Documentation

◆ AnnotationItemFlags

Annotation item flags.

Definition at line 2385 of file qgis.h.

◆ AnnotationItemGuiFlags

Annotation item GUI flags.

Definition at line 2412 of file qgis.h.

◆ AuthConfigurationStorageCapabilities

Authentication configuration storage capabilities.

Since
QGIS 3.40

Definition at line 145 of file qgis.h.

◆ BabelCommandFlags

Babel command flags.

Definition at line 1947 of file qgis.h.

◆ BabelFormatCapabilities

Babel GPS format capabilities.

Definition at line 1932 of file qgis.h.

◆ BrowserItemCapabilities

Browser item capabilities.

Definition at line 899 of file qgis.h.

◆ CoordinateTransformationFlags

Coordinate transformation flags.

Since
QGIS 3.26

Definition at line 2608 of file qgis.h.

◆ DatabaseProviderConnectionCapabilities2

Definition at line 5106 of file qgis.h.

◆ DataItemProviderCapabilities

Capabilities for data item providers.

Note
Prior to QGIS 3.36 this was available as QgsDataProvider::DataCapabilities
Since
QGIS 3.36

Definition at line 926 of file qgis.h.

◆ DataProviderFlags

Data provider flags.

Definition at line 2230 of file qgis.h.

◆ DataProviderReadFlags

Flags which control data provider construction.

Note
Prior to QGIS 3.40 this was available as QgsDataProvider::ReadFlags
Since
QGIS 3.40

Definition at line 450 of file qgis.h.

◆ DateTimeStatistics

Statistics to be calculated for date/time values.

Since
QGIS 3.36. Prior to 3.36 this was available as QgsDateTimeStatisticalSummary::Statistic.

Definition at line 5582 of file qgis.h.

◆ FeatureRendererFlags

Flags controlling behavior of vector feature renderers.

Since
QGIS 3.40

Definition at line 772 of file qgis.h.

◆ FeatureRequestFlags

Flags for controlling feature requests.

Note
Prior to QGIS 3.36 this was available as QgsFeatureRequest::Flags
Since
QGIS 3.36

Definition at line 2128 of file qgis.h.

◆ FieldConfigurationFlags

Configuration flags for fields These flags are meant to be user-configurable and are not describing any information from the data provider.

Note
FieldConfigurationFlag are expressed in the negative forms so that default flags is NoFlag.
Since
QGIS 3.34

Definition at line 1666 of file qgis.h.

◆ FileOperationFlags

File operation flags.

Definition at line 2186 of file qgis.h.

◆ GeometryValidityFlags

Geometry validity flags.

Definition at line 2005 of file qgis.h.

◆ GeosCreationFlags

Geos geometry creation behavior flags.

Since
QGIS 3.40

Definition at line 2075 of file qgis.h.

◆ GpsInformationComponents

GPS information component.

Since
QGIS 3.30

Definition at line 1914 of file qgis.h.

◆ HistoryProviderBackends

Definition at line 3342 of file qgis.h.

◆ LabelingFlags

typedef QFlags< LabelingFlag > Qgis::LabelingFlags

Flags that affect drawing and placement of labels.

Prior to QGIS 3.30 this was available as QgsLabelingEngineSettings::Flags

Since
QGIS 3.30

Definition at line 2742 of file qgis.h.

◆ LabelLinePlacementFlags

Line placement flags, which control how candidates are generated for a linear feature.

Note
Prior to QGIS 3.32 this was available as QgsLabeling::LinePlacementFlags
Since
QGIS 3.32

Definition at line 1221 of file qgis.h.

◆ LabelPolygonPlacementFlags

Polygon placement flags, which control how candidates are generated for a polygon feature.

Note
Prior to QGIS 3.32 this was available as QgsLabeling::PolygonPlacementFlags
Since
QGIS 3.32

Definition at line 1243 of file qgis.h.

◆ LayerFilters

typedef QFlags< LayerFilter > Qgis::LayerFilters

Definition at line 206 of file qgis.h.

◆ LayerTreeFilterFlags

Layer tree filter flags.

Since
QGIS 3.32

Definition at line 4331 of file qgis.h.

◆ LegendJsonRenderFlags

Definition at line 4347 of file qgis.h.

◆ LoadStyleFlags

Flags for loading layer styles.

Since
QGIS 3.38

Definition at line 225 of file qgis.h.

◆ MapCanvasFlags

Flags controlling behavior of map canvases.

Since
QGIS 3.40

Definition at line 3302 of file qgis.h.

◆ MapLayerActionFlags

Map layer action flags.

Prior to QGIS 3.30 this was available as QgsMapLayerAction::Flags

Since
QGIS 3.30

Definition at line 4411 of file qgis.h.

◆ MapLayerActionTargets

Map layer action targets.

Prior to QGIS 3.30 this was available as QgsMapLayerAction::Targets

Since
QGIS 3.30

Definition at line 4388 of file qgis.h.

◆ MapLayerProperties

Map layer properties.

Definition at line 2201 of file qgis.h.

◆ MapLayerRendererFlags

Flags which control how map layer renderers behave.

Since
QGIS 3.34

Definition at line 2696 of file qgis.h.

◆ MapSettingsFlags

Map settings flags.

Definition at line 2639 of file qgis.h.

◆ MarkerLinePlacements

Definition at line 3000 of file qgis.h.

◆ PlotToolFlags

typedef QFlags< PlotToolFlag > Qgis::PlotToolFlags

Definition at line 3912 of file qgis.h.

◆ ProcessingAlgorithmDocumentationFlags

Flags describing algorithm behavior for documentation purposes.

Since
QGIS 3.40

Definition at line 3450 of file qgis.h.

◆ ProcessingAlgorithmFlags

Flags indicating how and when an algorithm operates and should be exposed to users.

Note
Prior to QGIS 3.36 this was available as QgsProcessingAlgorithm::Flags
Since
QGIS 3.36

Definition at line 3430 of file qgis.h.

◆ ProcessingFeatureSourceDefinitionFlags

Flags which control behavior for a Processing feature source.

Note
Prior to QGIS 3.36 this was available as QgsProcessingFeatureSourceDefinition::Flags
Since
QGIS 3.36

Definition at line 3504 of file qgis.h.

◆ ProcessingFeatureSourceFlags

Flags which control how QgsProcessingFeatureSource fetches features.

Note
Prior to QGIS 3.36 this was available as QgsProcessingFeatureSource::Flags
Since
QGIS 3.36

Definition at line 3527 of file qgis.h.

◆ ProcessingParameterFlags

Flags which dictate the behavior of Processing parameters.

Note
Prior to QGIS 3.36 this was available as QgsProcessingParameterDefinition::Flags
Since
QGIS 3.36

Definition at line 3582 of file qgis.h.

◆ ProcessingParameterTypeFlags

Flags which dictate the behavior of Processing parameter types.

Each parameter type can offer a number of additional flags to fine tune its behavior and capabilities.

Note
Prior to QGIS 3.36 this was available as QgsProcessingParameterType::ParameterFlags
Since
QGIS 3.36

Definition at line 3556 of file qgis.h.

◆ ProcessingProviderFlags

Flags indicating how and when an processing provider operates and should be exposed to users.

Note
Prior to QGIS 3.36 this was available as QgsProcessingProvider::Flags
Since
QGIS 3.36

Definition at line 3392 of file qgis.h.

◆ ProfileGeneratorFlags

Definition at line 4011 of file qgis.h.

◆ ProjectCapabilities

Flags which control project capabilities.

Since
QGIS 3.26.1

Definition at line 4130 of file qgis.h.

◆ ProjectFlags

typedef QFlags< ProjectFlag > Qgis::ProjectFlags

Definition at line 3899 of file qgis.h.

◆ ProjectReadFlags

Project load flags.

Note
Prior to QGIS 3.26 this was available as QgsProject::ReadFlags.
Since
QGIS 3.26

Definition at line 4108 of file qgis.h.

◆ ProviderStyleStorageCapabilities

Definition at line 5121 of file qgis.h.

◆ RasterBandStatistics

Statistics to be calculated for raster bands.

Since
QGIS 3.36. Prior to 3.36 this was available as QgsRasterBandStats::Stats.

Definition at line 5638 of file qgis.h.

◆ RasterInterfaceCapabilities

Raster interface capabilities.

Since
QGIS 3.38

Definition at line 4620 of file qgis.h.

◆ RasterProviderCapabilities

Raster data provider capabilities.

Note
Prior to QGIS 3.38 this was available as QgsRasterDataProvider::ProviderCapabilities
Since
QGIS 3.38

Definition at line 4653 of file qgis.h.

◆ RasterRendererCapabilities

Raster renderer capabilities.

Since
QGIS 3.38

Definition at line 1463 of file qgis.h.

◆ RasterRendererFlags

Flags which control behavior of raster renderers.

Since
QGIS 3.28

Definition at line 1442 of file qgis.h.

◆ RasterTemporalCapabilityFlags

Flags for raster layer temporal capabilities.

Since
QGIS 3.28

Definition at line 2576 of file qgis.h.

◆ RelationshipCapabilities

Relationship capabilities.

Since
QGIS 3.30

Definition at line 4229 of file qgis.h.

◆ RenderContextFlags

Render context flags.

Definition at line 2674 of file qgis.h.

◆ ScriptLanguageCapabilities

Script language capabilities.

Since
QGIS 3.32

Definition at line 4299 of file qgis.h.

◆ SelectionFlags

Flags which control feature selection behavior.

Since
QGIS 3.28

Definition at line 1737 of file qgis.h.

◆ SettingsOptions

Definition at line 693 of file qgis.h.

◆ SettingsTreeNodeOptions

Definition at line 635 of file qgis.h.

◆ SldExportOptions

Definition at line 666 of file qgis.h.

◆ SnappingTypes

typedef QFlags< SnappingType > Qgis::SnappingTypes

Snapping types.

Definition at line 724 of file qgis.h.

◆ SqlLayerDefinitionCapabilities

SQL layer definition capabilities.

Definition at line 1030 of file qgis.h.

◆ Statistics

typedef QFlags< Statistic > Qgis::Statistics

Statistics to be calculated for generic values.

Since
QGIS 3.36. Prior to 3.36 this was available as QgsStatisticalSummary::Statistics.

Definition at line 5557 of file qgis.h.

◆ StringStatistics

Statistics to be calculated for string values.

Since
QGIS 3.36. Prior to 3.36 this was available as QgsStringStatisticalSummary::Statistic.

Definition at line 5611 of file qgis.h.

◆ SublayerFlags

typedef QFlags< SublayerFlag > Qgis::SublayerFlags

Sublayer flags.

Definition at line 1343 of file qgis.h.

◆ SublayerQueryFlags

Sublayer query flags.

Definition at line 1329 of file qgis.h.

◆ SymbolFlags

typedef QFlags< SymbolFlag > Qgis::SymbolFlags

Symbol flags.

Definition at line 787 of file qgis.h.

◆ SymbolLayerFlags

Symbol layer flags.

Definition at line 821 of file qgis.h.

◆ SymbolLayerUserFlags

Symbol layer user flags.

Since
QGIS 3.34

Definition at line 844 of file qgis.h.

◆ SymbolPreviewFlags

Symbol preview flags.

Definition at line 801 of file qgis.h.

◆ SymbolRenderHints

Symbol render hints.

Definition at line 741 of file qgis.h.

◆ TextComponents

Text components.

Since
QGIS 3.42

Definition at line 2812 of file qgis.h.

◆ TextRendererFlags

Definition at line 3245 of file qgis.h.

◆ TiledSceneProviderCapabilities

Tiled scene data provider capabilities.

Since
QGIS 3.34

Definition at line 5312 of file qgis.h.

◆ TiledSceneRendererFlags

Flags which control how tiled scene 2D renderers behave.

Since
QGIS 3.34

Definition at line 5394 of file qgis.h.

◆ TiledSceneRequestFlags

Flags which control how tiled scene requests behave.

Since
QGIS 3.34

Definition at line 5372 of file qgis.h.

◆ UriCleaningFlags

Flags for cleaning layer URIs.

Since
QGIS 3.42

Definition at line 1313 of file qgis.h.

◆ VectorDataProviderAttributeEditCapabilities

Attribute editing capabilities which may be supported by vector data providers.

Since
QGIS 3.32

Definition at line 566 of file qgis.h.

◆ VectorFileWriterCapabilities

Capabilities supported by a QgsVectorFileWriter object.

Since
QGIS 3.32

Definition at line 1014 of file qgis.h.

◆ VectorLayerTypeFlags

Vector layer type flags.

Definition at line 395 of file qgis.h.

◆ VectorProviderCapabilities

Vector data provider capabilities.

Note
Prior to QGIS 3.40 this was available as QgsVectorDataProvider::Capabilities
Since
QGIS 3.40

Definition at line 500 of file qgis.h.

◆ VectorRenderingSimplificationFlags

Simplification flags for vector feature rendering.

Note
Prior to QGIS 3.38 this was available as QgsVectorSimplifyMethod::SimplifyHints
Since
QGIS 3.38

Definition at line 2904 of file qgis.h.

◆ VectorTileProviderCapabilities

Vector tile data provider capabilities.

Since
QGIS 3.32

Definition at line 5279 of file qgis.h.

◆ VectorTileProviderFlags

Vector tile data provider flags.

Since
QGIS 3.32

Definition at line 5261 of file qgis.h.

◆ ViewSyncModeFlags

Definition at line 3316 of file qgis.h.

◆ ZonalStatistics

Statistics to be calculated during a zonal statistics operation.

Since
QGIS 3.36. Prior to 3.36 this was available as QgsZonalStatistics::Statistic.

Definition at line 5470 of file qgis.h.

Member Enumeration Documentation

◆ ActionStart

enum class Qgis::ActionStart : int
strong

Enum to determine when an operation would begin.

Since
QGIS 3.22
Enumerator
Deferred 

Do not start immediately the action.

Immediate 

Action will start immediately.

Definition at line 1073 of file qgis.h.

◆ ActionType

enum class Qgis::ActionType : int
strong

Action types.

Prior to QGIS 3.30 this was available as QgsActionMenu::ActionType

Since
QGIS 3.30
Enumerator
Invalid 

Invalid.

MapLayerAction 

Standard actions (defined by core or plugins), corresponds to QgsMapLayerAction class.

AttributeAction 

Custom actions (manually defined in layer properties), corresponds to QgsAction class.

Definition at line 4357 of file qgis.h.

◆ Aggregate

enum class Qgis::Aggregate : int
strong

Available aggregates to calculate.

Not all aggregates are available for all field types.

Since
QGIS 3.36. Prior to 3.36 this was available as QgsAggregateCalculator::Aggregate.
Enumerator
Count 

Count.

CountDistinct 

Number of distinct values.

CountMissing 

Number of missing (null) values.

Min 

Min of values.

Max 

Max of values.

Sum 

Sum of values.

Mean 

Mean of values (numeric fields only)

Median 

Median of values (numeric fields only)

StDev 

Standard deviation of values (numeric fields only)

StDevSample 

Sample standard deviation of values (numeric fields only)

Range 

Range of values (max - min) (numeric and datetime fields only)

Minority 

Minority of values.

Majority 

Majority of values.

FirstQuartile 

First quartile (numeric fields only)

ThirdQuartile 

Third quartile (numeric fields only)

InterQuartileRange 

Inter quartile range (IQR) (numeric fields only)

StringMinimumLength 

Minimum length of string (string fields only)

StringMaximumLength 

Maximum length of string (string fields only)

StringConcatenate 

Concatenate values with a joining string (string fields only). Specify the delimiter using setDelimiter().

GeometryCollect 

Create a multipart geometry from aggregated geometries.

ArrayAggregate 

Create an array of values.

StringConcatenateUnique 

Concatenate unique values with a joining string (string fields only). Specify the delimiter using setDelimiter().

Definition at line 5496 of file qgis.h.

◆ AltitudeBinding

enum class Qgis::AltitudeBinding : int
strong

Altitude binding.

Since
QGIS 3.26
Enumerator
Vertex 

Clamp every vertex of feature.

Centroid 

Clamp just centroid of feature.

Definition at line 3794 of file qgis.h.

◆ AltitudeClamping

enum class Qgis::AltitudeClamping : int
strong

Altitude clamping.

Since
QGIS 3.26
Enumerator
Absolute 

Elevation is taken directly from feature and is independent of terrain height (final elevation = feature elevation)

Relative 

Elevation is relative to terrain height (final elevation = terrain elevation + feature elevation)

Terrain 

Elevation is clamped to terrain (final elevation = terrain elevation)

Definition at line 3781 of file qgis.h.

◆ AngleUnit

enum class Qgis::AngleUnit : int
strong

Units of angles.

Note
Prior to QGIS 3.30 this was available as QgsUnitTypes::AngleUnit.
Since
QGIS 3.30
Enumerator
Degrees 

Degrees.

Radians 

Square kilometers.

Gon 

Gon/gradian.

MinutesOfArc 

Minutes of arc.

SecondsOfArc 

Seconds of arc.

Turn 

Turn/revolutions.

MilliradiansSI 

Angular milliradians (SI definition, 1/1000 of radian)

MilNATO 

Angular mil (NATO definition, 6400 mil = 2PI radians)

Unknown 

Unknown angle unit.

Definition at line 4884 of file qgis.h.

◆ AngularDirection

enum class Qgis::AngularDirection : int
strong

Angular directions.

Since
QGIS 3.24
Enumerator
Clockwise 

Clockwise direction.

CounterClockwise 

Counter-clockwise direction.

NoOrientation 

Unknown orientation or sentinel value.

Definition at line 3265 of file qgis.h.

◆ AnimationState

enum class Qgis::AnimationState : int
strong

Animation states.

Note
Prior to QGIS 3.36 this was available as QgsTemporalNavigationObject::AnimationState
Since
QGIS 3.36
Enumerator
Forward 

Animation is playing forward.

Reverse 

Animation is playing in reverse.

Idle 

Animation is paused.

Definition at line 2464 of file qgis.h.

◆ AnnotationItemEditOperationResult

enum class Qgis::AnnotationItemEditOperationResult : int
strong

Results from an edit operation on an annotation item.

Since
QGIS 3.22
Enumerator
Success 

Item was modified successfully.

Invalid 

Operation has invalid parameters for the item, no change occurred.

ItemCleared 

The operation results in the item being cleared, and the item should be removed from the layer as a result.

Definition at line 2433 of file qgis.h.

◆ AnnotationItemFlag

enum class Qgis::AnnotationItemFlag : int
strong

Flags for annotation items.

Since
QGIS 3.22
Enumerator
ScaleDependentBoundingBox 

Item's bounding box will vary depending on map scale.

SupportsReferenceScale 

Item supports reference scale based rendering.

Since
QGIS 3.40
SupportsCallouts 

Item supports callouts.

Since
QGIS 3.40

Definition at line 2378 of file qgis.h.

◆ AnnotationItemGuiFlag

enum class Qgis::AnnotationItemGuiFlag : int
strong

Flags for controlling how an annotation item behaves in the GUI.

Since
QGIS 3.22
Enumerator
FlagNoCreationTools 

Do not show item creation tools for the item type.

Definition at line 2407 of file qgis.h.

◆ AnnotationItemNodeType

enum class Qgis::AnnotationItemNodeType : int
strong

Annotation item node types.

Since
QGIS 3.22
Enumerator
VertexHandle 

Node is a handle for manipulating vertices.

CalloutHandle 

Node is a handle for manipulating callouts.

Since
QGIS 3.40

Definition at line 2421 of file qgis.h.

◆ AnnotationPlacementMode

enum class Qgis::AnnotationPlacementMode : int
strong

Annotation item placement modes.

Since
QGIS 3.40
Enumerator
SpatialBounds 

Item is rendered inside fixed spatial bounds, and size will depend on map scale.

FixedSize 

Item is rendered at a fixed size, regardless of map scale. Item's location is georeferenced to a spatial location.

RelativeToMapFrame 

Items size and placement is relative to the map's frame, and the item will always be rendered in the same visible location regardless of map extent or scale.

Definition at line 2394 of file qgis.h.

◆ ArcGisRestServiceType

enum class Qgis::ArcGisRestServiceType : int
strong

Available ArcGIS REST service types.

Note
Prior to QGIS 3.26 this was available as QgsArcGisPortalUtils::ItemType.
Since
QGIS 3.28
Enumerator
FeatureServer 

FeatureServer.

MapServer 

MapServer.

ImageServer 

ImageServer.

GlobeServer 

GlobeServer.

GPServer 

GPServer.

GeocodeServer 

GeocodeServer.

Unknown 

Other unknown/unsupported type.

Definition at line 4157 of file qgis.h.

◆ AreaUnit

enum class Qgis::AreaUnit : int
strong

Units of area.

Note
Prior to QGIS 3.30 this was available as QgsUnitTypes::AreaUnit.
Since
QGIS 3.30
Enumerator
SquareMeters 

Square meters.

SquareKilometers 

Square kilometers.

SquareFeet 

Square feet.

SquareYards 

Square yards.

SquareMiles 

Square miles.

Hectares 

Hectares.

Acres 

Acres.

SquareNauticalMiles 

Square nautical miles.

SquareDegrees 

Square degrees, for planar geographic CRS area measurements.

SquareCentimeters 

Square centimeters.

SquareMillimeters 

Square millimeters.

SquareInches 

Square inches.

Since
QGIS 3.32
Unknown 

Unknown areal unit.

Definition at line 4836 of file qgis.h.

◆ AttributeActionType

enum class Qgis::AttributeActionType : int
strong

Attribute action types.

Prior to QGIS 3.30 this was available as QgsAction::ActionType

Since
QGIS 3.30
Enumerator
Generic 

Generic.

GenericPython 

Python.

Mac 

MacOS specific.

Windows 

Windows specific.

Unix 

Unix specific.

OpenUrl 

Open URL action.

SubmitUrlEncoded 

POST data to an URL, using "application/x-www-form-urlencoded" or "application/json" if the body is valid JSON.

Since
QGIS 3.24
SubmitUrlMultipart 

POST data to an URL using "multipart/form-data".

Since
QGIS 3.24

Definition at line 4421 of file qgis.h.

◆ AttributeEditorContainerType

enum class Qgis::AttributeEditorContainerType : int
strong

Attribute editor container types.

Since
QGIS 3.32
Enumerator
GroupBox 

A group box.

Tab 

A tab widget.

Row 

A row of editors (horizontal layout)

Definition at line 5163 of file qgis.h.

◆ AttributeEditorType

enum class Qgis::AttributeEditorType : int
strong

Attribute editor types.

Note
Prior to QGIS 3.32 this was available as QgsAttributeEditorElement::AttributeEditorType.
Since
QGIS 3.32
Enumerator
Container 

A container.

Field 

A field.

Relation 

A relation.

QmlElement 

A QML element.

HtmlElement 

A HTML element.

Action 

A layer action element.

Since
QGIS 3.22
TextElement 

A text element.

Since
QGIS 3.30
SpacerElement 

A spacer element.

Since
QGIS 3.30
Invalid 

Invalid.

Definition at line 5144 of file qgis.h.

◆ AttributeFormLayout

enum class Qgis::AttributeFormLayout : int
strong

Available form types for layout of the attribute form editor.

Note
Prior to QGIS 3.32 this was available as QgsEditFormConfig::EditorLayout.
Since
QGIS 3.32
Enumerator
AutoGenerated 

Autogenerate a simple tabular layout for the form.

DragAndDrop 

"Drag and drop" layout. Needs to be configured.

UiFile 

Load a .ui file for the layout. Needs to be configured.

Definition at line 5178 of file qgis.h.

◆ AttributeFormPythonInitCodeSource

enum class Qgis::AttributeFormPythonInitCodeSource : int
strong

The Python init code source for attribute forms.

Note
Prior to QGIS 3.32 this was available as QgsEditFormConfig::PythonInitCodeSource.
Since
QGIS 3.32
Enumerator
NoSource 

Do not use Python code at all.

File 

Load the Python code from an external file.

Dialog 

Use the Python code provided in the dialog.

Environment 

Use the Python code available in the Python environment.

Definition at line 5208 of file qgis.h.

◆ AttributeFormSuppression

enum class Qgis::AttributeFormSuppression : int
strong

Available form types for layout of the attribute form editor.

Note
Prior to QGIS 3.32 this was available as QgsEditFormConfig::FeatureFormSuppress.
Since
QGIS 3.32
Enumerator
Default 

Use the application-wide setting.

On 

Always suppress feature form.

Off 

Never suppress feature form.

Definition at line 5193 of file qgis.h.

◆ AuthConfigurationStorageCapability

Authentication configuration storage capabilities.

Since
QGIS 3.40
Enumerator
ClearStorage 

Can clear all configurations from storage.

ReadConfiguration 

Can read an authentication configuration.

UpdateConfiguration 

Can update an authentication configuration.

DeleteConfiguration 

Can deleet an authentication configuration.

CreateConfiguration 

Can create a new authentication configuration.

ReadCertificateIdentity 

Can read a certificate identity.

UpdateCertificateIdentity 

Can update a certificate identity.

DeleteCertificateIdentity 

Can delete a certificate identity.

CreateCertificateIdentity 

Can create a new certificate identity.

ReadSslCertificateCustomConfig 

Can read a SSL certificate custom config.

UpdateSslCertificateCustomConfig 

Can update a SSL certificate custom config.

DeleteSslCertificateCustomConfig 

Can delete a SSL certificate custom config.

CreateSslCertificateCustomConfig 

Can create a new SSL certificate custom config.

ReadCertificateAuthority 

Can read a certificate authority.

UpdateCertificateAuthority 

Can update a certificate authority.

DeleteCertificateAuthority 

Can delete a certificate authority.

CreateCertificateAuthority 

Can create a new certificate authority.

ReadCertificateTrustPolicy 

Can read a certificate trust policy.

UpdateCertificateTrustPolicy 

Can update a certificate trust policy.

DeleteCertificateTrustPolicy 

Can delete a certificate trust policy.

CreateCertificateTrustPolicy 

Can create a new certificate trust policy.

ReadMasterPassword 

Can read the master password.

UpdateMasterPassword 

Can update the master password.

DeleteMasterPassword 

Can delete the master password.

CreateMasterPassword 

Can create a new master password.

ReadSetting 

Can read the authentication settings.

UpdateSetting 

Can update the authentication setting.

DeleteSetting 

Can delete the authentication setting.

CreateSetting 

Can create a new authentication setting.

Definition at line 99 of file qgis.h.

◆ AutoRefreshMode

enum class Qgis::AutoRefreshMode : int
strong

Map layer automatic refresh modes.

Since
QGIS 3.34
Enumerator
Disabled 

Automatic refreshing is disabled.

ReloadData 

Reload data (and draw the new data)

RedrawOnly 

Redraw current data only.

Definition at line 2210 of file qgis.h.

◆ AvoidIntersectionsMode

enum class Qgis::AvoidIntersectionsMode : int
strong

Flags which control how intersections of pre-existing feature are handled when digitizing new features.

Note
Prior to QGIS 3.26 this was available as QgsProject::AvoidIntersectionsMode
Since
QGIS 3.26
Enumerator
AllowIntersections 

Overlap with any feature allowed when digitizing new features.

AvoidIntersectionsCurrentLayer 

Overlap with features from the active layer when digitizing new features not allowed.

AvoidIntersectionsLayers 

Overlap with features from a specified list of layers when digitizing new features not allowed.

Definition at line 4059 of file qgis.h.

◆ Axis

enum class Qgis::Axis : int
strong

Cartesian axes.

Since
QGIS 3.34
Enumerator

X-axis.

Y-axis.

Z-axis.

Definition at line 2365 of file qgis.h.

◆ BabelCommandFlag

enum class Qgis::BabelCommandFlag : int
strong

Babel command flags, which control how commands and arguments are generated for executing GPSBabel processes.

Since
QGIS 3.22
Enumerator
QuoteFilePaths 

File paths should be enclosed in quotations and escaped.

Definition at line 1942 of file qgis.h.

◆ BabelFormatCapability

enum class Qgis::BabelFormatCapability : int
strong

Babel GPS format capabilities.

Since
QGIS 3.22
Enumerator
Import 

Format supports importing.

Export 

Format supports exporting.

Waypoints 

Format supports waypoints.

Routes 

Format supports routes.

Tracks 

Format supports tracks.

Definition at line 1923 of file qgis.h.

◆ BetweenLineConstraint

enum class Qgis::BetweenLineConstraint : int
strong

Between line constraints which can be enabled.

Since
QGIS 3.26
Enumerator
NoConstraint 

No additional constraint.

Perpendicular 

Perpendicular.

Parallel 

Parallel.

Definition at line 3847 of file qgis.h.

◆ BlendMode

enum class Qgis::BlendMode : int
strong

Blending modes defining the available composition modes that can be used when painting.

Note
Prior to QGIS 3.30 this was available as QgsPainting::BlendMode.
Since
QGIS 3.30
Enumerator
Normal 

Normal.

Lighten 

Lighten.

Screen 

Screen.

Dodge 

Dodge.

Addition 

Addition.

Darken 

Darken.

Multiply 

Multiple.

Burn 

Burn.

Overlay 

Overlay.

SoftLight 

Soft light.

HardLight 

Hard light.

Difference 

Difference.

Subtract 

Subtract.

Source 

Source.

DestinationOver 

Destination over.

Clear 

Clear.

Destination 

Destination.

SourceIn 

Source in.

DestinationIn 

Destination in.

SourceOut 

Source out.

DestinationOut 

Destination out.

SourceAtop 

Source atop.

DestinationAtop 

Destination atop.

Xor 

XOR.

Definition at line 4676 of file qgis.h.

◆ BrowserDirectoryMonitoring

enum class Qgis::BrowserDirectoryMonitoring : int
strong

Browser directory item monitoring switches.

Since
QGIS 3.20
Enumerator
Default 

Use default logic to determine whether directory should be monitored.

NeverMonitor 

Never monitor the directory, regardless of the default logic.

AlwaysMonitor 

Always monitor the directory, regardless of the default logic.

Definition at line 958 of file qgis.h.

◆ BrowserItemCapability

enum class Qgis::BrowserItemCapability : int
strong

Browser item capabilities.

Since
QGIS 3.20
Enumerator
NoCapabilities 

Item has no capabilities.

SetCrs 

Can set CRS on layer or group of layers. deprecated since QGIS 3.6 – no longer used by QGIS and will be removed in QGIS 4.0.

Fertile 

Can create children. Even items without this capability may have children, but cannot create them, it means that children are created by item ancestors.

Fast 

CreateChildren() is fast enough to be run in main thread when refreshing items, most root items (wms,wfs,wcs,postgres...) are considered fast because they are reading data only from QgsSettings.

Collapse 

The collapse/expand status for this items children should be ignored in order to avoid undesired network connections (wms etc.)

Rename 

Item can be renamed.

Delete 

Item can be deleted.

ItemRepresentsFile 

Item's path() directly represents a file on disk.

Since
QGIS 3.22
RefreshChildrenWhenItemIsRefreshed 

When the item is refreshed, all its populated children will also be refreshed in turn.

Since
QGIS 3.26
ReadOnly 

Item is read only.

Since
QGIS 3.40

Definition at line 884 of file qgis.h.

◆ BrowserItemState

enum class Qgis::BrowserItemState : int
strong

Browser item states.

Since
QGIS 3.20
Enumerator
NotPopulated 

Children not yet created.

Populating 

Creating children in separate thread (populating or refreshing)

Populated 

Children created.

Definition at line 871 of file qgis.h.

◆ BrowserItemType

enum class Qgis::BrowserItemType : int
strong

Browser item types.

Since
QGIS 3.20
Enumerator
Collection 

A collection of items.

Directory 

Represents a file directory.

Layer 

Represents a map layer.

Error 

Contains an error message.

Favorites 

Represents a favorite item.

Project 

Represents a QGIS project.

Custom 

Custom item type.

Fields 

Collection of fields.

Field 

Vector layer field.

Definition at line 852 of file qgis.h.

◆ BrowserLayerType

enum class Qgis::BrowserLayerType : int
strong

Browser item layer types.

Since
QGIS 3.20
Enumerator
NoType 

No type.

Vector 

Generic vector layer.

Raster 

Raster layer.

Point 

Vector point layer.

Line 

Vector line layer.

Polygon 

Vector polygon layer.

TableLayer 

Vector non-spatial layer.

Database 

Database layer.

Table 

Database table.

Plugin 

Plugin based layer.

Mesh 

Mesh layer.

VectorTile 

Vector tile layer.

PointCloud 

Point cloud layer.

TiledScene 

Tiled scene layer.

Since
QGIS 3.34

Definition at line 934 of file qgis.h.

◆ BufferSide

enum class Qgis::BufferSide : int
strong

Side of line to buffer.

Since
QGIS 3.22
Enumerator
Left 

Buffer to left of line.

Right 

Buffer to right of line.

Definition at line 2025 of file qgis.h.

◆ CadConstraintType

enum class Qgis::CadConstraintType : int
strong

Advanced digitizing constraint type.

Since
QGIS 3.32
Enumerator
Generic 

Generic value.

Angle 

Angle value.

Distance 

Distance value.

XCoordinate 

X Coordinate value.

YCoordinate 

Y Coordinate value.

ZValue 

Z value.

MValue 

M value.

Definition at line 3873 of file qgis.h.

◆ Capitalization

enum class Qgis::Capitalization : int
strong

String capitalization options.

Note
Prior to QGIS 3.24 this was available as QgsStringUtils::Capitalization
Since
QGIS 3.24
Enumerator
MixedCase 

Mixed case, ie no change.

AllUppercase 

Convert all characters to uppercase.

AllLowercase 

Convert all characters to lowercase.

ForceFirstLetterToCapital 

Convert just the first letter of each word to uppercase, leave the rest untouched.

SmallCaps 

Mixed case small caps.

Since
QGIS 3.24
TitleCase 

Simple title case conversion - does not fully grammatically parse the text and uses simple rules only. Note that this method does not convert any characters to lowercase, it only uppercases required letters. Callers must ensure that input strings are already lowercased.

UpperCamelCase 

Convert the string to upper camel case. Note that this method does not unaccent characters.

AllSmallCaps 

Force all characters to small caps.

Since
QGIS 3.24

Definition at line 3222 of file qgis.h.

◆ CaptureTechnique

enum class Qgis::CaptureTechnique : int
strong

Capture technique.

Since
QGIS 3.26
Enumerator
StraightSegments 

Default capture mode - capture occurs with straight line segments.

CircularString 

Capture in circular strings.

Streaming 

Streaming points digitizing mode (points are automatically added as the mouse cursor moves).

Shape 

Digitize shapes.

Definition at line 375 of file qgis.h.

◆ ColorModel

enum class Qgis::ColorModel : int
strong

Color model types.

Since
QGIS 3.40
Enumerator
Rgb 

RGB color model.

Cmyk 

CMYK color model.

Definition at line 5666 of file qgis.h.

◆ ContentStatus

enum class Qgis::ContentStatus : int
strong

Status for fetched or stored content.

Since
QGIS 3.22
Enumerator
NotStarted 

Content fetching/storing has not started yet.

Running 

Content fetching/storing is in progress.

Finished 

Content fetching/storing is finished and successful.

Failed 

Content fetching/storing has failed.

Canceled 

Content fetching/storing has been canceled.

Definition at line 1774 of file qgis.h.

◆ CoordinateDisplayType

enum class Qgis::CoordinateDisplayType : int
strong

Formats for displaying coordinates.

Since
QGIS 3.28
Enumerator
MapCrs 

Map CRS.

MapGeographic 

Map Geographic CRS equivalent (stays unchanged if the map CRS is geographic)

CustomCrs 

Custom CRS.

Definition at line 4237 of file qgis.h.

◆ CoordinateOrder

enum class Qgis::CoordinateOrder : int
strong

Order of coordinates.

Since
QGIS 3.26
Enumerator
Default 

Respect the default axis ordering for the CRS, as defined in the CRS's parameters.

XY 

Easting/Northing (or Longitude/Latitude for geographic CRS)

YX 

Northing/Easting (or Latitude/Longitude for geographic CRS)

Definition at line 2316 of file qgis.h.

◆ CoordinateTransformationFlag

enum class Qgis::CoordinateTransformationFlag : int
strong

Flags which adjust the coordinate transformations behave.

Since
QGIS 3.26
Enumerator
BallparkTransformsAreAppropriate 

Indicates that approximate "ballpark" results are appropriate for this coordinate transform. See QgsCoordinateTransform::setBallparkTransformsAreAppropriate() for further details.

IgnoreImpossibleTransformations 

Indicates that impossible transformations (such as those which attempt to transform between two different celestial bodies) should be silently handled and marked as invalid. See QgsCoordinateTransform::isTransformationPossible() and QgsCoordinateTransform::isValid().

Definition at line 2596 of file qgis.h.

◆ CoverageValidityResult

enum class Qgis::CoverageValidityResult : int
strong

Coverage validity results.

Since
QGIS 3.36
Enumerator
Invalid 

Coverage is invalid. Invalidity includes polygons that overlap, that have gaps smaller than the gap width, or non-polygonal entries in the input collection.

Valid 

Coverage is valid.

Error 

An exception occurred while determining validity.

Definition at line 2083 of file qgis.h.

◆ CrsAxisDirection

enum class Qgis::CrsAxisDirection : int
strong

Coordinate reference system axis directions.

From "Geographic information — Well-known text representation of coordinate reference systems", section 7.5.1.

Since
QGIS 3.26
Enumerator
North 

North.

NorthNorthEast 

North North East.

NorthEast 

North East.

EastNorthEast 

East North East.

East 

East.

EastSouthEast 

East South East.

SouthEast 

South East.

SouthSouthEast 

South South East.

South 

South.

SouthSouthWest 

South South West.

SouthWest 

South West.

WestSouthWest 

West South West.

West 

West.

WestNorthWest 

West North West.

NorthWest 

North West.

NorthNorthWest 

North North West.

GeocentricX 

Geocentric (X)

GeocentricY 

Geocentric (Y)

GeocentricZ 

Geocentric (Z)

Up 

Up.

Down 

Down.

Forward 

Forward.

Aft 

Aft.

Port 

Port.

Starboard 

Starboard.

Clockwise 

Clockwise.

CounterClockwise 

Counter clockwise.

ColumnPositive 

Column positive.

ColumnNegative 

Column negative.

RowPositive 

Row positive.

RowNegative 

Row negative.

DisplayRight 

Display right.

DisplayLeft 

Display left.

DisplayUp 

Display up.

DisplayDown 

Display down.

Future 

Future.

Past 

Past.

Towards 

Towards.

AwayFrom 

Away from.

Unspecified 

Unspecified.

Definition at line 2266 of file qgis.h.

◆ CrsDefinitionFormat

enum class Qgis::CrsDefinitionFormat : int
strong

CRS definition formats.

Since
QGIS 3.24
Enumerator
Wkt 

WKT format (always recommended over proj string format)

Proj 

Proj string format.

Definition at line 3695 of file qgis.h.

◆ CrsIdentifierType

enum class Qgis::CrsIdentifierType : int
strong

Available identifier string types for representing coordinate reference systems.

Note
Prior to QGIS 3.36 this was available as QgsCoordinateReferenceSystem::IdentifierType
Since
QGIS 3.36
Enumerator
ShortString 

A heavily abbreviated string, for use when a compact representation is required.

MediumString 

A medium-length string, recommended for general purpose use.

FullString 

Full definition – possibly a very lengthy string, e.g. with no truncation of custom WKT definitions.

Definition at line 2331 of file qgis.h.

◆ CrsType

enum class Qgis::CrsType : int
strong

Coordinate reference system types.

Contains a subset of Proj's PJ_TYPE enum, specifically the types which relate to CRS types.

Since
QGIS 3.34
Enumerator
Unknown 

Unknown type.

Geodetic 

Geodetic CRS.

Geocentric 

Geocentric CRS.

Geographic2d 

2D geographic CRS

Geographic3d 

3D geopraphic CRS

Vertical 

Vertical CRS.

Projected 

Projected CRS.

Compound 

Compound (horizontal + vertical) CRS.

Temporal 

Temporal CRS.

Engineering 

Engineering CRS.

Bound 

Bound CRS.

Other 

Other type.

DerivedProjected 

Derived projected CRS.

Definition at line 2241 of file qgis.h.

◆ CrsWktVariant

enum class Qgis::CrsWktVariant : int
strong

Coordinate reference system WKT formatting variants.

Note
Prior to QGIS 3.36 this was available as QgsCoordinateReferenceSystem::WktVariant
Since
QGIS 3.36
Enumerator
Wkt1Gdal 

WKT1 as traditionally output by GDAL, deriving from OGC 01-009. A notable departure from WKT1_GDAL with respect to OGC 01-009 is that in WKT1_GDAL, the unit of the PRIMEM value is always degrees.

Wkt1Esri 

WKT1 as traditionally output by ESRI software, deriving from OGC 99-049.

Wkt2_2015 

Full WKT2 string, conforming to ISO 19162:2015(E) / OGC 12-063r5 with all possible nodes and new keyword names.

Wkt2_2015Simplified 

Same as WKT2_2015 with the following exceptions: UNIT keyword used. ID node only on top element. No ORDER element in AXIS element. PRIMEM node omitted if it is Greenwich. ELLIPSOID.UNIT node omitted if it is UnitOfMeasure::METRE. PARAMETER.UNIT / PRIMEM.UNIT omitted if same as AXIS. AXIS.UNIT omitted and replaced by a common GEODCRS.UNIT if they are all the same on all axis.

Wkt2_2019 

Full WKT2 string, conforming to ISO 19162:2019 / OGC 18-010, with all possible nodes and new keyword names. Non-normative list of differences: WKT2_2019 uses GEOGCRS / BASEGEOGCRS keywords for GeographicCRS.

Wkt2_2019Simplified 

WKT2_2019 with the simplification rule of WKT2_SIMPLIFIED.

Preferred 

Preferred format, matching the most recent WKT ISO standard. Currently an alias to WKT2_2019, but may change in future versions.

PreferredSimplified 

Preferred simplified format, matching the most recent WKT ISO standard. Currently an alias to WKT2_2019_SIMPLIFIED, but may change in future versions.

PreferredGdal 

Preferred format for conversion of CRS to WKT for use with the GDAL library.

Definition at line 2346 of file qgis.h.

◆ DashPatternLineEndingRule

enum class Qgis::DashPatternLineEndingRule : int
strong

Dash pattern line ending rules.

Since
QGIS 3.24
Enumerator
NoRule 

No special rule.

FullDash 

Start or finish the pattern with a full dash.

HalfDash 

Start or finish the pattern with a half length dash.

FullGap 

Start or finish the pattern with a full gap.

HalfGap 

Start or finish the pattern with a half length gap.

Definition at line 3135 of file qgis.h.

◆ DashPatternSizeAdjustment

enum class Qgis::DashPatternSizeAdjustment : int
strong

Dash pattern size adjustment options.

Since
QGIS 3.24
Enumerator
ScaleBothDashAndGap 

Both the dash and gap lengths are adjusted equally.

ScaleDashOnly 

Only dash lengths are adjusted.

ScaleGapOnly 

Only gap lengths are adjusted.

Definition at line 3150 of file qgis.h.

◆ DatabaseProviderConnectionCapability2

The Capability enum represents the extended operations supported by the connection.

Since
QGIS 3.32
Enumerator
SetFieldComment 

Can set comments for fields via setFieldComment()

SetFieldAlias 

Can set aliases for fields via setFieldAlias()

Definition at line 5100 of file qgis.h.

◆ DataItemProviderCapability

enum class Qgis::DataItemProviderCapability : int
strong

Capabilities for data item providers.

Note
Prior to QGIS 3.36 this was available as QgsDataProvider::DataCapability
Since
QGIS 3.36
Enumerator
NoCapabilities 

No capabilities.

Files 

Can provides items which corresponds to files.

Directories 

Can provides items which corresponds to directories.

Databases 

Can provides items which corresponds to databases.

NetworkSources 

Network/internet source.

Definition at line 909 of file qgis.h.

◆ DataProviderFlag

enum class Qgis::DataProviderFlag : int
strong

Generic data provider flags.

Since
QGIS 3.26
Enumerator
IsBasemapSource 

Associated source should be considered a 'basemap' layer. See Qgis::MapLayerProperty::IsBasemapLayer.

FastExtent2D 

Provider's 2D extent retrieval via QgsDataProvider::extent() is always guaranteed to be trivial/fast to calculate.

Since
QGIS 3.38
FastExtent3D 

Provider's 3D extent retrieval via QgsDataProvider::extent3D() is always guaranteed to be trivial/fast to calculate.

Since
QGIS 3.38

Definition at line 2223 of file qgis.h.

◆ DataProviderReadFlag

enum class Qgis::DataProviderReadFlag : int
strong

Flags which control data provider construction.

Note
Prior to QGIS 3.40 this was available as QgsDataProvider::ReadFlag
Since
QGIS 3.40
Enumerator
TrustDataSource 

Trust datasource config (primary key unicity, geometry type and srid, etc). Improves provider load time by skipping expensive checks like primary key unicity, geometry type and srid and by using estimated metadata on data load.

Since
QGIS 3.16
SkipFeatureCount 

Make featureCount() return -1 to indicate unknown, and subLayers() to return a unknown feature count as well. Since QGIS 3.18. Only implemented by OGR provider at time of writing.

LoadDefaultStyle 

Reset the layer's style to the default for the datasource.

SkipGetExtent 

Skip the extent from provider.

SkipFullScan 

Skip expensive full scan on files (i.e. on delimited text)

Since
QGIS 3.24
ForceReadOnly 

Open layer in a read-only mode.

Since
QGIS 3.28
SkipCredentialsRequest 

Skip credentials if the provided one are not valid, let the provider be invalid, avoiding to block the thread creating the provider if it is not the main thread.

Since
QGIS 3.32
ParallelThreadLoading 

Provider is created in a parallel thread than the one where it will live.

Since
QGIS 3.32.1

Definition at line 430 of file qgis.h.

◆ DataType

enum class Qgis::DataType : int
strong

Raster data types.

This is modified and extended copy of GDALDataType.

Enumerator
UnknownDataType 

Unknown or unspecified type.

Byte 

Eight bit unsigned integer (quint8)

Int8 

Eight bit signed integer (qint8) (added in QGIS 3.30)

UInt16 

Sixteen bit unsigned integer (quint16)

Int16 

Sixteen bit signed integer (qint16)

UInt32 

Thirty two bit unsigned integer (quint32)

Int32 

Thirty two bit signed integer (qint32)

Float32 

Thirty two bit floating point (float)

Float64 

Sixty four bit floating point (double)

CInt16 

Complex Int16.

CInt32 

Complex Int32.

CFloat32 

Complex Float32.

CFloat64 

Complex Float64.

ARGB32 

Color, alpha, red, green, blue, 4 bytes the same as QImage::Format_ARGB32.

ARGB32_Premultiplied 

Color, alpha, red, green, blue, 4 bytes the same as QImage::Format_ARGB32_Premultiplied.

Definition at line 350 of file qgis.h.

◆ DateTimeStatistic

enum class Qgis::DateTimeStatistic : int
strong

Available date/time statistics.

Since
QGIS 3.36. Prior to 3.36 this was available as QgsDateTimeStatisticalSummary::Statistic.
Enumerator
Count 

Count.

CountDistinct 

Number of distinct datetime values.

CountMissing 

Number of missing (null) values.

Min 

Minimum (earliest) datetime value.

Max 

Maximum (latest) datetime value.

Range 

Interval between earliest and latest datetime value.

All 

All statistics.

Definition at line 5565 of file qgis.h.

◆ DeviceConnectionStatus

enum class Qgis::DeviceConnectionStatus : int
strong

GPS connection status.

Since
QGIS 3.30
Enumerator
Disconnected 

Device is disconnected.

Connecting 

Device is connecting.

Connected 

Device is successfully connected.

Definition at line 1803 of file qgis.h.

◆ DistanceUnit

enum class Qgis::DistanceUnit : int
strong

Units of distance.

Note
Prior to QGIS 3.30 this was available as QgsUnitTypes::DistanceUnit.
Since
QGIS 3.30
Enumerator
Meters 

Meters.

Kilometers 

Kilometers.

Feet 

Imperial feet.

NauticalMiles 

Nautical miles.

Yards 

Imperial yards.

Miles 

Terrestrial miles.

Degrees 

Degrees, for planar geographic CRS distance measurements.

Centimeters 

Centimeters.

Millimeters 

Millimeters.

Inches 

Inches.

Since
QGIS 3.32
ChainsInternational 

International chains.

Since
QGIS 3.40
ChainsBritishBenoit1895A 

British chains (Benoit 1895 A)

Since
QGIS 3.40
ChainsBritishBenoit1895B 

British chains (Benoit 1895 B)

Since
QGIS 3.40
ChainsBritishSears1922Truncated 

British chains (Sears 1922 truncated)

Since
QGIS 3.40
ChainsBritishSears1922 

British chains (Sears 1922)

Since
QGIS 3.40
ChainsClarkes 

Clarke's chains.

Since
QGIS 3.40
ChainsUSSurvey 

US Survey chains.

Since
QGIS 3.40
FeetBritish1865 

British feet (1865)

Since
QGIS 3.40
FeetBritish1936 

British feet (1936)

Since
QGIS 3.40
FeetBritishBenoit1895A 

British feet (Benoit 1895 A)

Since
QGIS 3.40
FeetBritishBenoit1895B 

British feet (Benoit 1895 B)

Since
QGIS 3.40
FeetBritishSears1922Truncated 

British feet (Sears 1922 truncated)

Since
QGIS 3.40
FeetBritishSears1922 

British feet (Sears 1922)

Since
QGIS 3.40
FeetClarkes 

Clarke's feet.

Since
QGIS 3.40
FeetGoldCoast 

Gold Coast feet.

Since
QGIS 3.40
FeetIndian 

Indian (geodetic) feet.

Since
QGIS 3.40
FeetIndian1937 

Indian feet (1937)

Since
QGIS 3.40
FeetIndian1962 

Indian feet (1962)

Since
QGIS 3.40
FeetIndian1975 

Indian feet (1975)

Since
QGIS 3.40
FeetUSSurvey 

US Survey feet.

Since
QGIS 3.40
LinksInternational 

International links.

Since
QGIS 3.40
LinksBritishBenoit1895A 

British links (Benoit 1895 A)

Since
QGIS 3.40
LinksBritishBenoit1895B 

British links (Benoit 1895 B)

Since
QGIS 3.40
LinksBritishSears1922Truncated 

British links (Sears 1922 truncated)

Since
QGIS 3.40
LinksBritishSears1922 

British links (Sears 1922)

Since
QGIS 3.40
LinksClarkes 

Clarke's links.

Since
QGIS 3.40
LinksUSSurvey 

US Survey links.

Since
QGIS 3.40
YardsBritishBenoit1895A 

British yards (Benoit 1895 A)

Since
QGIS 3.40
YardsBritishBenoit1895B 

British yards (Benoit 1895 B)

Since
QGIS 3.40
YardsBritishSears1922Truncated 

British yards (Sears 1922 truncated)

Since
QGIS 3.40
YardsBritishSears1922 

British yards (Sears 1922)

Since
QGIS 3.40
YardsClarkes 

Clarke's yards.

Since
QGIS 3.40
YardsIndian 

Indian yards.

Since
QGIS 3.40
YardsIndian1937 

Indian yards (1937)

Since
QGIS 3.40
YardsIndian1962 

Indian yards (1962)

Since
QGIS 3.40
YardsIndian1975 

Indian yards (1975)

Since
QGIS 3.40
MilesUSSurvey 

US Survey miles.

Since
QGIS 3.40
Fathoms 

Fathoms.

Since
QGIS 3.40
MetersGermanLegal 

German legal meter.

Since
QGIS 3.40
Unknown 

Unknown distance unit.

Definition at line 4759 of file qgis.h.

◆ DistanceUnitType

enum class Qgis::DistanceUnitType : int
strong

Types of distance units.

Note
Prior to QGIS 3.30 this was available as QgsUnitTypes::DistanceUnitType.
Since
QGIS 3.30
Enumerator
Standard 

Unit is a standard measurement unit.

Geographic 

Unit is a geographic (e.g., degree based) unit.

Unknown 

Unknown unit type.

Definition at line 4821 of file qgis.h.

◆ DocumentationApi

enum class Qgis::DocumentationApi : int
strong

Documentation API.

Since
QGIS 3.42
Enumerator
PyQgis 

PyQgis API documentation.

PyQgisSearch 

Search in PyQgis API documentation.

CppQgis 

C++ QGIS API documentation.

Qt 

Qt API documentation.

Definition at line 5678 of file qgis.h.

◆ DocumentationBrowser

enum class Qgis::DocumentationBrowser : int
strong

Documentation API browser.

Since
QGIS 3.42
Enumerator
DeveloperToolsPanel 

Embedded webview in the DevTools panel.

SystemWebBrowser 

Default system web browser.

Definition at line 5692 of file qgis.h.

◆ DpiMode

enum class Qgis::DpiMode
strong

DpiMode enum.

Since
QGIS 3.26
Enumerator
All 

All.

Off 

Off.

QGIS 

QGIS.

UMN 

UMN.

GeoServer 

GeoServer.

Definition at line 3191 of file qgis.h.

◆ DriveType

enum class Qgis::DriveType : int
strong

Drive types.

Since
QGIS 3.20
Enumerator
Unknown 

Unknown type.

Invalid 

Invalid path.

Removable 

Removable drive.

Fixed 

Fixed drive.

Remote 

Remote drive.

CdRom 

CD-ROM.

RamDisk 

RAM disk.

Cloud 

Cloud storage – files may be remote or locally stored, depending on user configuration.

Definition at line 1056 of file qgis.h.

◆ ElevationMapCombineMethod

enum class Qgis::ElevationMapCombineMethod : int
strong

Methods used to select the elevation when two elevation maps are combined.

Since
QGIS 3.30
Enumerator
HighestElevation 

Keep the highest elevation if it is not null.

NewerElevation 

Keep the new elevation regardless of its value if it is not null.

Definition at line 4661 of file qgis.h.

◆ EndCapStyle

enum class Qgis::EndCapStyle : int
strong

End cap styles for buffers.

Since
QGIS 3.22
Enumerator
Round 

Round cap.

Flat 

Flat cap (in line with start/end of line)

Square 

Square cap (extends past start/end of line by buffer distance)

Definition at line 2037 of file qgis.h.

◆ ExpressionType

enum class Qgis::ExpressionType
strong

Expression types.

Since
QGIS 3.32
Enumerator
Qgis 

Native QGIS expression.

PointCloud 

Point cloud expression.

RasterCalculator 

Raster calculator expression.

Since
QGIS 3.34

Definition at line 5222 of file qgis.h.

◆ FeatureAvailability

enum class Qgis::FeatureAvailability : int
strong

Possible return value for QgsFeatureSource::hasFeatures() to determine if a source is empty.

It is implemented as a three-value logic, so it can return if there are features available for sure, if there are no features available for sure or if there might be features available but there is no guarantee for this.

Note
Prior to QGIS 3.36 this was available as QgsFeatureSource::FeatureAvailability
Since
QGIS 3.36
Enumerator
NoFeaturesAvailable 

There are certainly no features available in this source.

FeaturesAvailable 

There is at least one feature available in this source.

FeaturesMaybeAvailable 

There may be features available in this source.

Definition at line 540 of file qgis.h.

◆ FeatureRendererFlag

enum class Qgis::FeatureRendererFlag : int
strong

Flags controlling behavior of vector feature renderers.

Since
QGIS 3.40
Enumerator
AffectsLabeling 

If present, indicates that the renderer will participate in the map labeling problem.

Definition at line 761 of file qgis.h.

◆ FeatureRequestFilterType

enum class Qgis::FeatureRequestFilterType : int
strong

Types of feature request filters.

Note
Prior to QGIS 3.36 this was available as QgsFeatureRequest::FilterType
Since
QGIS 3.36
Enumerator
NoFilter 

No filter is applied.

Fid 

Filter using feature ID.

Expression 

Filter using expression.

Fids 

Filter using feature IDs.

Definition at line 2138 of file qgis.h.

◆ FeatureRequestFlag

enum class Qgis::FeatureRequestFlag : int
strong

Flags for controlling feature requests.

Note
Prior to QGIS 3.36 this was available as QgsFeatureRequest::Flag
Since
QGIS 3.36
Enumerator
NoFlags 

No flags are set.

NoGeometry 

Geometry is not required. It may still be returned if e.g. required for a filter condition.

SubsetOfAttributes 

Fetch only a subset of attributes (setSubsetOfAttributes sets this flag)

ExactIntersect 

Use exact geometry intersection (slower) instead of bounding boxes.

IgnoreStaticNodesDuringExpressionCompilation 

If a feature request uses a filter expression which can be partially precalculated due to static nodes in the expression, setting this flag will prevent these precalculated values from being utilized during compilation of the filter for the backend provider. This flag significantly slows down feature requests and should be used for debugging purposes only.

Since
QGIS 3.18
EmbeddedSymbols 

Retrieve any embedded feature symbology.

Since
QGIS 3.20

Definition at line 2110 of file qgis.h.

◆ FeatureSymbologyExport

enum class Qgis::FeatureSymbologyExport : int
strong

Options for exporting features considering their symbology.

Note
Prior to QGIS 3.32 this was available as QgsVectorFileWriter::SymbologyExport.
Since
QGIS 3.32
Enumerator
NoSymbology 

Export only data.

PerFeature 

Keeps the number of features and export symbology per feature.

PerSymbolLayer 

Exports one feature per symbol layer (considering symbol levels)

Definition at line 5237 of file qgis.h.

◆ FieldConfigurationFlag

enum class Qgis::FieldConfigurationFlag : int
strong

Configuration flags for fields These flags are meant to be user-configurable and are not describing any information from the data provider.

Note
FieldConfigurationFlag are expressed in the negative forms so that default flags is NoFlag.
Since
QGIS 3.34
Enumerator
NoFlag 

No flag is defined.

NotSearchable 

Defines if the field is searchable (used in the locator search for instance)

HideFromWms 

Field is not available if layer is served as WMS from QGIS server.

HideFromWfs 

Field is not available if layer is served as WFS from QGIS server.

Definition at line 1650 of file qgis.h.

◆ FieldDomainMergePolicy

enum class Qgis::FieldDomainMergePolicy : int
strong

Merge policy for field domains.

When a feature is built by merging multiple features, defines how the value of attributes following the domain are computed.

Since
QGIS 3.26
Enumerator
DefaultValue 

Use default field value.

Sum 

Sum of values.

GeometryWeighted 

New values are computed as the weighted average of the source values.

Definition at line 3727 of file qgis.h.

◆ FieldDomainSplitPolicy

enum class Qgis::FieldDomainSplitPolicy : int
strong

Split policy for field domains.

When a feature is split into multiple parts, defines how the value of attributes following the domain are computed.

Since
QGIS 3.26
Enumerator
DefaultValue 

Use default field value.

Duplicate 

Duplicate original value.

GeometryRatio 

New values are computed by the ratio of their area/length compared to the area/length of the original feature.

UnsetField 

Clears the field value so that the data provider backend will populate using any backend triggers or similar logic.

Since
QGIS 3.30

Definition at line 3710 of file qgis.h.

◆ FieldDomainType

enum class Qgis::FieldDomainType : int
strong

Types of field domain.

Since
QGIS 3.26
Enumerator
Coded 

Coded field domain.

Range 

Numeric range field domain (min/max)

Glob 

Glob string pattern field domain.

Definition at line 3755 of file qgis.h.

◆ FieldDuplicatePolicy

enum class Qgis::FieldDuplicatePolicy : int
strong

Duplicate policy for fields.

When a feature is duplicated, defines how the value of attributes are computed.

Since
QGIS 3.38
Enumerator
DefaultValue 

Use default field value.

Duplicate 

Duplicate original value.

UnsetField 

Clears the field value so that the data provider backend will populate using any backend triggers or similar logic.

Since
QGIS 3.30

Definition at line 3742 of file qgis.h.

◆ FieldMetadataProperty

enum class Qgis::FieldMetadataProperty : int
strong

Standard field metadata values.

Since
QGIS 3.30
Enumerator
GeometryCrs 

Available for geometry field types with a specific associated coordinate reference system (as a QgsCoordinateReferenceSystem value)

GeometryWkbType 

Available for geometry field types which accept geometries of a specific WKB type only (as a QgsWkbTypes::Type value)

CustomProperty 

Starting point for custom user set properties.

Definition at line 1674 of file qgis.h.

◆ FieldOrigin

enum class Qgis::FieldOrigin : int
strong

Field origin.

Note
Prior to QGIS 3.38 this was available as QgsFields::FieldOrigin
Since
QGIS 3.38
Enumerator
Unknown 

The field origin has not been specified.

Provider 

Field originates from the underlying data provider of the vector layer.

Join 

Field originates from a joined layer.

Edit 

Field has been temporarily added in editing mode.

Expression 

Field is calculated from an expression.

Definition at line 1633 of file qgis.h.

◆ FileFilterType

enum class Qgis::FileFilterType : int
strong

Type of file filters.

Prior to QGIS 3.32 this was available as QgsProviderMetadata::FilterType

Since
QGIS 3.32
Enumerator
Vector 

Vector layers.

Raster 

Raster layers.

Mesh 

Mesh layers.

MeshDataset 

Mesh datasets.

PointCloud 

Point clouds.

Since
QGIS 3.18
VectorTile 

Vector tile layers.

Since
QGIS 3.32
TiledScene 

Tiled scene layers.

Since
QGIS 3.34

Definition at line 1284 of file qgis.h.

◆ FileOperationFlag

enum class Qgis::FileOperationFlag : int
strong

File operation flags.

Since
QGIS 3.22
Enumerator
IncludeMetadataFile 

Indicates that any associated .qmd metadata file should be included with the operation.

IncludeStyleFile 

Indicates that any associated .qml styling file should be included with the operation.

Definition at line 2180 of file qgis.h.

◆ FilePathType

enum class Qgis::FilePathType : int
strong

File path types.

Since
QGIS 3.22
Enumerator
Absolute 

Absolute path.

Relative 

Relative path.

Definition at line 1605 of file qgis.h.

◆ GdalResampleAlgorithm

enum class Qgis::GdalResampleAlgorithm : int
strong

Resampling algorithm to be used (equivalent to GDAL's enum GDALResampleAlg)

Note
RA_Max, RA_Min, RA_Median, RA_Q1 and RA_Q3 are available on GDAL >= 2.0 builds only
Since
QGIS 3.34
Enumerator
RA_NearestNeighbour 

Nearest neighbour (select on one input pixel)

RA_Bilinear 

Bilinear (2x2 kernel)

RA_Cubic 

Cubic Convolution Approximation (4x4 kernel)

RA_CubicSpline 

Cubic B-Spline Approximation (4x4 kernel)

RA_Lanczos 

Lanczos windowed sinc interpolation (6x6 kernel)

RA_Average 

Average (computes the average of all non-NODATA contributing pixels)

RA_Mode 

Mode (selects the value which appears most often of all the sampled points)

RA_Max 

Maximum (selects the maximum of all non-NODATA contributing pixels)

RA_Min 

Minimum (selects the minimum of all non-NODATA contributing pixels)

RA_Median 

Median (selects the median of all non-NODATA contributing pixels)

RA_Q1 

First quartile (selects the first quartile of all non-NODATA contributing pixels)

RA_Q3 

Third quartile (selects the third quartile of all non-NODATA contributing pixels)

Definition at line 5402 of file qgis.h.

◆ GeometryOperationResult

enum class Qgis::GeometryOperationResult : int
strong

Success or failure of a geometry operation.

This enum gives details about cause of failure.

Since
QGIS 3.22
Enumerator
Success 

Operation succeeded.

NothingHappened 

Nothing happened, without any error.

InvalidBaseGeometry 

The base geometry on which the operation is done is invalid or empty.

InvalidInputGeometryType 

The input geometry (ring, part, split line, etc.) has not the correct geometry type.

SelectionIsEmpty 

No features were selected.

SelectionIsGreaterThanOne 

More than one features were selected.

GeometryEngineError 

Geometry engine misses a method implemented or an error occurred in the geometry engine.

LayerNotEditable 

Cannot edit layer.

AddPartSelectedGeometryNotFound 

The selected geometry cannot be found.

AddPartNotMultiGeometry 

The source geometry is not multi.

AddRingNotClosed 

The input ring is not closed.

AddRingNotValid 

The input ring is not valid.

AddRingCrossesExistingRings 

The input ring crosses existing rings (it is not disjoint)

AddRingNotInExistingFeature 

The input ring doesn't have any existing ring to fit into.

SplitCannotSplitPoint 

Cannot split points.

GeometryTypeHasChanged 

Operation has changed geometry type.

Definition at line 1971 of file qgis.h.

◆ GeometryType

enum class Qgis::GeometryType : int
strong

The geometry types are used to group Qgis::WkbType in a coarse way.

Note
Prior to 3.30 this was available as QgsWkbTypes.GeometryType.
Since
QGIS 3.30
Enumerator
Point 

Points.

Line 

Lines.

Polygon 

Polygons.

Unknown 

Unknown types.

Null 

No geometry.

Definition at line 336 of file qgis.h.

◆ GeometryValidationEngine

enum class Qgis::GeometryValidationEngine : int
strong

Available engines for validating geometries.

Since
QGIS 3.22
Enumerator
QgisInternal 

Use internal QgsGeometryValidator method.

Geos 

Use GEOS validation methods.

Definition at line 2013 of file qgis.h.

◆ GeometryValidityFlag

enum class Qgis::GeometryValidityFlag : int
strong

Geometry validity check flags.

Since
QGIS 3.22
Enumerator
AllowSelfTouchingHoles 

Indicates that self-touching holes are permitted. OGC validity states that self-touching holes are NOT permitted, whilst other vendor validity checks (e.g. ESRI) permit self-touching holes.

Definition at line 2000 of file qgis.h.

◆ GeosCreationFlag

enum class Qgis::GeosCreationFlag : int
strong

Flags which control geos geometry creation behavior.

Since
QGIS 3.40
Enumerator
RejectOnInvalidSubGeometry 

Don't allow geometries with invalid sub-geometries to be created.

SkipEmptyInteriorRings 

Skip any empty polygon interior ring.

Definition at line 2063 of file qgis.h.

◆ GnssConstellation

enum class Qgis::GnssConstellation
strong

GNSS constellation.

Since
QGIS 3.30
Enumerator
Unknown 

Unknown/other system.

Gps 

Global Positioning System (GPS)

Glonass 

Global Navigation Satellite System (GLONASS)

Galileo 

Galileo.

BeiDou 

BeiDou.

Qzss 

Quasi Zenith Satellite System (QZSS)

Navic 

Indian Regional Navigation Satellite System (IRNSS) / NAVIC.

Sbas 

SBAS.

Definition at line 1833 of file qgis.h.

◆ GpsConnectionType

enum class Qgis::GpsConnectionType : int
strong

GPS connection types.

Since
QGIS 3.30
Enumerator
Automatic 

Automatically detected GPS device connection.

Internal 

Internal GPS device.

Serial 

Serial port GPS device.

Gpsd 

GPSD device.

Definition at line 1789 of file qgis.h.

◆ GpsFeatureType

enum class Qgis::GpsFeatureType : int
strong

GPS feature types.

Since
QGIS 3.22
Enumerator
Waypoint 

Waypoint.

Route 

Route.

Track 

Track.

Definition at line 1956 of file qgis.h.

◆ GpsFixStatus

enum class Qgis::GpsFixStatus : int
strong

GPS fix status.

Note
Prior to QGIS 3.30 this was available as QgsGpsInformation::FixStatus
Since
QGIS 3.30
Enumerator
NoData 

No fix data available.

NoFix 

GPS is not fixed.

Fix2D 

2D fix

Fix3D 

3D fix

Definition at line 1818 of file qgis.h.

◆ GpsInformationComponent

enum class Qgis::GpsInformationComponent : int
strong

GPS information component.

Since
QGIS 3.30
Enumerator
Location 

2D location (latitude/longitude), as a QgsPointXY value

Altitude 

Altitude/elevation above or below the mean sea level.

GroundSpeed 

Ground speed.

Bearing 

Bearing measured in degrees clockwise from true north to the direction of travel.

TotalTrackLength 

Total distance of current GPS track (available from QgsGpsLogger class only)

TrackDistanceFromStart 

Direct distance from first vertex in current GPS track to last vertex (available from QgsGpsLogger class only)

Pdop 

Dilution of precision.

Hdop 

Horizontal dilution of precision.

Vdop 

Vertical dilution of precision.

HorizontalAccuracy 

Horizontal accuracy in meters.

VerticalAccuracy 

Vertical accuracy in meters.

HvAccuracy 

3D RMS

SatellitesUsed 

Count of satellites used in obtaining the fix.

Timestamp 

Timestamp.

TrackStartTime 

Timestamp at start of current track (available from QgsGpsLogger class only)

TrackEndTime 

Timestamp at end (current point) of current track (available from QgsGpsLogger class only)

TrackDistanceSinceLastPoint 

Distance since last recorded location (available from QgsGpsLogger class only)

TrackTimeSinceLastPoint 

Time since last recorded location (available from QgsGpsLogger class only)

GeoidalSeparation 

Geoidal separation, the difference between the WGS-84 Earth ellipsoid and mean-sea-level (geoid), "-" means mean-sea-level below ellipsoid.

EllipsoidAltitude 

Altitude/elevation above or below the WGS-84 Earth ellipsoid.

Definition at line 1885 of file qgis.h.

◆ GpsNavigationStatus

enum class Qgis::GpsNavigationStatus : int
strong

GPS navigation status.

Since
QGIS 3.38
Enumerator
NotValid 

Navigation status not valid.

Safe 

Safe.

Caution 

Caution.

Unsafe 

Unsafe.

Definition at line 1871 of file qgis.h.

◆ GpsQualityIndicator

enum class Qgis::GpsQualityIndicator
strong

GPS signal quality indicator.

Since
QGIS 3.22.6
Enumerator
Unknown 

Unknown.

Invalid 

Invalid.

GPS 

Standalone.

DGPS 

Differential GPS.

PPS 

PPS.

RTK 

Real-time-kynematic.

FloatRTK 

Float real-time-kynematic.

Estimated 

Estimated.

Manual 

Manual input mode.

Simulation 

Simulation mode.

Definition at line 1851 of file qgis.h.

◆ GradientColorSource

enum class Qgis::GradientColorSource : int
strong

Gradient color sources.

Note
Prior to QGIS 3.24 this was available as QgsGradientFillSymbolLayer::GradientColorType
Since
QGIS 3.24
Enumerator
SimpleTwoColor 

Simple two color gradient.

ColorRamp 

Gradient color ramp.

Definition at line 3037 of file qgis.h.

◆ GradientSpread

enum class Qgis::GradientSpread : int
strong

Gradient spread options, which control how gradients are rendered outside of their start and end points.

Note
Prior to QGIS 3.24 this was available as QgsGradientFillSymbolLayer::GradientSpread
Since
QGIS 3.24
Enumerator
Pad 

Pad out gradient using colors at endpoint of gradient.

Reflect 

Reflect gradient.

Repeat 

Repeat gradient.

Definition at line 3081 of file qgis.h.

◆ GradientType

enum class Qgis::GradientType : int
strong

Gradient types.

Note
Prior to QGIS 3.24 this was available as QgsGradientFillSymbolLayer::GradientType
Since
QGIS 3.24
Enumerator
Linear 

Linear gradient.

Radial 

Radial (circular) gradient.

Conical 

Conical (polar) gradient.

Definition at line 3051 of file qgis.h.

◆ GraduatedMethod

enum class Qgis::GraduatedMethod : int
strong

Methods for modifying symbols by range in a graduated symbol renderer.

Note
Prior to QGIS 3.26 this was available as QgsGraduatedSymbolRenderer::GraduatedMethod
Since
QGIS 3.26
Enumerator
Color 

Alter color of symbols.

Size 

Alter size of symbols.

Definition at line 3165 of file qgis.h.

◆ HistoryProviderBackend

enum class Qgis::HistoryProviderBackend : int
strong

History provider backends.

Since
QGIS 3.24
Enumerator
LocalProfile 

Local profile.

Definition at line 3336 of file qgis.h.

◆ HttpMethod

enum class Qgis::HttpMethod : int
strong

Different methods of HTTP requests.

Since
QGIS 3.22
Enumerator
Get 

GET method.

Post 

POST method.

Definition at line 970 of file qgis.h.

◆ InputControllerType

enum class Qgis::InputControllerType : int
strong

Input controller types.

Since
QGIS 3.34
Enumerator
Map2D 

2D map controller

Map3D 

3D map controller

Definition at line 5067 of file qgis.h.

◆ InvalidGeometryCheck

enum class Qgis::InvalidGeometryCheck : int
strong

Methods for handling of features with invalid geometries.

Note
Prior to QGIS 3.36 this was available as QgsFeatureRequest::InvalidGeometryCheck
Since
QGIS 3.36
Enumerator
NoCheck 

No invalid geometry checking.

SkipInvalid 

Skip any features with invalid geometry. This requires a slow geometry validity check for every feature.

AbortOnInvalid 

Close iterator on encountering any features with invalid geometry. This requires a slow geometry validity check for every feature.

Definition at line 2154 of file qgis.h.

◆ JoinStyle

enum class Qgis::JoinStyle : int
strong

Join styles for buffers.

Since
QGIS 3.22
Enumerator
Round 

Use rounded joins.

Miter 

Use mitered joins.

Bevel 

Use beveled joins.

Definition at line 2050 of file qgis.h.

◆ LabelingFlag

enum class Qgis::LabelingFlag : int
strong

Various flags that affect drawing and placement of labels.

Prior to QGIS 3.30 this was available as QgsLabelingEngineSettings::Flag

Since
QGIS 3.30
Enumerator
UseAllLabels 

Whether to draw all labels even if there would be collisions.

UsePartialCandidates 

Whether to use also label candidates that are partially outside of the map view.

RenderOutlineLabels 

Whether to render labels as text or outlines. Deprecated and of QGIS 3.4.3 - use defaultTextRenderFormat() instead.

DrawLabelRectOnly 

Whether to only draw the label rect and not the actual label text (used for unit tests)

DrawCandidates 

Whether to draw rectangles of generated candidates (good for debugging)

DrawUnplacedLabels 

Whether to render unplaced labels as an indicator/warning for users.

CollectUnplacedLabels 

Whether unplaced labels should be collected in the labeling results (regardless of whether they are being rendered)

Since
QGIS 3.20
DrawLabelMetrics 

Whether to render label metric guides (for debugging)

Since
QGIS 3.30

Definition at line 2721 of file qgis.h.

◆ LabelLinePlacementFlag

enum class Qgis::LabelLinePlacementFlag : int
strong

Line placement flags, which control how candidates are generated for a linear feature.

Note
Prior to QGIS 3.32 this was available as QgsLabeling::LinePlacementFlag
Since
QGIS 3.32
Enumerator
OnLine 

Labels can be placed directly over a line feature.

AboveLine 

Labels can be placed above a line feature. Unless MapOrientation is also specified this mode respects the direction of the line feature, so a line from right to left labels will have labels placed placed below the line feature.

BelowLine 

Labels can be placed below a line feature. Unless MapOrientation is also specified this mode respects the direction of the line feature, so a line from right to left labels will have labels placed placed above the line feature.

MapOrientation 

Signifies that the AboveLine and BelowLine flags should respect the map's orientation rather than the feature's orientation. For example, AboveLine will always result in label's being placed above a line, regardless of the line's direction.

Definition at line 1205 of file qgis.h.

◆ LabelMultiLineAlignment

enum class Qgis::LabelMultiLineAlignment : int
strong

Text alignment for multi-line labels.

Note
Prior to QGIS 3.26 this was available as QgsPalLayerSettings::MultiLineAlign
Since
QGIS 3.26
Enumerator
Left 

Left align.

Center 

Center align.

Right 

Right align.

FollowPlacement 

Alignment follows placement of label, e.g., labels to the left of a feature will be drawn with right alignment.

Justify 

Justified.

Definition at line 1268 of file qgis.h.

◆ LabelOffsetType

enum class Qgis::LabelOffsetType : int
strong

Behavior modifier for label offset and distance, only applies in some label placement modes.

Note
Prior to QGIS 3.26 this was available as QgsPalLayerSettings::OffsetType
Since
QGIS 3.26
Enumerator
FromPoint 

Offset distance applies from point geometry.

FromSymbolBounds 

Offset distance applies from rendered symbol bounds.

Definition at line 1171 of file qgis.h.

◆ LabelOverlapHandling

enum class Qgis::LabelOverlapHandling : int
strong

Label overlap handling.

Since
QGIS 3.26
Enumerator
PreventOverlap 

Do not allow labels to overlap other labels.

AllowOverlapIfRequired 

Avoids overlapping labels when possible, but permit overlaps if labels for features cannot otherwise be placed.

AllowOverlapAtNoCost 

Labels may freely overlap other labels, at no cost.

Definition at line 1097 of file qgis.h.

◆ LabelPlacement

enum class Qgis::LabelPlacement : int
strong

Placement modes which determine how label candidates are generated for a feature.

Note
Prior to QGIS 3.26 this was available as QgsPalLayerSettings::Placement
Since
QGIS 3.26
Enumerator
AroundPoint 

Arranges candidates in a circle around a point (or centroid of a polygon). Applies to point or polygon layers only.

OverPoint 

Arranges candidates over a point (or centroid of a polygon), or at a preset offset from the point. Applies to point or polygon layers only.

Line 

Arranges candidates parallel to a generalised line representing the feature or parallel to a polygon's perimeter. Applies to line or polygon layers only.

Curved 

Arranges candidates following the curvature of a line feature. Applies to line layers only.

Horizontal 

Arranges horizontal candidates scattered throughout a polygon feature. Applies to polygon layers only.

Free 

Arranges candidates scattered throughout a polygon feature. Candidates are rotated to respect the polygon's orientation. Applies to polygon layers only.

OrderedPositionsAroundPoint 

Candidates are placed in predefined positions around a point. Preference is given to positions with greatest cartographic appeal, e.g., top right, bottom right, etc. Applies to point layers only.

PerimeterCurved 

Arranges candidates following the curvature of a polygon's boundary. Applies to polygon layers only.

OutsidePolygons 

Candidates are placed outside of polygon boundaries. Applies to polygon layers only.

Since
QGIS 3.14

Definition at line 1124 of file qgis.h.

◆ LabelPlacementEngineVersion

enum class Qgis::LabelPlacementEngineVersion : int
strong

Labeling placement engine version.

Prior to QGIS 3.30 this was available as QgsLabelingEngineSettings::PlacementEngineVersion

Since
QGIS 3.30
Enumerator
Version1 

Version 1, matches placement from QGIS <= 3.10.1.

Version2 

Version 2 (default for new projects since QGIS 3.12)

Definition at line 2752 of file qgis.h.

◆ LabelPolygonPlacementFlag

enum class Qgis::LabelPolygonPlacementFlag : int
strong

Polygon placement flags, which control how candidates are generated for a polygon feature.

Note
Prior to QGIS 3.32 this was available as QgsLabeling::PolygonPlacementFlag
Since
QGIS 3.32
Enumerator
AllowPlacementOutsideOfPolygon 

Labels can be placed outside of a polygon feature.

AllowPlacementInsideOfPolygon 

Labels can be placed inside a polygon feature.

Definition at line 1230 of file qgis.h.

◆ LabelPredefinedPointPosition

enum class Qgis::LabelPredefinedPointPosition : int
strong

Positions for labels when using the Qgis::LabelPlacement::OrderedPositionsAroundPoint placement mode.

Note
Prior to QGIS 3.26 this was available as QgsPalLayerSettings::PredefinedPointPosition
Since
QGIS 3.26
Enumerator
TopLeft 

Label on top-left of point.

TopSlightlyLeft 

Label on top of point, slightly left of center.

TopMiddle 

Label directly above point.

TopSlightlyRight 

Label on top of point, slightly right of center.

TopRight 

Label on top-right of point.

MiddleLeft 

Label on left of point.

MiddleRight 

Label on right of point.

BottomLeft 

Label on bottom-left of point.

BottomSlightlyLeft 

Label below point, slightly left of center.

BottomMiddle 

Label directly below point.

BottomSlightlyRight 

Label below point, slightly right of center.

BottomRight 

Label on bottom right of point.

OverPoint 

Label directly centered over point.

Since
QGIS 3.38

Definition at line 1145 of file qgis.h.

◆ LabelPrioritization

enum class Qgis::LabelPrioritization : int
strong

Label prioritization.

Since
QGIS 3.38
Enumerator
PreferCloser 

Prefer closer labels, falling back to alternate positions before larger distances.

PreferPositionOrdering 

Prefer labels follow position ordering, falling back to more distance labels before alternate positions.

Definition at line 1110 of file qgis.h.

◆ LabelQuadrantPosition

enum class Qgis::LabelQuadrantPosition : int
strong

Label quadrant positions.

Note
Prior to QGIS 3.26 this was available as QgsPalLayerSettings::QuadrantPosition
Since
QGIS 3.26
Enumerator
AboveLeft 

Above left.

Above 

Above center.

AboveRight 

Above right.

Left 

Left middle.

Over 

Center middle.

Right 

Right middle.

BelowLeft 

Below left.

Below 

Below center.

BelowRight 

Below right.

Definition at line 1185 of file qgis.h.

◆ LayerFilter

enum class Qgis::LayerFilter : int
strong

Filter for layers.

Since
QGIS 3.34. Prior to 3.34 this was available as QgsMapLayerProxyModel::Filter.
Enumerator
RasterLayer 
NoGeometry 
PointLayer 
LineLayer 
PolygonLayer 
HasGeometry 
VectorLayer 
PluginLayer 
WritableLayer 
MeshLayer 

QgsMeshLayer.

Since
QGIS 3.6
VectorTileLayer 

QgsVectorTileLayer.

Since
QGIS 3.14
PointCloudLayer 

QgsPointCloudLayer.

Since
QGIS 3.18
AnnotationLayer 

QgsAnnotationLayer.

Since
QGIS 3.22
TiledSceneLayer 

QgsTiledSceneLayer.

Since
QGIS 3.34
All 

All layers.

SpatialLayer 

All spatial layers.

Since
QGIS 3.24

Definition at line 187 of file qgis.h.

◆ LayerTreeFilterFlag

enum class Qgis::LayerTreeFilterFlag : int
strong

Layer tree filter flags.

Since
QGIS 3.32
Enumerator
SkipVisibilityCheck 

If set, the standard visibility check should be skipped.

Definition at line 4320 of file qgis.h.

◆ LayerTreeInsertionMethod

enum class Qgis::LayerTreeInsertionMethod : int
strong

Layer tree insertion methods.

Since
QGIS 3.30
Enumerator
AboveInsertionPoint 

Layers are added in the tree above the insertion point.

TopOfTree 

Layers are added at the top of the layer tree.

OptimalInInsertionGroup 

Layers are added at optimal locations across the insertion point's group.

Definition at line 4307 of file qgis.h.

◆ LayerType

enum class Qgis::LayerType : int
strong

Types of layers that can be added to a map.

Since
QGIS 3.30. Prior to 3.30 this was available as QgsMapLayerType.
Enumerator
Vector 

Vector layer.

Raster 

Raster layer.

Plugin 

Plugin based layer.

Mesh 

Mesh layer. Added in QGIS 3.2.

VectorTile 

Vector tile layer. Added in QGIS 3.14.

Annotation 

Contains freeform, georeferenced annotations. Added in QGIS 3.16.

PointCloud 

Point cloud layer. Added in QGIS 3.18.

Group 

Composite group layer. Added in QGIS 3.24.

TiledScene 

Tiled scene layer. Added in QGIS 3.34.

Definition at line 168 of file qgis.h.

◆ LayoutUnit

enum class Qgis::LayoutUnit : int
strong

Layout measurement units.

Note
Prior to QGIS 3.30 this was available as QgsUnitTypes::LayoutUnit.
Since
QGIS 3.30
Enumerator
Millimeters 

Millimeters.

Centimeters 

Centimeters.

Meters 

Meters.

Inches 

Inches.

Feet 

Feet.

Points 

Typographic points.

Picas 

Typographic picas.

Pixels 

Pixels.

Definition at line 4949 of file qgis.h.

◆ LayoutUnitType

enum class Qgis::LayoutUnitType : int
strong

Types of layout units.

Note
Prior to QGIS 3.30 this was available as QgsUnitTypes::LayoutUnitType.
Since
QGIS 3.30
Enumerator
PaperUnits 

Unit is a paper based measurement unit.

ScreenUnits 

Unit is a screen based measurement unit.

Definition at line 4969 of file qgis.h.

◆ LegendJsonRenderFlag

enum class Qgis::LegendJsonRenderFlag : int
strong

Legend JSON export flags.

Flags to control JSON attributes when exporting a legend in JSON format.

Since
QGIS 3.36
Enumerator
ShowRuleDetails 

If set, the rule expression of a rule based renderer legend item will be added to the JSON.

Definition at line 4342 of file qgis.h.

◆ LightSourceType

enum class Qgis::LightSourceType : int
strong

Light source types for 3D scenes.

Since
QGIS 3.26
Enumerator
Point 

Point light source.

Directional 

Directional light source.

Definition at line 3942 of file qgis.h.

◆ LinearReferencingLabelSource

enum class Qgis::LinearReferencingLabelSource : int
strong

Defines what quantity to use for the labels shown in a linear referencing symbol layer.

Since
QGIS 3.40
Enumerator
CartesianDistance2D 

Distance along line, calculated using Cartesian calculations on a 2D plane.

Z values.

M values.

Definition at line 3022 of file qgis.h.

◆ LinearReferencingPlacement

enum class Qgis::LinearReferencingPlacement : int
strong

Defines how/where the labels should be placed in a linear referencing symbol layer.

Since
QGIS 3.40
Enumerator
IntervalCartesian2D 

Place labels at regular intervals, using Cartesian distance calculations on a 2D plane.

IntervalZ 

Place labels at regular intervals, linearly interpolated using Z values.

IntervalM 

Place labels at regular intervals, linearly interpolated using M values.

Vertex 

Place labels on every vertex in the line.

Definition at line 3008 of file qgis.h.

◆ LineClipMode

enum class Qgis::LineClipMode : int
strong

Line clipping modes.

Since
QGIS 3.24
Enumerator
ClipPainterOnly 

Applying clipping on the painter only (i.e. line endpoints will coincide with polygon bounding box, but will not be part of the visible portion of the line)

ClipToIntersection 

Clip lines to intersection with polygon shape (slower) (i.e. line endpoints will coincide with polygon exterior)

NoClipping 

Lines are not clipped, will extend to shape's bounding box.

Definition at line 3122 of file qgis.h.

◆ LineExtensionSide

enum class Qgis::LineExtensionSide : int
strong

Designates whether the line extension constraint is currently soft locked with the previous or next vertex of the locked one.

Since
QGIS 3.26
Enumerator
BeforeVertex 

Lock to previous vertex.

AfterVertex 

Lock to next vertex.

NoVertex 

Don't lock to vertex.

Definition at line 3860 of file qgis.h.

◆ LoadStyleFlag

enum class Qgis::LoadStyleFlag : int
strong

Flags for loading layer styles.

Since
QGIS 3.38
Enumerator
IgnoreMissingStyleErrors 

If the style is missing, then don't flag it as an error. This flag can be used when the caller is not certain that a style exists, and accordingly a failure to find the style does not indicate an issue with loading the style itself.

Definition at line 214 of file qgis.h.

◆ MakeValidMethod

enum class Qgis::MakeValidMethod : int
strong

Algorithms to use when repairing invalid geometries.

Since
QGIS 3.28
Enumerator
Linework 

Combines all rings into a set of noded lines and then extracts valid polygons from that linework.

Structure 

Structured method, first makes all rings valid and then merges shells and subtracts holes from shells to generate valid result. Assumes that holes and shells are correctly categorized. Requires GEOS 3.10+.

Definition at line 2096 of file qgis.h.

◆ MapBoxGlStyleSourceType

enum class Qgis::MapBoxGlStyleSourceType : int
strong

Available MapBox GL style source types.

Since
QGIS 3.28
Enumerator
Vector 

Vector source.

Raster 

Raster source.

RasterDem 

Raster DEM source.

GeoJson 

GeoJSON source.

Image 

Image source.

Video 

Video source.

Unknown 

Other/unknown source type.

Definition at line 4138 of file qgis.h.

◆ MapCanvasFlag

enum class Qgis::MapCanvasFlag : int
strong

Flags controlling behavior of map canvases.

Since
QGIS 3.40
Enumerator
ShowMainAnnotationLayer 

The project's main annotation layer should be rendered in the canvas.

Definition at line 3291 of file qgis.h.

◆ MapLayerActionFlag

enum class Qgis::MapLayerActionFlag : int
strong

Map layer action flags.

Prior to QGIS 3.30 this was available as QgsMapLayerAction::Flag

Since
QGIS 3.30
Enumerator
EnabledOnlyWhenEditable 

Action should be shown only for editable layers.

Definition at line 4398 of file qgis.h.

◆ MapLayerActionTarget

enum class Qgis::MapLayerActionTarget : int
strong

Map layer action targets.

Prior to QGIS 3.30 this was available as QgsMapLayerAction::Target

Since
QGIS 3.30
Enumerator
Layer 

Action targets a complete layer.

SingleFeature 

Action targets a single feature from a layer.

MultipleFeatures 

Action targets multiple features from a layer.

AllActions 

Definition at line 4372 of file qgis.h.

◆ MapLayerProperty

enum class Qgis::MapLayerProperty : int
strong

Generic map layer properties.

Since
QGIS 3.22
Enumerator
UsersCannotToggleEditing 

Indicates that users are not allowed to toggle editing for this layer. Note that this does not imply that the layer is non-editable (see isEditable(), supportsEditing() ), rather that the editable status of the layer cannot be changed by users manually.

Since
QGIS 3.22
IsBasemapLayer 

Layer is considered a 'basemap' layer, and certain properties of the layer should be ignored when calculating project-level properties. For instance, the extent of basemap layers is ignored when calculating the extent of a project, as these layers are typically global and extend outside of a project's area of interest.

Since
QGIS 3.26

Definition at line 2195 of file qgis.h.

◆ MapLayerRendererFlag

enum class Qgis::MapLayerRendererFlag : int
strong

Flags which control how map layer renderers behave.

Since
QGIS 3.34
Enumerator
RenderPartialOutputs 

The renderer benefits from rendering temporary in-progress preview renders. These are temporary results which will be used for the layer during rendering in-progress compositions, which will differ from the final layer render. They can be used for showing overlays or other information to users which help inform them about what is actually occurring during a slow layer render, but where these overlays and additional content is not wanted in the final layer renders. Another use case is rendering unsorted results as soon as they are available, before doing a final sorted render of the entire layer contents.

RenderPartialOutputOverPreviousCachedImage 

When rendering temporary in-progress preview renders, these preview renders can be drawn over any previously cached layer render we have for the same region. This can allow eg a low-resolution zoomed in version of the last map render to be used as a base painting surface to overdraw with incremental preview render outputs. If not set, an empty image will be used as the starting point for the render preview image.

AffectsLabeling 

The layer rendering will interact with the map labeling.

Since
QGIS 3.40

Definition at line 2683 of file qgis.h.

◆ MapRecenteringMode

enum class Qgis::MapRecenteringMode
strong

Modes for recentering map canvases.

Since
QGIS 3.30
Enumerator
Always 

Always recenter map.

WhenOutsideVisibleExtent 

Only recenter map when new center would be outside of current visible extent.

Never 

Never recenter map.

Definition at line 3323 of file qgis.h.

◆ MapSettingsFlag

enum class Qgis::MapSettingsFlag : int
strong

Flags which adjust the way maps are rendered.

Since
QGIS 3.22
Enumerator
Antialiasing 

Enable anti-aliasing for map rendering.

DrawEditingInfo 

Enable drawing of vertex markers for layers in editing mode.

ForceVectorOutput 

Vector graphics should not be cached and drawn as raster images.

UseAdvancedEffects 

Enable layer opacity and blending effects.

DrawLabeling 

Enable drawing of labels on top of the map.

UseRenderingOptimization 

Enable vector simplification and other rendering optimizations.

DrawSelection 

Whether vector selections should be shown in the rendered map.

DrawSymbolBounds 

Draw bounds of symbols (for debugging/testing)

RenderMapTile 

Draw map such that there are no problems between adjacent tiles.

RenderPartialOutput 

Whether to make extra effort to update map image with partially rendered layers (better for interactive map canvas). Added in QGIS 3.0.

RenderPreviewJob 

Render is a 'canvas preview' render, and shortcuts should be taken to ensure fast rendering.

RenderBlocking 

Render and load remote sources in the same thread to ensure rendering remote sources (svg and images). WARNING: this flag must NEVER be used from GUI based applications (like the main QGIS application) or crashes will result. Only for use in external scripts or QGIS server.

LosslessImageRendering 

Render images losslessly whenever possible, instead of the default lossy jpeg rendering used for some destination devices (e.g. PDF). This flag only works with builds based on Qt 5.13 or later.

Render3DMap 

Render is for a 3D map.

HighQualityImageTransforms 

Enable high quality image transformations, which results in better appearance of scaled or rotated raster components of a map.

Since
QGIS 3.24
SkipSymbolRendering 

Disable symbol rendering while still drawing labels if enabled.

Since
QGIS 3.24
ForceRasterMasks 

Force symbol masking to be applied using a raster method. This is considerably faster when compared to the vector method, but results in a inferior quality output.

Since
QGIS 3.26.1
RecordProfile 

Enable run-time profiling while rendering.

Since
QGIS 3.34
AlwaysUseGlobalMasks 

When applying clipping paths for selective masking, always use global ("entire map") paths, instead of calculating local clipping paths per rendered feature. This results in considerably more complex vector exports in all current Qt versions. This flag only applies to vector map exports.

Since
QGIS 3.38

Definition at line 2616 of file qgis.h.

◆ MapToolUnit

enum class Qgis::MapToolUnit : int
strong

Type of unit of tolerance value from settings.

For map (project) units, use MapToolUnit::Project.

Since
QGIS 3.32
Enumerator
Layer 

Layer unit value.

Pixels 

Pixels unit of tolerance.

Project 

Map (project) units.

Definition at line 4727 of file qgis.h.

◆ MarkerClipMode

enum class Qgis::MarkerClipMode : int
strong

Marker clipping modes.

Since
QGIS 3.24
Enumerator
NoClipping 

No clipping, render complete markers.

Shape 

Clip to polygon shape.

CentroidWithin 

Render complete markers wherever their centroid falls within the polygon shape.

CompletelyWithin 

Render complete markers wherever the completely fall within the polygon shape.

Definition at line 3108 of file qgis.h.

◆ MarkerLinePlacement

enum class Qgis::MarkerLinePlacement : int
strong

Defines how/where the symbols should be placed on a line.

Note
Prior to QGIS 3.24 this was available as QgsTemplatedLineSymbolLayerBase::Placement
Since
QGIS 3.24
Enumerator
Interval 

Place symbols at regular intervals.

Vertex 

Place symbols on every vertex in the line.

LastVertex 

Place symbols on the last vertex in the line.

FirstVertex 

Place symbols on the first vertex in the line.

CentralPoint 

Place symbols at the mid point of the line.

CurvePoint 

Place symbols at every virtual curve point in the line (used when rendering curved geometry types only)

SegmentCenter 

Place symbols at the center of every line segment.

InnerVertices 

Inner vertices (i.e. all vertices except the first and last vertex)

Since
QGIS 3.24

Definition at line 2988 of file qgis.h.

◆ MarkerShape

enum class Qgis::MarkerShape : int
strong

Marker shapes.

Note
Prior to QGIS 3.24 this was available as QgsSimpleMarkerSymbolLayerBase::Shape
Since
QGIS 3.24
Enumerator
Square 

Square.

Diamond 

Diamond.

Pentagon 

Pentagon.

Hexagon 

Hexagon.

Triangle 

Triangle.

EquilateralTriangle 

Equilateral triangle.

Star 

Star.

Arrow 

Arrow.

Circle 

Circle.

Cross 

Cross (lines only)

CrossFill 

Solid filled cross.

Cross2 

Rotated cross (lines only), 'x' shape.

Line 

Vertical line.

ArrowHead 

Right facing arrow head (unfilled, lines only)

ArrowHeadFilled 

Right facing filled arrow head.

SemiCircle 

Semi circle (top half)

ThirdCircle 

One third circle (top left third)

QuarterCircle 

Quarter circle (top left quarter)

QuarterSquare 

Quarter square (top left quarter)

HalfSquare 

Half square (left half)

DiagonalHalfSquare 

Diagonal half square (bottom left half)

RightHalfTriangle 

Right half of triangle.

LeftHalfTriangle 

Left half of triangle.

Octagon 

Octagon.

Since
QGIS 3.18
SquareWithCorners 

A square with diagonal corners.

Since
QGIS 3.18
AsteriskFill 

A filled asterisk shape.

Since
QGIS 3.18
HalfArc 

A line-only half arc.

Since
QGIS 3.20
ThirdArc 

A line-only one third arc.

Since
QGIS 3.20
QuarterArc 

A line-only one quarter arc.

Since
QGIS 3.20
ParallelogramRight 

Parallelogram that slants right.

Since
QGIS 3.28
ParallelogramLeft 

Parallelogram that slants left.

Since
QGIS 3.28
Trapezoid 

Trapezoid.

Since
QGIS 3.28
Shield 

A shape consisting of a triangle attached to a rectangle.

Since
QGIS 3.28
DiamondStar 

A 4-sided star.

Since
QGIS 3.28
Heart 

Heart.

Since
QGIS 3.28
Decagon 

Decagon.

Since
QGIS 3.28
RoundedSquare 

A square with rounded corners.

Since
QGIS 3.28

Definition at line 2939 of file qgis.h.

◆ MeshEditingErrorType

enum class Qgis::MeshEditingErrorType : int
strong

Type of error that can occur during mesh frame editing.

Since
QGIS 3.22
Enumerator
NoError 

No type.

InvalidFace 

An error occurs due to an invalid face (for example, vertex indexes are unordered)

TooManyVerticesInFace 

A face has more vertices than the maximum number supported per face.

FlatFace 

A flat face is present.

UniqueSharedVertex 

A least two faces share only one vertices.

InvalidVertex 

An error occurs due to an invalid vertex (for example, vertex index is out of range the available vertex)

ManifoldFace 

ManifoldFace.

Definition at line 1588 of file qgis.h.

◆ MeshElevationMode

enum class Qgis::MeshElevationMode : int
strong

Mesh layer elevation modes.

Since
QGIS 3.38
Enumerator
FixedElevationRange 

Layer has a fixed elevation range.

FromVertices 

Elevation should be taken from mesh vertices.

FixedRangePerGroup 

Layer has a fixed (manually specified) elevation range per group.

Definition at line 3834 of file qgis.h.

◆ MeshRangeExtent

enum class Qgis::MeshRangeExtent : int
strong

Describes the extent used to compute mesh ranges (min/max values).

Since
QGIS 3.42
Enumerator
WholeMesh 

Whole mesh is used to compute statistics.

FixedCanvas 

Current extent of the canvas (at the time of computation) is used to compute statistics.

UpdatedCanvas 

Constantly updated extent of the canvas is used to compute statistics.

Definition at line 5736 of file qgis.h.

◆ MeshRangeLimit

enum class Qgis::MeshRangeLimit : int
strong

Describes the limits used to compute mesh ranges (min/max values).

Since
QGIS 3.42
Enumerator
NotSet 

User defined.

MinimumMaximum 

Real min-max values.

Definition at line 5724 of file qgis.h.

◆ MessageLevel

Level for messages This will be used both for message log and message bar in application.

Enumerator
Info 

Information message.

Warning 

Warning message.

Critical 

Critical/error message.

Success 

Used for reporting a successful operation.

NoLevel 

No level.

Definition at line 153 of file qgis.h.

◆ MetadataDateType

enum class Qgis::MetadataDateType
strong

Date types for metadata.

Since
QGIS 3.30
Enumerator
Created 

Date created.

Published 

Date published.

Revised 

Date revised.

Superseded 

Date superseded.

Definition at line 4439 of file qgis.h.

◆ MouseHandlesAction

enum class Qgis::MouseHandlesAction : int
strong

Action to be performed by the mouse handles.

Since
QGIS 3.42
Enumerator
MoveItem 

Move item.

ResizeUp 

Resize up (Top handle)

ResizeDown 

Resize down (Bottom handle)

ResizeLeft 

Resize left (Left handle)

ResizeRight 

Resize right (Right handle)

ResizeLeftUp 

Resize left up (Top left handle)

ResizeRightUp 

Resize right up (Top right handle)

ResizeLeftDown 

Resize left down (Bottom left handle)

ResizeRightDown 

Resize right down (Bottom right handle)

SelectItem 

Select item.

NoAction 

No action.

Definition at line 5704 of file qgis.h.

◆ NavigationMode

enum class Qgis::NavigationMode : int
strong

The navigation mode used by 3D cameras.

Since
QGIS 3.30
Enumerator
TerrainBased 

The default navigation based on the terrain.

Walk 

Uses WASD keys or arrows to navigate in walking (first person) manner.

Definition at line 3954 of file qgis.h.

◆ PictureFormat

enum class Qgis::PictureFormat : int
strong

Picture formats.

Note
Prior to QGIS 3.40 this was available as QgsLayoutItemPicture::Format.
Since
QGIS 3.40
Enumerator
SVG 

SVG image.

Raster 

Raster image.

Unknown 

Invalid or unknown image type.

Definition at line 4983 of file qgis.h.

◆ PlaybackOperation

enum class Qgis::PlaybackOperation : int
strong

Media playback operations.

Since
QGIS 3.36
Enumerator
SkipToStart 

Jump to start of playback.

PreviousFrame 

Step to previous frame.

PlayReverse 

Play in reverse.

Pause 

Pause playback.

PlayForward 

Play forward.

NextFrame 

Step to next frame.

SkipToEnd 

Jump to end of playback.

Definition at line 2477 of file qgis.h.

◆ PlotAxisSuffixPlacement

enum class Qgis::PlotAxisSuffixPlacement
strong

Placement options for suffixes in the labels for axis of plots.

Since
QGIS 3.32
Enumerator
NoLabels 

Do not place suffixes.

EveryLabel 

Place suffix after every value label.

FirstLabel 

Place suffix after the first label value only.

LastLabel 

Place suffix after the last label value only.

FirstAndLastLabels 

Place suffix after the first and last label values only.

Definition at line 3177 of file qgis.h.

◆ PlotToolFlag

enum class Qgis::PlotToolFlag : int
strong

Flags that control the way the QgsPlotTools operate.

Since
QGIS 3.26
Enumerator
ShowContextMenu 

Show a context menu when right-clicking with the tool.

Definition at line 3907 of file qgis.h.

◆ Point3DShape

enum class Qgis::Point3DShape : int
strong

3D point shape types.

Note
Prior to QGIS 3.36 this was available as QgsPoint3DSymbol::Shape
Since
QGIS 3.36
Enumerator
Cylinder 

Cylinder.

Sphere 

Sphere.

Cone 

Cone.

Cube 

Cube.

Torus 

Torus.

Plane 

Flat plane.

ExtrudedText 

Extruded text.

Model 

Model.

Billboard 

Billboard.

Definition at line 3923 of file qgis.h.

◆ PointCloudAccessType

enum class Qgis::PointCloudAccessType : int
strong

The access type of the data, local is for local files and remote for remote files (over HTTP).

See also
QgsPointCloudIndex
Since
QGIS 3.42
Enumerator
Local 

Local means the source is a local file on the machine.

Remote 

Remote means it's loaded through a protocol like HTTP.

Definition at line 5750 of file qgis.h.

◆ PointCloudDrawOrder

enum class Qgis::PointCloudDrawOrder : int
strong

Pointcloud rendering order for 2d views.

/since QGIS 3.26

Enumerator
Default 

Draw points in the order they are stored.

BottomToTop 

Draw points with larger Z values last.

TopToBottom 

Draw points with larger Z values first.

Definition at line 4044 of file qgis.h.

◆ PointCloudSymbol

enum class Qgis::PointCloudSymbol : int
strong

Rendering symbols for point cloud points.

Since
QGIS 3.26
Enumerator
Square 

Renders points as squares.

Circle 

Renders points as circles.

Definition at line 4032 of file qgis.h.

◆ PointCloudZoomOutRenderBehavior

enum class Qgis::PointCloudZoomOutRenderBehavior : int
strong

Point cloud zoom out options.

Since
QGIS 3.42
Enumerator
RenderExtents 

Render only point cloud extents when zoomed out.

RenderOverview 

Render overview point cloud when zoomed out.

RenderOverviewAndExtents 

Render point cloud extents over overview point cloud.

Definition at line 5761 of file qgis.h.

◆ PointCountMethod

enum class Qgis::PointCountMethod : int
strong

Methods which define the number of points randomly filling a polygon.

Note
Prior to QGIS 3.24 this was available as QgsRandomMarkerFillSymbolLayer::CountMethod
Since
QGIS 3.24
Enumerator
Absolute 

The point count is used as an absolute count of markers.

DensityBased 

The point count is part of a marker density count.

Definition at line 3096 of file qgis.h.

◆ PostgresRelKind

enum class Qgis::PostgresRelKind
strong

Postgres database relkind options.

Since
QGIS 3.32
Enumerator
NotSet 

Not set.

Unknown 

Unknown.

OrdinaryTable 

Ordinary table.

Index 

Index.

Sequence 

Sequence.

View 

View.

MaterializedView 

Materialized view.

CompositeType 

Composition type.

ToastTable 

TOAST table.

ForeignTable 

Foreign table.

PartitionedTable 

Partitioned table.

Definition at line 5079 of file qgis.h.

◆ ProcessingAlgorithmDocumentationFlag

Flags describing algorithm behavior for documentation purposes.

Since
QGIS 3.40
Enumerator
RegeneratesPrimaryKey 

Algorithm always drops any existing primary keys or FID values and regenerates them in outputs.

RegeneratesPrimaryKeyInSomeScenarios 

Algorithm may drop the existing primary keys or FID values in some scenarios, depending on algorithm inputs and parameters.

Definition at line 3438 of file qgis.h.

◆ ProcessingAlgorithmFlag

enum class Qgis::ProcessingAlgorithmFlag : int
strong

Flags indicating how and when an algorithm operates and should be exposed to users.

Note
Prior to QGIS 3.36 this was available as QgsProcessingAlgorithm::Flag
Since
QGIS 3.36
Enumerator
HideFromToolbox 

Algorithm should be hidden from the toolbox.

HideFromModeler 

Algorithm should be hidden from the modeler.