|
Quantum GIS API Documentation
master-ce49b66
|
A class that stores visibility and presence in overview flags together with pointer to the layer. More...
#include <qgsmapcanvas.h>
Collaboration diagram for QgsMapCanvasLayer:Public Member Functions | |
| QgsMapCanvasLayer (QgsMapLayer *layer, bool visible=true, bool isInOverview=false) | |
| bool | isInOverview () const |
| bool | isVisible () const |
| QgsMapLayer * | layer () |
| const QgsMapLayer * | layer () const |
| void | setInOverview (bool isInOverview) |
| void | setVisible (bool visible) |
Private Attributes | |
| bool | mInOverview |
| Flag whether layer is shown in overview. | |
| QgsMapLayer * | mLayer |
| bool | mVisible |
| Flag whether layer is visible. | |
A class that stores visibility and presence in overview flags together with pointer to the layer.
Definition at line 69 of file qgsmapcanvas.h.
| QgsMapCanvasLayer::QgsMapCanvasLayer | ( | QgsMapLayer * | layer, |
| bool | visible = true, |
||
| bool | isInOverview = false |
||
| ) | [inline] |
Definition at line 72 of file qgsmapcanvas.h.
| bool QgsMapCanvasLayer::isInOverview | ( | ) | const [inline] |
Definition at line 79 of file qgsmapcanvas.h.
Referenced by QgsMapCanvas::setLayerSet().
| bool QgsMapCanvasLayer::isVisible | ( | ) | const [inline] |
Definition at line 78 of file qgsmapcanvas.h.
Referenced by QgsMapCanvas::setLayerSet().
| QgsMapLayer* QgsMapCanvasLayer::layer | ( | ) | [inline] |
Definition at line 81 of file qgsmapcanvas.h.
Referenced by QgsMapCanvas::setLayerSet().
| const QgsMapLayer* QgsMapCanvasLayer::layer | ( | ) | const [inline] |
Definition at line 82 of file qgsmapcanvas.h.
| void QgsMapCanvasLayer::setInOverview | ( | bool | isInOverview | ) | [inline] |
Definition at line 76 of file qgsmapcanvas.h.
| void QgsMapCanvasLayer::setVisible | ( | bool | visible | ) | [inline] |
Definition at line 75 of file qgsmapcanvas.h.
bool QgsMapCanvasLayer::mInOverview [private] |
Flag whether layer is shown in overview.
Definition at line 91 of file qgsmapcanvas.h.
QgsMapLayer* QgsMapCanvasLayer::mLayer [private] |
Definition at line 85 of file qgsmapcanvas.h.
bool QgsMapCanvasLayer::mVisible [private] |
Flag whether layer is visible.
Definition at line 88 of file qgsmapcanvas.h.