QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
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 class  QgsMapLayerType : int {
  VectorLayer , RasterLayer , PluginLayer , MeshLayer ,
  VectorTileLayer , AnnotationLayer , PointCloudLayer
}
 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 60 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 1769 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 1776 of file qgsmaplayer.h.