QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | List of all members
QgsMapCanvasLayer Class Reference

A class that stores visibility and presence in overview flags together with pointer to the layer. More...

#include <qgsmapcanvas.h>

Public Member Functions

 QgsMapCanvasLayer (QgsMapLayer *layer, bool visible=true, bool isInOverview=false)
 
bool isInOverview () const
 
bool isVisible () const
 
QgsMapLayerlayer ()
 
const QgsMapLayerlayer () const
 
void setInOverview (bool isInOverview)
 
void setVisible (bool visible)
 

Detailed Description

A class that stores visibility and presence in overview flags together with pointer to the layer.

Definition at line 75 of file qgsmapcanvas.h.

Constructor & Destructor Documentation

◆ QgsMapCanvasLayer()

QgsMapCanvasLayer::QgsMapCanvasLayer ( QgsMapLayer layer,
bool  visible = true,
bool  isInOverview = false 
)
inline

Definition at line 78 of file qgsmapcanvas.h.

Member Function Documentation

◆ isInOverview()

bool QgsMapCanvasLayer::isInOverview ( ) const
inline

Definition at line 88 of file qgsmapcanvas.h.

◆ isVisible()

bool QgsMapCanvasLayer::isVisible ( ) const
inline

Definition at line 87 of file qgsmapcanvas.h.

◆ layer() [1/2]

QgsMapLayer* QgsMapCanvasLayer::layer ( )
inline

Definition at line 90 of file qgsmapcanvas.h.

◆ layer() [2/2]

const QgsMapLayer* QgsMapCanvasLayer::layer ( ) const
inline

Definition at line 91 of file qgsmapcanvas.h.

◆ setInOverview()

void QgsMapCanvasLayer::setInOverview ( bool  isInOverview)
inline

Definition at line 85 of file qgsmapcanvas.h.

◆ setVisible()

void QgsMapCanvasLayer::setVisible ( bool  visible)
inline

Definition at line 84 of file qgsmapcanvas.h.


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