Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | 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  WkbType {
  WKBUnknown = 0, WKBPoint = 1, WKBLineString, WKBPolygon,
  WKBMultiPoint, WKBMultiLineString, WKBMultiPolygon, WKBNoGeometry = 100,
  WKBPoint25D = 0x80000001, WKBLineString25D, WKBPolygon25D, WKBMultiPoint25D,
  WKBMultiLineString25D, WKBMultiPolygon25D
}
 Used for symbology operations. More...
 
enum  GeometryType {
  Point, Line, Polygon, UnknownGeometry,
  NoGeometry
}
 
enum  UnitType {
  Meters = 0, Feet = 1, Degrees = 2, DecimalDegrees = 2,
  DegreesMinutesSeconds = 4, DegreesDecimalMinutes = 5, UnknownUnit = 3
}
 Map units that qgis supports. More...
 
enum  UserEvent { ProviderExtentCalcEvent = ( QEvent::User + 1 ), ProviderCountCalcEvent }
 User defined event types. More...
 

Static Public Attributes

static const char * QGIS_VERSION = VERSION
 
static const int QGIS_VERSION_INT = VERSION_INT
 
static const char * QGIS_RELEASE_NAME = RELEASE_NAME
 
static const char * QGIS_DEV_VERSION = QGSVERSION
 
static const char * qgisVectorGeometryType []
 
static const char * qgisFeatureTypes []
 description strings for feature types More...
 
static const double DEFAULT_IDENTIFY_RADIUS = 0.5
 

Detailed Description

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

Definition at line 30 of file qgis.h.

Member Enumeration Documentation

Enumerator
Point 
Line 
Polygon 
UnknownGeometry 
NoGeometry 

Definition at line 66 of file qgis.h.

Map units that qgis supports.

Note
that QGIS < 1.4 api had only Meters, Feet, Degrees and UnknownUnit
Enumerator
Meters 
Feet 
Degrees 
DecimalDegrees 
DegreesMinutesSeconds 
DegreesDecimalMinutes 
UnknownUnit 

Definition at line 84 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 96 of file qgis.h.

Used for symbology operations.

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

Definition at line 49 of file qgis.h.

Member Data Documentation

const double QGis::DEFAULT_IDENTIFY_RADIUS = 0.5
static
const char * QGis::QGIS_DEV_VERSION = QGSVERSION
static

Definition at line 42 of file qgis.h.

const char * QGis::QGIS_RELEASE_NAME = RELEASE_NAME
static

Definition at line 40 of file qgis.h.

const char * QGis::QGIS_VERSION = VERSION
static

Definition at line 36 of file qgis.h.

Referenced by QgsProject::read(), QgsMapLayer::saveNamedStyle(), and QgsProject::write().

const int QGis::QGIS_VERSION_INT = VERSION_INT
static

Definition at line 38 of file qgis.h.

const char * QGis::qgisFeatureTypes
static
Initial value:
=
{
"Null",
"WKBPoint",
"WKBLineString",
"WKBPolygon",
"WKBMultiPoint",
"WKBMultiLineString",
"WKBMultiPolygon"
}

description strings for feature types

Definition at line 79 of file qgis.h.

const char * QGis::qgisVectorGeometryType
static
Initial value:
=
{
"Point",
"Line",
"Polygon",
"Unknown geometry",
"No geometry",
}

Definition at line 76 of file qgis.h.

Referenced by QgsVectorLayer::writeXml().


The documentation for this class was generated from the following files: