QGIS API Documentation  3.15.0-Master (1d5bfb2cfe)
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,
  QgsMapLayerType::VectorTileLayer, QgsMapLayerType::AnnotationLayer
}
 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 59 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 1688 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 1695 of file qgsmaplayer.h.