QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Classes | Macros | Typedefs | Enumerations
qgsmaplayer.h File Reference
#include "qgis_core.h"
#include <QDateTime>
#include <QDomNode>
#include <QImage>
#include <QObject>
#include <QPainter>
#include <QUndoStack>
#include <QVariant>
#include <QIcon>
#include "qgis_sip.h"
#include "qgserror.h"
#include "qgsobjectcustomproperties.h"
#include "qgsrectangle.h"
#include "qgscoordinatereferencesystem.h"
#include "qgsrendercontext.h"
#include "qgsmaplayerdependency.h"
#include "qgslayermetadata.h"
#include "qgsmaplayerstyle.h"
#include "qgsreadwritecontext.h"
#include "qgsdataprovider.h"
Include dependency graph for qgsmaplayer.h:

Go to the source code of this file.

Classes

class  QgsMapLayer
 Base class for all map layer types. More...
 

Macros

#define QGSCLIPBOARD_MAPLAYER_MIME   "application/qgis.maplayer"
 

Typedefs

typedef QPointer< QgsMapLayerQgsWeakMapLayerPointer
 Weak pointer for QgsMapLayer. More...
 
typedef QList< QgsWeakMapLayerPointerQgsWeakMapLayerPointerList
 A list of weak pointers to QgsMapLayers. More...
 

Enumerations

enum  QgsMapLayerType : int { QgsMapLayerType::VectorLayer, QgsMapLayerType::RasterLayer, QgsMapLayerType::PluginLayer, QgsMapLayerType::MeshLayer }
 Types of layers that can be added to a map. More...
 

Macro Definition Documentation

◆ QGSCLIPBOARD_MAPLAYER_MIME

#define QGSCLIPBOARD_MAPLAYER_MIME   "application/qgis.maplayer"

Definition at line 58 of file qgsmaplayer.h.

Typedef Documentation

◆ QgsWeakMapLayerPointer

typedef QPointer< QgsMapLayer > QgsWeakMapLayerPointer

Weak pointer for QgsMapLayer.

Note
not available in Python bindings
Since
QGIS 3.0

Definition at line 1632 of file qgsmaplayer.h.

◆ QgsWeakMapLayerPointerList

A list of weak pointers to QgsMapLayers.

Note
not available in Python bindings
Since
QGIS 3.0

Definition at line 1639 of file qgsmaplayer.h.