QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Enumerations
QGIS core library

Contains all basic GIS functionality. More...

Classes

class  QgsVectorFileWriter::BoolOption
 
struct  QgsColorRampShader::ColorRampItem
 
struct  QgsFields::Field
 
struct  QgsVectorLayer::GroupData
 
class  QgsVectorFileWriter::HiddenOption
 
class  QgsVectorFileWriter::IntOption
 
struct  QgsLabel::labelpoint
 
struct  QgsVectorFileWriter::MetaData
 
struct  QgsVectorDataProvider::NativeType
 
struct  QgsRasterNuller::NoData
 
class  QgsVectorFileWriter::Option
 
class  QGis
 The QGis class provides global constants for use throughout the application. More...
 
class  QgsAbstractFeatureIterator
 Internal feature iterator to be implemented within data providers. More...
 
class  QgsAction
 Utility class that encapsulates an action based on vector attributes. More...
 
class  QgsApplication
 Extends QApplication to provide access to QGIS specific resources such as theme paths, database paths etc. More...
 
class  QgsBilinearRasterResampler
 Bilinear Raster Resampler. More...
 
class  QgsBrightnessContrastFilter
 Brightness/contrast filter pipe for rasters. More...
 
class  QgsClipper
 A class to trim lines and polygons to within a rectangular region. More...
 
class  QgsClipToMinMaxEnhancement
 A raster contrast enhancement that will clip a value to the specified min/max range. More...
 
class  QgsColorRampShader
 A ramp shader will color a raster pixel based on a list of values ranges in a ramp. More...
 
class  QgsColorScheme
 Abstract base class for color schemes. More...
 
class  QgsColorSchemeRegistry
 Registry of color schemes. More...
 
class  QgsContextHelp
 Provides a context based help browser for a dialog. More...
 
class  QgsContrastEnhancement
 Manipulates raster pixel values so that they enhanceContrast or clip into a specified numerical range according to the specified ContrastEnhancementAlgorithm. More...
 
class  QgsContrastEnhancementFunction
 A contrast enhancement funcion is the base class for all raster contrast enhancements. More...
 
class  QgsCoordinateReferenceSystem
 Class for storing a coordinate reference system (CRS) More...
 
class  QgsCoordinateTransform
 Class for doing transforms between two map coordinate systems. More...
 
class  QgsCredentials
 Interface for requesting credentials in QGIS in GUI independent way. More...
 
class  QgsCsException
 Custom exception class for Coordinate Reference System related exceptions. More...
 
class  QgsCubicRasterResampler
 Cubic Raster Resampler. More...
 
class  QgsCustomColorScheme
 A color scheme which contains custom colors set through QGIS app options dialog. More...
 
class  QgsDataDefined
 A container class for data source field mapping or expression. More...
 
class  QgsDataProvider
 Abstract base class for spatial data provider implementations. More...
 
class  QgsDataSourceURI
 Class for storing the component parts of a PostgreSQL/RDBMS datasource URI. More...
 
class  QgsDistanceArea
 General purpose distance and area calculator. More...
 
class  QgsError
 QgsError is container for error messages (report). More...
 
class  QgsErrorMessage
 QgsErrorMessage represents single error message. More...
 
class  QgsException
 Defines a qgis exception class. More...
 
class  QgsFeature
 The feature class encapsulates a single feature including its id, geometry and a list of field/values attributes. More...
 
class  QgsFeatureIterator
 Wrapper for iterator of features from vector data provider or vector layer. More...
 
class  QgsFeatureStore
 Container for features with the same fields and crs. More...
 
class  QgsField
 Encapsulate a field in an attribute table or data source. More...
 
class  QgsFields
 Container of fields for a vector layer. More...
 
class  QgsGplColorScheme
 A color scheme which stores its colors in a gpl palette file. More...
 
class  QgsHttpTransaction
 HTTP request/response manager that is redirect-aware. More...
 
class  QgsHueSaturationFilter
 Color and saturation filter pipe for rasters. More...
 
class  QgsLabel
 A class to render labels. More...
 
class  QgsLabelAttributes
 A class to store attributes needed for label rendering. More...
 
class  QgsLabelComponent
 Maintains current state of more grainular and temporal values when creating/painting component parts of an individual label (e.g. More...
 
class  QgsLinearMinMaxEnhancement
 A color enhancement function that performs a linear enhanceContrast between min and max. More...
 
class  QgsLinearMinMaxEnhancementWithClip
 A linear enhanceContrast enhancement that first clips to min max and then enhanceContrastes linearly between min and max. More...
 
class  QgsLogger
 QgsLogger is a class to print debug/warning/error messages to the console. More...
 
class  QgsMapLayer
 Base class for all map layer types. More...
 
class  QgsMapLayerRegistry
 This class tracks map layers that are currently loaded and provides a means to fetch a pointer to a map layer and delete it. More...
 
class  QgsMapRenderer
 A non GUI class for rendering a map layer set onto a QPainter. More...
 
class  QgsMapToPixel
 Perform transforms between map coordinates and device coordinates. More...
 
class  QgsMessageLog
 Interface for logging messages from QGIS in GUI independent way. More...
 
class  QgsMessageOutput
 Interface for showing messages from QGIS in GUI independent way. More...
 
class  QgsMultiBandColorRenderer
 Renderer for multiband images with the color components. More...
 
class  QgsNetworkContentFetcher
 HTTP network content fetcher. More...
 
class  QgsPalettedRasterRenderer
 Renderer for paletted raster images. More...
 
class  QgsPluginLayer
 Base class for plugin layers. More...
 
class  QgsPluginLayerRegistry
 a registry of plugin layers types More...
 
class  QgsPluginLayerType
 class for creating plugin specific layers More...
 
class  QgsPoint
 A class to represent a point. More...
 
class  QgsProject
 Reads and writes project states. More...
 
class  QgsProjectColorScheme
 A color scheme which contains project specific colors set through project properties dialog. More...
 
class  QgsProjectVersion
 A class to describe the version of a project. More...
 
class  QgsProperty
 An Abstract Base Class for QGIS project property hierarchies. More...
 
class  QgsProviderCountCalcEvent
 A custom event that is designed to be fired when a layer count has been fully calculated. More...
 
class  QgsProviderExtentCalcEvent
 A custom event that is designed to be fired when a layer extent has been fully calculated. More...
 
class  QgsProviderMetadata
 Holds data provider key, description, and associated shared library file information. More...
 
class  QgsProviderRegistry
 A registry / canonical manager of data providers. More...
 
class  QgsPseudoColorShader
 A raster color shader that highlighs low values in blue and high values in red. More...
 
class  QgsRaster
 Raster namespace. More...
 
class  QgsRasterBandStats
 The RasterBandStats struct is a container for statistics about a single raster band. More...
 
class  QgsRasterBlock
 Raster data container. More...
 
class  QgsRasterDataProvider
 Base class for raster data providers. More...
 
class  QgsRasterDrawer
 The drawing pipe for raster layers. More...
 
class  QgsRasterFileWriter
 The raster file writer which allows you to save a raster to a new file. More...
 
class  QgsRasterFillSymbolLayer
 A class for filling symbols with a repeated raster image. More...
 
class  QgsRasterHistogram
 The QgsRasterHistogram is a container for histogram of a single raster band. More...
 
class  QgsRasterIdentifyResult
 Raster identify results container. More...
 
class  QgsRasterInterface
 Base class for processing filters like renderers, reprojector, resampler etc. More...
 
class  QgsRasterIterator
 Iterator for sequentially processing raster cells. More...
 
class  QgsRasterLayer
 This class provides qgis with the ability to render raster datasets onto the mapcanvas. More...
 
class  QgsRasterNuller
 Raster pipe that deals with null values. More...
 
class  QgsRasterPipe
 Base class for processing modules. More...
 
class  QgsRasterPyramid
 This struct is used to store pyramid info for the raster layer. More...
 
class  QgsRasterRange
 Raster values range container. More...
 
class  QgsRasterRenderer
 Raster renderer pipe that applies colors to a raster. More...
 
class  QgsRasterRendererRegistry
 Registry for raster renderers. More...
 
struct  QgsRasterRendererRegistryEntry
 Registry for raster renderer entries. More...
 
class  QgsRasterResampleFilter
 Resample filter pipe for rasters. More...
 
class  QgsRasterResampler
 Interface for resampling rasters (e.g. More...
 
class  QgsRasterShader
 Interface for all raster shaders. More...
 
class  QgsRasterShaderFunction
 The raster shade function applies a shader to a pixel at render time - typically used to render grayscale images as false color. More...
 
class  QgsRasterTransparency
 Defines the list of pixel values to be considered as transparent or semi transparent when rendering rasters. More...
 
struct  QgsRasterViewPort
 This class provides details of the viewable area that a raster will be rendered into. More...
 
class  QgsRecentColorScheme
 A color scheme which contains the most recently used colors. More...
 
class  QgsRectangle
 A rectangle specified with double values. More...
 
class  QgsRenderContext
 Contains information about the context of a rendering operation. More...
 
class  QgsRunProcess
 A class that executes an external program/script. More...
 
class  QgsScaleCalculator
 Calculates scale for a given combination of canvas size, map extent, and monitor dpi. More...
 
class  QgsSingleBandColorDataRenderer
 Raster renderer pipe for single band color. More...
 
class  QgsSingleBandGrayRenderer
 Raster renderer pipe for single band gray. More...
 
class  QgsSingleBandPseudoColorRenderer
 Raster renderer pipe for single band pseudocolor. More...
 
struct  QgsSnappingResult
 Represents the result of a snapping operation. More...
 
class  QgsTolerance
 This is the class is providing tolerance value in map unit values. More...
 
class  QgsUserColorScheme
 A color scheme which stores its colors in a gpl palette file within the "palettes" subfolder off the user's QGIS settings folder. More...
 
class  QgsVector
 A class to represent a vector. More...
 
class  QgsVectorDataProvider
 This is the base class for vector data providers. More...
 
class  QgsVectorFileWriter
 A convenience class for writing vector files to disk. More...
 
class  QgsVectorLayer
 Represents a vector layer which manages a vector based data sets. More...
 
class  QgsVectorLayerImport
 A convenience class for writing vector files to disk. More...
 
struct  QgsVectorLayer::RangeData
 
class  QgsVectorFileWriter::SetOption
 
class  QgsVectorFileWriter::StringOption
 
struct  QgsVectorLayer::TabData
 
struct  QgsRasterTransparency::TransparentSingleValuePixel
 
struct  QgsRasterTransparency::TransparentThreeValuePixel
 
struct  QgsVectorLayer::ValueRelationData
 

Enumerations

enum  QgsAction::ActionType {
  QgsAction::Generic, QgsAction::GenericPython, QgsAction::Mac, QgsAction::Windows,
  QgsAction::Unix, QgsAction::OpenUrl
}
 
enum  QgsMapRenderer::BlendMode {
  QgsMapRenderer::BlendNormal, QgsMapRenderer::BlendLighten, QgsMapRenderer::BlendScreen, QgsMapRenderer::BlendDodge,
  QgsMapRenderer::BlendAddition, QgsMapRenderer::BlendDarken, QgsMapRenderer::BlendMultiply, QgsMapRenderer::BlendBurn,
  QgsMapRenderer::BlendOverlay, QgsMapRenderer::BlendSoftLight, QgsMapRenderer::BlendHardLight, QgsMapRenderer::BlendDifference,
  QgsMapRenderer::BlendSubtract, QgsMapRenderer::BlendSource, QgsMapRenderer::BlendDestinationOver, QgsMapRenderer::BlendClear,
  QgsMapRenderer::BlendDestination, QgsMapRenderer::BlendSourceIn, QgsMapRenderer::BlendDestinationIn, QgsMapRenderer::BlendSourceOut,
  QgsMapRenderer::BlendDestinationOut, QgsMapRenderer::BlendSourceAtop, QgsMapRenderer::BlendDestinationAtop, QgsMapRenderer::BlendXor
}
 Blending modes enum defining the available composition modes that can be used when rendering a layer. More...
 
enum  QgsClipper::Boundary { QgsClipper::XMax, QgsClipper::XMin, QgsClipper::YMax, QgsClipper::YMin }
 
enum  QgsRasterInterface::Capability {
  QgsRasterInterface::NoCapabilities = 0, QgsRasterInterface::Size = 1 << 1, QgsRasterInterface::Create = 1 << 2, QgsRasterInterface::Remove = 1 << 3,
  QgsRasterInterface::BuildPyramids = 1 << 4, QgsRasterInterface::Identify = 1 << 5, QgsRasterInterface::IdentifyValue = 1 << 6, QgsRasterInterface::IdentifyText = 1 << 7,
  QgsRasterInterface::IdentifyHtml = 1 << 8, QgsRasterInterface::IdentifyFeature = 1 << 9
}
 If you add to this, please also add to capabilitiesString() More...
 
enum  QgsVectorDataProvider::Capability {
  QgsVectorDataProvider::NoCapabilities = 0, QgsVectorDataProvider::AddFeatures = 1, QgsVectorDataProvider::DeleteFeatures = 1 << 1, QgsVectorDataProvider::ChangeAttributeValues = 1 << 2,
  QgsVectorDataProvider::AddAttributes = 1 << 3, QgsVectorDataProvider::DeleteAttributes = 1 << 4, QgsVectorDataProvider::SaveAsShapefile = 1 << 5, QgsVectorDataProvider::CreateSpatialIndex = 1 << 6,
  QgsVectorDataProvider::SelectAtId = 1 << 7, QgsVectorDataProvider::ChangeGeometries = 1 << 8, QgsVectorDataProvider::SelectGeometryAtId = 1 << 9, QgsVectorDataProvider::RandomSelectGeometryAtId = 1 << 10,
  QgsVectorDataProvider::SequentialSelectGeometryAtId = 1 << 11, QgsVectorDataProvider::CreateAttributeIndex = 1 << 12, QgsVectorDataProvider::SelectEncoding = 1 << 13, QgsVectorDataProvider::SimplifyGeometries = 1 << 14,
  QgsVectorDataProvider::SimplifyGeometriesWithTopologicalValidation = 1 << 15
}
 enumeration with capabilities that providers might implement More...
 
enum  QgsRaster::ColorInterpretation {
  QgsRaster::UndefinedColorInterpretation = 0, QgsRaster::GrayIndex = 1, QgsRaster::PaletteIndex = 2, QgsRaster::RedBand = 3,
  QgsRaster::GreenBand = 4, QgsRaster::BlueBand = 5, QgsRaster::AlphaBand = 6, QgsRaster::HueBand = 7,
  QgsRaster::SaturationBand = 8, QgsRaster::LightnessBand = 9, QgsRaster::CyanBand = 10, QgsRaster::MagentaBand = 11,
  QgsRaster::YellowBand = 12, QgsRaster::BlackBand = 13, QgsRaster::YCbCr_YBand = 14, QgsRaster::YCbCr_CbBand = 15,
  QgsRaster::YCbCr_CrBand = 16, QgsRaster::ContinuousPalette = 17
}
 
enum  QgsColorRampShader::ColorRamp_TYPE { QgsColorRampShader::INTERPOLATED, QgsColorRampShader::DISCRETE, QgsColorRampShader::EXACT }
 
enum  QgsRasterLayer::ColorShadingAlgorithm {
  QgsRasterLayer::UndefinedShader, QgsRasterLayer::PseudoColorShader, QgsRasterLayer::FreakOutShader, QgsRasterLayer::ColorRampShader,
  QgsRasterLayer::UserDefinedShader
}
 This enumerator describes the types of shading that can be used. More...
 
enum  QgsContrastEnhancement::ContrastEnhancementAlgorithm {
  QgsContrastEnhancement::NoEnhancement, QgsContrastEnhancement::StretchToMinimumMaximum, QgsContrastEnhancement::StretchAndClipToMinimumMaximum, QgsContrastEnhancement::ClipToMinimumMaximum,
  QgsContrastEnhancement::UserDefinedEnhancement
}
 This enumerator describes the types of contrast enhancement algorithms that can be used. More...
 
enum  QgsRaster::ContrastEnhancementLimits { QgsRaster::ContrastEnhancementNone, QgsRaster::ContrastEnhancementMinMax, QgsRaster::ContrastEnhancementStdDev, QgsRaster::ContrastEnhancementCumulativeCut }
 Contrast enhancement limits. More...
 
enum  QgsCoordinateReferenceSystem::CrsType { QgsCoordinateReferenceSystem::InternalCrsId, QgsCoordinateReferenceSystem::PostgisCrsId, QgsCoordinateReferenceSystem::EpsgCrsId }
 
enum  QgsDataProvider::DataCapability {
  QgsDataProvider::NoDataCapabilities = 0, QgsDataProvider::File = 1, QgsDataProvider::Dir = 1 << 1, QgsDataProvider::Database = 1 << 2,
  QgsDataProvider::Net = 1 << 3
}
 
enum  QGis::DataType {
  QGis::UnknownDataType = 0, QGis::Byte = 1, QGis::UInt16 = 2, QGis::Int16 = 3,
  QGis::UInt32 = 4, QGis::Int32 = 5, QGis::Float32 = 6, QGis::Float64 = 7,
  QGis::CInt16 = 8, QGis::CInt32 = 9, QGis::CFloat32 = 10, QGis::CFloat64 = 11,
  QGis::ARGB32 = 12, QGis::ARGB32_Premultiplied = 13
}
 Raster data types. More...
 
enum  QgsRaster::DrawingStyle {
  QgsRaster::UndefinedDrawingStyle, QgsRaster::SingleBandGray, QgsRaster::SingleBandPseudoColor, QgsRaster::PalettedColor,
  QgsRaster::PalettedSingleBandGray, QgsRaster::PalettedSingleBandPseudoColor, QgsRaster::PalettedMultiBandColor, QgsRaster::MultiBandSingleBandGray,
  QgsRaster::MultiBandSingleBandPseudoColor, QgsRaster::MultiBandColor, QgsRaster::SingleBandColorDataStyle
}
 This enumerator describes the different kinds of drawing we can do. More...
 
enum  QgsVectorLayer::EditorLayout { QgsVectorLayer::GeneratedLayout = 0, QgsVectorLayer::TabLayout = 1, QgsVectorLayer::UiFileLayout = 2 }
 The different types to layout the attribute editor. More...
 
enum  QgsVectorLayer::EditType {
  QgsVectorLayer::LineEdit, QgsVectorLayer::UniqueValues, QgsVectorLayer::UniqueValuesEditable, QgsVectorLayer::ValueMap,
  QgsVectorLayer::Classification, QgsVectorLayer::EditRange, QgsVectorLayer::SliderRange, QgsVectorLayer::CheckBox,
  QgsVectorLayer::FileName, QgsVectorLayer::Enumeration, QgsVectorLayer::Immutable, QgsVectorLayer::Hidden,
  QgsVectorLayer::TextEdit, QgsVectorLayer::Calendar, QgsVectorLayer::DialRange, QgsVectorLayer::ValueRelation,
  QgsVectorLayer::UuidGenerator, QgsVectorLayer::Photo, QgsVectorLayer::WebView, QgsVectorLayer::Color,
  QgsVectorLayer::EditorWidgetV2
}
 
enum  QgsApplication::ENDIAN { QgsApplication::XDR = 0, QgsApplication::NDR = 1 }
 constants for endian-ness More...
 
enum  QgsVectorLayer::FeatureFormSuppress { QgsVectorLayer::SuppressDefault = 0, QgsVectorLayer::SuppressOn = 1, QgsVectorLayer::SuppressOff = 2 }
 Types of feature form suppression after feature creation. More...
 
enum  QgsFields::FieldOrigin {
  QgsFields::OriginUnknown, QgsFields::OriginProvider, QgsFields::OriginJoin, QgsFields::OriginEdit,
  QgsFields::OriginExpression
}
 
enum  QgsErrorMessage::Format { QgsErrorMessage::Text, QgsErrorMessage::Html }
 Format. More...
 
enum  QGis::GeometryType {
  QGis::Point, QGis::Line, QGis::Polygon, QGis::UnknownGeometry,
  QGis::NoGeometry
}
 
enum  QgsSingleBandGrayRenderer::Gradient { QgsSingleBandGrayRenderer::BlackToWhite, QgsSingleBandGrayRenderer::WhiteToBlack }
 
enum  QgsHueSaturationFilter::GrayscaleMode { QgsHueSaturationFilter::GrayscaleOff, QgsHueSaturationFilter::GrayscaleLightness, QgsHueSaturationFilter::GrayscaleLuminosity, QgsHueSaturationFilter::GrayscaleAverage }
 
enum  QgsRaster::IdentifyFormat {
  QgsRaster::IdentifyFormatUndefined = 0, QgsRaster::IdentifyFormatValue = 1, QgsRaster::IdentifyFormatText = 1 << 1, QgsRaster::IdentifyFormatHtml = 1 << 2,
  QgsRaster::IdentifyFormatFeature = 1 << 3
}
 
enum  QgsVectorLayerImport::ImportError {
  QgsVectorLayerImport::NoError = 0, QgsVectorLayerImport::ErrDriverNotFound, QgsVectorLayerImport::ErrCreateDataSource, QgsVectorLayerImport::ErrCreateLayer,
  QgsVectorLayerImport::ErrAttributeTypeUnsupported, QgsVectorLayerImport::ErrAttributeCreationFailed, QgsVectorLayerImport::ErrProjection, QgsVectorLayerImport::ErrFeatureWriteFailed,
  QgsVectorLayerImport::ErrInvalidLayer, QgsVectorLayerImport::ErrInvalidProvider, QgsVectorLayerImport::ErrProviderUnsupportedFeature, QgsVectorLayerImport::ErrConnectionFailed
}
 
enum  QgsLabel::LabelField {
  QgsLabel::Text = 0, QgsLabel::Family, QgsLabel::Size, QgsLabel::SizeType,
  QgsLabel::Bold, QgsLabel::Italic, QgsLabel::Underline, QgsLabel::Color,
  QgsLabel::XCoordinate, QgsLabel::YCoordinate, QgsLabel::XOffset, QgsLabel::YOffset,
  QgsLabel::Angle, QgsLabel::Alignment, QgsLabel::BufferEnabled, QgsLabel::BufferSize,
  QgsLabel::BufferColor, QgsLabel::BufferBrush, QgsLabel::BorderWidth, QgsLabel::BorderColor,
  QgsLabel::BorderStyle, QgsLabel::MultilineEnabled, QgsLabel::StrikeOut, QgsLabel::LabelFieldCount
}
 
enum  QgsMapLayer::LayerType { QgsMapLayer::VectorLayer, QgsMapLayer::RasterLayer, QgsMapLayer::PluginLayer }
 Layers enum defining the types of layers that can be added to a map. More...
 
enum  QgsRasterLayer::LayerType { QgsRasterLayer::GrayOrUndefined, QgsRasterLayer::Palette, QgsRasterLayer::Multiband, QgsRasterLayer::ColorLayer }
 This enumerator describes the type of raster layer. More...
 
enum  QgsMessageLog::MessageLevel { QgsMessageLog::INFO = 0, QgsMessageLog::WARNING = 1, QgsMessageLog::CRITICAL = 2 }
 
enum  QgsMessageOutput::MessageType { QgsMessageOutput::MessageText, QgsMessageOutput::MessageHtml }
 message can be in plain text or in html format More...
 
enum  QgsRasterRenderer::MinMaxOrigin {
  QgsRasterRenderer::MinMaxUnknown = 0, QgsRasterRenderer::MinMaxUser = 1, QgsRasterRenderer::MinMaxMinMax = 1 << 1, QgsRasterRenderer::MinMaxCumulativeCut = 1 << 2,
  QgsRasterRenderer::MinMaxStdDev = 1 << 3, QgsRasterRenderer::MinMaxFullExtent = 1 << 4, QgsRasterRenderer::MinMaxSubExtent = 1 << 5, QgsRasterRenderer::MinMaxEstimated = 1 << 6,
  QgsRasterRenderer::MinMaxExact = 1 << 7
}
 
enum  QgsRasterFileWriter::Mode { QgsRasterFileWriter::Raw = 0, QgsRasterFileWriter::Image = 1 }
 
enum  QgsVectorFileWriter::OptionType { QgsVectorFileWriter::Set, QgsVectorFileWriter::String, QgsVectorFileWriter::Int, QgsVectorFileWriter::Hidden }
 
enum  QgsMapRenderer::OutputUnits { QgsMapRenderer::Millimeters, QgsMapRenderer::Pixels }
 Output units for pen width and point marker width/height. More...
 
enum  QgsRaster::RasterBuildPyramids { QgsRaster::PyramidsFlagNo = 0, QgsRaster::PyramidsFlagYes = 1, QgsRaster::PyramidsCopyExisting = 2 }
 
enum  QgsRaster::RasterProgressType { QgsRaster::ProgressHistogram = 0, QgsRaster::ProgressPyramids = 1, QgsRaster::ProgressStatistics = 2 }
 
enum  QgsRaster::RasterPyramidsFormat { QgsRaster::PyramidsGTiff = 0, QgsRaster::PyramidsInternal = 1, QgsRaster::PyramidsErdas = 2 }
 
enum  QgsRasterPipe::Role {
  QgsRasterPipe::UnknownRole = 0, QgsRasterPipe::ProviderRole = 1, QgsRasterPipe::RendererRole = 2, QgsRasterPipe::BrightnessRole = 3,
  QgsRasterPipe::ResamplerRole = 4, QgsRasterPipe::ProjectorRole = 5, QgsRasterPipe::NullerRole = 6, QgsRasterPipe::HueSaturationRole = 7
}
 
enum  QgsDataSourceURI::SSLmode { QgsDataSourceURI::SSLprefer, QgsDataSourceURI::SSLdisable, QgsDataSourceURI::SSLallow, QgsDataSourceURI::SSLrequire }
 
enum  QgsRasterBandStats::Stats {
  QgsRasterBandStats::None = 0, QgsRasterBandStats::Min = 1, QgsRasterBandStats::Max = 1 << 1, QgsRasterBandStats::Range = 1 << 2,
  QgsRasterBandStats::Sum = 1 << 3, QgsRasterBandStats::Mean = 1 << 4, QgsRasterBandStats::StdDev = 1 << 5, QgsRasterBandStats::SumOfSquares = 1 << 6,
  QgsRasterBandStats::All = Min | Max | Range | Sum | Mean | StdDev | SumOfSquares
}
 
enum  QgsVectorFileWriter::SymbologyExport { QgsVectorFileWriter::NoSymbology = 0, QgsVectorFileWriter::FeatureSymbology, QgsVectorFileWriter::SymbolLayerSymbology }
 
enum  QgsCoordinateTransform::TransformDirection { QgsCoordinateTransform::ForwardTransform, QgsCoordinateTransform::ReverseTransform }
 Enum used to indicate the direction (forward or inverse) of the transform. More...
 
enum  QgsLabelAttributes::Units { QgsLabelAttributes::MapUnits = 0, QgsLabelAttributes::PointUnits }
 
enum  QgsTolerance::UnitType { QgsTolerance::MapUnits, QgsTolerance::Pixels }
 Type of unit of tolerance value from settings. More...
 
enum  QGis::UnitType {
  QGis::Meters = 0, QGis::Feet = 1, QGis::Degrees = 2, QGis::UnknownUnit = 3,
  QGis::DecimalDegrees = 2, QGis::DegreesMinutesSeconds = 2, QGis::DegreesDecimalMinutes = 2, QGis::NauticalMiles = 7
}
 Map units that qgis supports. More...
 
enum  QGis::UserEvent { QGis::ProviderExtentCalcEvent = ( QEvent::User + 1 ), QGis::ProviderCountCalcEvent }
 User defined event types. More...
 
enum  QgsVectorLayer::VertexMarkerType { QgsVectorLayer::SemiTransparentCircle, QgsVectorLayer::Cross, QgsVectorLayer::NoMarker }
 Editing vertex markers. More...
 
enum  QGis::WkbType {
  QGis::WKBUnknown = 0, QGis::WKBPoint = 1, QGis::WKBLineString, QGis::WKBPolygon,
  QGis::WKBMultiPoint, QGis::WKBMultiLineString, QGis::WKBMultiPolygon, QGis::WKBNoGeometry = 100,
  QGis::WKBPoint25D = 0x80000001, QGis::WKBLineString25D, QGis::WKBPolygon25D, QGis::WKBMultiPoint25D,
  QGis::WKBMultiLineString25D, QGis::WKBMultiPolygon25D
}
 Used for symbology operations. More...
 
enum  QgsRasterFileWriter::WriterError {
  QgsRasterFileWriter::NoError = 0, QgsRasterFileWriter::SourceProviderError = 1, QgsRasterFileWriter::DestProviderError = 2, QgsRasterFileWriter::CreateDatasourceError = 3,
  QgsRasterFileWriter::WriteError = 4, QgsRasterFileWriter::NoDataConflict = 5
}
 
enum  QgsVectorFileWriter::WriterError {
  QgsVectorFileWriter::NoError = 0, QgsVectorFileWriter::ErrDriverNotFound, QgsVectorFileWriter::ErrCreateDataSource, QgsVectorFileWriter::ErrCreateLayer,
  QgsVectorFileWriter::ErrAttributeTypeUnsupported, QgsVectorFileWriter::ErrAttributeCreationFailed, QgsVectorFileWriter::ErrProjection, QgsVectorFileWriter::ErrFeatureWriteFailed,
  QgsVectorFileWriter::ErrInvalidLayer
}
 

Detailed Description

Contains all basic GIS functionality.

Enumeration Type Documentation

Enumerator
Generic 
GenericPython 
Mac 
Windows 
Unix 
OpenUrl 

Definition at line 43 of file qgsattributeaction.h.

Blending modes enum defining the available composition modes that can be used when rendering a layer.

Enumerator
BlendNormal 
BlendLighten 
BlendScreen 
BlendDodge 
BlendAddition 
BlendDarken 
BlendMultiply 
BlendBurn 
BlendOverlay 
BlendSoftLight 
BlendHardLight 
BlendDifference 
BlendSubtract 
BlendSource 
BlendDestinationOver 
BlendClear 
BlendDestination 
BlendSourceIn 
BlendDestinationIn 
BlendSourceOut 
BlendDestinationOut 
BlendSourceAtop 
BlendDestinationAtop 
BlendXor 

Definition at line 142 of file qgsmaprenderer.h.

Enumerator
XMax 
XMin 
YMax 
YMin 

Definition at line 69 of file qgsclipper.h.

If you add to this, please also add to capabilitiesString()

Enumerator
NoCapabilities 
Size 
Create 
Remove 
BuildPyramids 
Identify 
IdentifyValue 
IdentifyText 
IdentifyHtml 
IdentifyFeature 

Definition at line 41 of file qgsrasterinterface.h.

enumeration with capabilities that providers might implement

Enumerator
NoCapabilities 

provider has no capabilities

AddFeatures 

allows adding features

DeleteFeatures 

allows deletion of features

ChangeAttributeValues 

allows modification of attribute values

AddAttributes 

allows addition of new attributes (fields)

DeleteAttributes 

allows deletion of attributes (fields)

SaveAsShapefile 

DEPRECATED - do not use.

CreateSpatialIndex 

allows creation of spatial index

SelectAtId 

fast access to features using their ID

ChangeGeometries 

allows modifications of geometries

SelectGeometryAtId 

DEPRECATED - do not use.

RandomSelectGeometryAtId 

DEPRECATED - do not use.

SequentialSelectGeometryAtId 

DEPRECATED - do not use.

CreateAttributeIndex 
SelectEncoding 

allows user to select encoding

SimplifyGeometries 

supports simplification of geometries on provider side according to a distance tolerance

SimplifyGeometriesWithTopologicalValidation 

supports topological simplification of geometries on provider side according to a distance tolerance

Definition at line 58 of file qgsvectordataprovider.h.

Enumerator
UndefinedColorInterpretation 
GrayIndex 

Greyscale

PaletteIndex 

Paletted (see associated color table)

RedBand 

Red band of RGBA image

GreenBand 

Green band of RGBA image

BlueBand 

Blue band of RGBA image

AlphaBand 

Alpha (0=transparent, 255=opaque)

HueBand 

Hue band of HLS image

SaturationBand 

Saturation band of HLS image

LightnessBand 

Lightness band of HLS image

CyanBand 

Cyan band of CMYK image

MagentaBand 

Magenta band of CMYK image

YellowBand 

Yellow band of CMYK image

BlackBand 

Black band of CMLY image

YCbCr_YBand 

Y Luminance

YCbCr_CbBand 

Cb Chroma

YCbCr_CrBand 

Cr Chroma

ContinuousPalette 

Continuous palette, QGIS addition, GRASS

Definition at line 32 of file qgsraster.h.

Enumerator
INTERPOLATED 
DISCRETE 
EXACT 

Definition at line 57 of file qgscolorrampshader.h.

This enumerator describes the types of shading that can be used.

Enumerator
UndefinedShader 
PseudoColorShader 
FreakOutShader 
ColorRampShader 
UserDefinedShader 

Definition at line 215 of file qgsrasterlayer.h.

This enumerator describes the types of contrast enhancement algorithms that can be used.

Enumerator
NoEnhancement 
StretchToMinimumMaximum 
StretchAndClipToMinimumMaximum 
ClipToMinimumMaximum 
UserDefinedEnhancement 

Definition at line 44 of file qgscontrastenhancement.h.

Contrast enhancement limits.

Enumerator
ContrastEnhancementNone 
ContrastEnhancementMinMax 
ContrastEnhancementStdDev 
ContrastEnhancementCumulativeCut 

Definition at line 86 of file qgsraster.h.

Enumerator
InternalCrsId 
PostgisCrsId 
EpsgCrsId 

Definition at line 54 of file qgscoordinatereferencesystem.h.

Enumerator
NoDataCapabilities 
File 
Dir 
Database 
Net 

Definition at line 54 of file qgsdataprovider.h.

Raster data types.

This is modified and extended copy of GDALDataType.

Enumerator
UnknownDataType 

Unknown or unspecified type

Byte 

Eight bit unsigned integer (quint8)

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 204 of file qgis.h.

This enumerator describes the different kinds of drawing we can do.

Enumerator
UndefinedDrawingStyle 
SingleBandGray 
SingleBandPseudoColor 
PalettedColor 
PalettedSingleBandGray 
PalettedSingleBandPseudoColor 
PalettedMultiBandColor 
MultiBandSingleBandGray 
MultiBandSingleBandPseudoColor 
MultiBandColor 
SingleBandColorDataStyle 

Definition at line 95 of file qgsraster.h.

The different types to layout the attribute editor.

Enumerator
GeneratedLayout 
TabLayout 
UiFileLayout 

Definition at line 474 of file qgsvectorlayer.h.

Deprecated:
Use the editorWidgetV2() system instead
Enumerator
LineEdit 
UniqueValues 
UniqueValuesEditable 
ValueMap 
Classification 
EditRange 
SliderRange 
CheckBox 
FileName 
Enumeration 
Immutable 

The attribute value should not be changed in the attribute form.

Hidden 

The attribute value should not be shown in the attribute form.

TextEdit 

multiline edit

Calendar 

calendar widget

DialRange 

dial range

ValueRelation 

value map from an table

UuidGenerator 

uuid generator - readonly and automatically intialized

Photo 

phote widget

WebView 

webview widget

Color 

color

EditorWidgetV2 

modularized edit widgets

Note
added in 2.1

Definition at line 484 of file qgsvectorlayer.h.

constants for endian-ness

Enumerator
XDR 
NDR 

Definition at line 194 of file qgsapplication.h.

Types of feature form suppression after feature creation.

Note
added in 2.1
Enumerator
SuppressDefault 
SuppressOn 
SuppressOff 

Definition at line 511 of file qgsvectorlayer.h.

Enumerator
OriginUnknown 

it has not been specified where the field comes from

OriginProvider 

field comes from the underlying data provider of the vector layer (originIndex = index in provider's fields)

OriginJoin 

field comes from a joined layer (originIndex / 1000 = index of the join, originIndex % 1000 = index within the join)

OriginEdit 

field has been temporarily added in editing mode (originIndex = index in the list of added attributes)

OriginExpression 

field is calculated from an expression

Definition at line 176 of file qgsfield.h.

Format.

Enumerator
Text 
Html 

Definition at line 33 of file qgserror.h.

Enumerator
Point 
Line 
Polygon 
UnknownGeometry 
NoGeometry 

Definition at line 155 of file qgis.h.

Enumerator
BlackToWhite 
WhiteToBlack 

Definition at line 32 of file qgssinglebandgrayrenderer.h.

Enumerator
GrayscaleOff 
GrayscaleLightness 
GrayscaleLuminosity 
GrayscaleAverage 

Definition at line 34 of file qgshuesaturationfilter.h.

Enumerator
IdentifyFormatUndefined 
IdentifyFormatValue 
IdentifyFormatText 
IdentifyFormatHtml 
IdentifyFormatFeature 

Definition at line 54 of file qgsraster.h.

Enumerator
NoError 
ErrDriverNotFound 
ErrCreateDataSource 
ErrCreateLayer 
ErrAttributeTypeUnsupported 
ErrAttributeCreationFailed 
ErrProjection 
ErrFeatureWriteFailed 
ErrInvalidLayer 
ErrInvalidProvider 
ErrProviderUnsupportedFeature 
ErrConnectionFailed 

Definition at line 40 of file qgsvectorlayerimport.h.

Enumerator
Text 
Family 
Size 
SizeType 
Bold 
Italic 
Underline 
Color 
XCoordinate 
YCoordinate 
XOffset 
YOffset 
Angle 
Alignment 
BufferEnabled 
BufferSize 
BufferColor 
BufferBrush 
BorderWidth 
BorderColor 
BorderStyle 
MultilineEnabled 
StrikeOut 
LabelFieldCount 

Definition at line 59 of file qgslabel.h.

Layers enum defining the types of layers that can be added to a map.

Enumerator
VectorLayer 
RasterLayer 
PluginLayer 

Definition at line 54 of file qgsmaplayer.h.

This enumerator describes the type of raster layer.

Enumerator
GrayOrUndefined 
Palette 
Multiband 
ColorLayer 

Definition at line 225 of file qgsrasterlayer.h.

Enumerator
INFO 
WARNING 
CRITICAL 

Definition at line 38 of file qgsmessagelog.h.

message can be in plain text or in html format

Enumerator
MessageText 
MessageHtml 

Definition at line 43 of file qgsmessageoutput.h.

Enumerator
MinMaxUnknown 
MinMaxUser 
MinMaxMinMax 
MinMaxCumulativeCut 
MinMaxStdDev 
MinMaxFullExtent 
MinMaxSubExtent 
MinMaxEstimated 
MinMaxExact 

Definition at line 38 of file qgsrasterrenderer.h.

Enumerator
Raw 
Image 

Definition at line 35 of file qgsrasterfilewriter.h.

Enumerator
Set 
String 
Int 
Hidden 

Definition at line 45 of file qgsvectorfilewriter.h.

Output units for pen width and point marker width/height.

Enumerator
Millimeters 
Pixels 

Definition at line 132 of file qgsmaprenderer.h.

Enumerator
PyramidsFlagNo 
PyramidsFlagYes 
PyramidsCopyExisting 

Definition at line 71 of file qgsraster.h.

Enumerator
ProgressHistogram 
ProgressPyramids 
ProgressStatistics 

Definition at line 64 of file qgsraster.h.

Enumerator
PyramidsGTiff 
PyramidsInternal 
PyramidsErdas 

Definition at line 78 of file qgsraster.h.

Enumerator
UnknownRole 
ProviderRole 
RendererRole 
BrightnessRole 
ResamplerRole 
ProjectorRole 
NullerRole 
HueSaturationRole 

Definition at line 45 of file qgsrasterpipe.h.

Enumerator
SSLprefer 
SSLdisable 
SSLallow 
SSLrequire 

Definition at line 38 of file qgsdatasourceuri.h.

Enumerator
None 
Min 
Max 
Range 
Sum 
Mean 
StdDev 
SumOfSquares 
All 

Definition at line 36 of file qgsrasterbandstats.h.

Enumerator
NoSymbology 
FeatureSymbology 
SymbolLayerSymbology 

Definition at line 156 of file qgsvectorfilewriter.h.

Enum used to indicate the direction (forward or inverse) of the transform.

Enumerator
ForwardTransform 

Transform from source to destination CRS.

ReverseTransform 

Transform from destination to source CRS.

Definition at line 94 of file qgscoordinatetransform.h.

Enumerator
MapUnits 
PointUnits 

Definition at line 87 of file qgslabelattributes.h.

Type of unit of tolerance value from settings.

Enumerator
MapUnits 

Map unit value.

Pixels 

Pixels unit of tolerance.

Definition at line 31 of file qgstolerance.h.

Map units that qgis supports.

Note
that QGIS < 1.4 api had only Meters, Feet, Degrees and UnknownUnit
and QGIS >1.8 returns to that
Enumerator
Meters 
Feet 
Degrees 
UnknownUnit 
DecimalDegrees 
DegreesMinutesSeconds 
DegreesDecimalMinutes 
NauticalMiles 

Definition at line 229 of file qgis.h.

User defined event types.

Enumerator
ProviderExtentCalcEvent 

The extents have been calculated by a provider of a layer.

ProviderCountCalcEvent 

The row count has been calculated by a provider of a layer.

Definition at line 253 of file qgis.h.

Editing vertex markers.

Enumerator
SemiTransparentCircle 
Cross 
NoMarker 

Definition at line 1411 of file qgsvectorlayer.h.

Used for symbology operations.

Enumerator
WKBUnknown 
WKBPoint 
WKBLineString 
WKBPolygon 
WKBMultiPoint 
WKBMultiLineString 
WKBMultiPolygon 
WKBNoGeometry 
WKBPoint25D 
WKBLineString25D 
WKBPolygon25D 
WKBMultiPoint25D 
WKBMultiLineString25D 
WKBMultiPolygon25D 

Definition at line 53 of file qgis.h.

Enumerator
NoError 
SourceProviderError 
DestProviderError 
CreateDatasourceError 
WriteError 
NoDataConflict 

Definition at line 40 of file qgsrasterfilewriter.h.

Enumerator
NoError 
ErrDriverNotFound 
ErrCreateDataSource 
ErrCreateLayer 
ErrAttributeTypeUnsupported 
ErrAttributeCreationFailed 
ErrProjection 
ErrFeatureWriteFailed 
ErrInvalidLayer 

Definition at line 143 of file qgsvectorfilewriter.h.