QGIS API Documentation  2.12.0-Lyon
qgsproviderextentcalcevent.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsproviderextentcalcevent.h - Notification that the exact extent
3  of a layer has been calculated.
4  -------------------
5  begin : Feb 1, 2005
6  copyright : (C) 2005 by Brendan Morley
7  email : morb at ozemail dot com dot au
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #ifndef QGSPROVIDEREXTENTCALCEVENT_H
20 #define QGSPROVIDEREXTENTCALCEVENT_H
21 
22 #include <QEvent>
23 class QgsRectangle;
24 
40 // TODO: Add the pg table this is a extent OF.
41 
42 class CORE_EXPORT QgsProviderExtentCalcEvent : public QEvent
43 {
44 
45  public:
46 
48 
49  QgsRectangle* layerExtent() const;
50 
51 
52  private:
53 
54  QgsRectangle* le;
55 
56 };
57 
58 #endif
A rectangle specified with double values.
Definition: qgsrectangle.h:35
A custom event that is designed to be fired when a layer extent has been fully calculated.