~ubuntu-branches/ubuntu/utopic/qgis/utopic

« back to all changes in this revision

Viewing changes to python/gui/qgsmapcanvas.sip

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-04-24 15:12:20 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120424151220-r88g00af5fpn5fc3
Tags: 1.7.4+1.7.5~20120320-1
The "Sometimes they come back" release.

* Branching from Qgis tree and adapting to current Debian Policy and
  standards. The target tree is currently set to release-1.7.
  (closes: #661491, #606304, #615683, #616182, #600308)
* Policy bumped to 3.9.3.
* Moving to debhelper compatibility level 9.
* Source format is now 3.0 with quilt support.
* Merged with 2bf42287 upstream git snapshot.
* Migrated to dh_python2 instead of python-central.
  (closes: #617048)
* Snapshot in qgis.org release-1.7: c936d031
* Added an automagic creation of a lintian override for sqlite embedding.
  This is required for uploading currently.
* Added missing ${misc:Depends} to make lintian happy.
* Copyright notes updated and debian/copyright moved to format 1.0.
* More licenses notices now reported in debian/copyright. Thanks ftpmasters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    QgsMapRenderer* mapRenderer();
66
66
    
67
67
    //! Accessor for the canvas pixmap
68
 
    QPixmap& canvasPixmap();
 
68
    // @deprecated use canvasPaintDevice()
 
69
    QPixmap& canvasPixmap() /Deprecated/;
 
70
 
 
71
    //! Accessor for the canvas paint device
 
72
    QPaintDevice &canvasPaintDevice();
69
73
 
70
74
    //! Get the last reported scale of the canvas
71
75
    double scale();
128
132
    //! return number of layers on the map
129
133
    int layerCount() const;
130
134
 
 
135
    //! return list of layers within map canvas. Added in v1.5
 
136
    QList<QgsMapLayer*> layers() const;
 
137
 
131
138
    /*! Freeze/thaw the map canvas. This is used to prevent the canvas from
132
139
     * responding to events while layers are being added/removed etc.
133
140
     * @param frz Boolean specifying if the canvas should be frozen (true) or
167
174
 
168
175
    //! Zoom out with fixed factor
169
176
    void zoomOut( );
 
177
 
 
178
    //! Zoom to a specific scale
 
179
    // added in 1.5
 
180
    void zoomScale( double scale );
170
181
    
171
182
    //! Zoom with the factor supplied. Factor > 1 zooms in
172
183
    void zoomByFactor( double scaleFactor );
247
258
 
248
259
    */
249
260
    void renderComplete(QPainter *);
250
 
    
 
261
 
 
262
    /** Emitted when the canvas is about to be rendered.
 
263
      \note Added in 1.5 */
 
264
    void renderStarting();
 
265
 
251
266
    //! Emitted when a new set of layers has been received
252
267
    void layersChanged();
253
268
 
291
306
    //! Overridden resize event
292
307
    void resizeEvent(QResizeEvent * e);
293
308
 
 
309
    //! Overridden paint event
 
310
    void paintEvent(QPaintEvent *);
 
311
 
294
312
    //! called when panning is in action, reset indicates end of panning
295
313
    void moveCanvasContents(bool reset = FALSE);
296
314