QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Slots | Protected Attributes | List of all members
QgsMapCanvasRendererSync Class Reference

Class that does synchronization between QgsMapCanvas and its associated QgsMapRenderer: More...

#include <qgsmapcanvas.h>

Inheritance diagram for QgsMapCanvasRendererSync:
Inheritance graph
[legend]
Collaboration diagram for QgsMapCanvasRendererSync:
Collaboration graph
[legend]

Public Member Functions

 QgsMapCanvasRendererSync (QgsMapCanvas *canvas, QgsMapRenderer *renderer)
 

Protected Slots

void onExtentC2R ()
 
void onExtentR2C ()
 
void onMapUnitsC2R ()
 
void onMapUnitsR2C ()
 
void onCrsTransformC2R ()
 
void onCrsTransformR2C ()
 
void onDestCrsC2R ()
 
void onDestCrsR2C ()
 
void onLayersC2R ()
 

Protected Attributes

QgsMapCanvasmCanvas
 
QgsMapRenderermRenderer
 
bool mSyncingExtent
 

Detailed Description

Class that does synchronization between QgsMapCanvas and its associated QgsMapRenderer:

This class can be removed within API cleanup when QgsMapRenderer will not be accessible from canvas API anymore. Added in 2.4. This class is not a part of public API!

Definition at line 644 of file qgsmapcanvas.h.

Constructor & Destructor Documentation

QgsMapCanvasRendererSync::QgsMapCanvasRendererSync ( QgsMapCanvas canvas,
QgsMapRenderer renderer 
)

Member Function Documentation

void QgsMapCanvasRendererSync::onCrsTransformC2R ( )
protectedslot
void QgsMapCanvasRendererSync::onCrsTransformR2C ( )
protectedslot
void QgsMapCanvasRendererSync::onDestCrsC2R ( )
protectedslot
void QgsMapCanvasRendererSync::onDestCrsR2C ( )
protectedslot
void QgsMapCanvasRendererSync::onExtentC2R ( )
protectedslot
void QgsMapCanvasRendererSync::onExtentR2C ( )
protectedslot
void QgsMapCanvasRendererSync::onLayersC2R ( )
protectedslot
void QgsMapCanvasRendererSync::onMapUnitsC2R ( )
protectedslot
void QgsMapCanvasRendererSync::onMapUnitsR2C ( )
protectedslot

Member Data Documentation

QgsMapCanvas* QgsMapCanvasRendererSync::mCanvas
protected
QgsMapRenderer* QgsMapCanvasRendererSync::mRenderer
protected
bool QgsMapCanvasRendererSync::mSyncingExtent
protected

Definition at line 669 of file qgsmapcanvas.h.

Referenced by onExtentC2R(), and onExtentR2C().


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