Skip to content
Permalink
Browse files

Added renderStarting() signal to QgsMapCanvas.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12955 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Feb 18, 2010
1 parent 00019a6 commit 12fdb6e576296e8e94ac833432c83ddbc1e72120
Showing with 12 additions and 1 deletion.
  1. +5 −1 python/gui/qgsmapcanvas.sip
  2. +3 −0 src/gui/qgsmapcanvas.cpp
  3. +4 −0 src/gui/qgsmapcanvas.h
@@ -250,7 +250,11 @@ class QgsMapCanvas : QGraphicsView

*/
void renderComplete(QPainter *);


/** Emitted when the canvas is about to be rendered.
\note Added in 1.5 */
void renderStarting();

//! Emitted when a new set of layers has been received
void layersChanged();

@@ -366,6 +366,9 @@ void QgsMapCanvas::refresh()

// Tell the user we're going to be a while
QApplication::setOverrideCursor( Qt::WaitCursor );

emit renderStarting();

mMap->render();

mDirty = false;
@@ -312,6 +312,10 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
*/
void renderComplete( QPainter * );

/** Emitted when the canvas is about to be rendered.
\note Added in 1.5 */
void renderStarting();

//! Emitted when a new set of layers has been received
void layersChanged();

0 comments on commit 12fdb6e

Please sign in to comment.
You can’t perform that action at this time.