QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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)
 
void setVisible (bool visible)
 
void setInOverview (bool isInOverview)
 
bool isVisible () const
 
bool isInOverview () const
 
QgsMapLayerlayer ()
 
const QgsMapLayerlayer () const
 

Detailed Description

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

Constructor & Destructor Documentation

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

Member Function Documentation

bool QgsMapCanvasLayer::isInOverview ( ) const
inline
bool QgsMapCanvasLayer::isVisible ( ) const
inline
QgsMapLayer* QgsMapCanvasLayer::layer ( )
inline
const QgsMapLayer* QgsMapCanvasLayer::layer ( ) const
inline
void QgsMapCanvasLayer::setInOverview ( bool  isInOverview)
inline
void QgsMapCanvasLayer::setVisible ( bool  visible)
inline

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