Skip to content

Commit ba33f55

Browse files
author
mhugent
committed
Added notes about new classes and methods in 1.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@10492 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0af72a7 commit ba33f55

8 files changed

+32
-11
lines changed

src/core/qgscentralpointpositionmanager.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
class QgsPoint;
2525

2626
/**A simple position manager implementation which positions the overlay objects on the center point of
27-
a feature. It does not consider conflicts in case of several overlay layers*/
27+
a feature. It does not consider conflicts in case of several overlay layers
28+
* \note This class has been added in version 1.1
29+
*/
2830
class QgsCentralPointPositionManager: public QgsOverlayObjectPositionManager
2931
{
3032
public:

src/core/qgsgeometry.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ class CORE_EXPORT QgsGeometry
118118
*/
119119
size_t wkbSize();
120120

121-
/**Returns a geos geomtry. QgsGeometry keeps ownership, don't delete this object!*/
121+
/**Returns a geos geomtry. QgsGeometry keeps ownership, don't delete the returned object!
122+
@note this method was added in version 1.1*/
122123
GEOSGeometry* asGeos();
123124

124125
/** Returns type of wkb (point / linestring / polygon etc.) */

src/core/qgsmaprenderer.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ class CORE_EXPORT QgsMapRenderer : public QObject
179179
*/
180180
bool splitLayersExtent( QgsMapLayer* layer, QgsRectangle& extent, QgsRectangle& r2 );
181181

182-
/**Creates an overlay object position manager subclass according to the current settings*/
182+
/**Creates an overlay object position manager subclass according to the current settings
183+
@note this method was added in version 1.1*/
183184
QgsOverlayObjectPositionManager* overlayManagerFromSettings();
184185

185186
protected:

src/core/qgsoverlayobject.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
class QgsGeometry;
2626

2727
/**An object that holds information about the position and bounding box size of
28-
an overlay object. It stores a copy of the feature geometry as this information is commonly used
29-
to calculate object placement*/
28+
* an overlay object. It stores a copy of the feature geometry as this information is commonly used
29+
* to calculate object placement
30+
* \note This class has been added in version 1.1
31+
*/
3032
class CORE_EXPORT QgsOverlayObject: public pal::PalGeometry
3133
{
3234
public:

src/core/qgsoverlayobjectpositionmanager.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ class QgsRenderContext;
2525
class QgsVectorLayer;
2626
class QgsVectorOverlay;
2727

28-
/**Interface for classes that arrange overlay objects of different layers on the map*/
28+
/**Interface for classes that arrange overlay objects of different layers on the map
29+
* \note This class has been added in version 1.1
30+
*/
2931
class QgsOverlayObjectPositionManager
3032
{
3133
public:

src/core/qgspalobjectpositionmanager.h

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
#include "qgsoverlayobjectpositionmanager.h"
2222
#include "pal.h"
2323

24+
/**A class that uses the PAL library for overlay object placement
25+
* \note This class has been added in version 1.1
26+
*/
2427
class QgsPALObjectPositionManager: public QgsOverlayObjectPositionManager
2528
{
2629
public:

src/core/qgsvectorlayer.h

+12-4
Original file line numberDiff line numberDiff line change
@@ -427,16 +427,24 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
427427
/**access range */
428428
RangeData &range( int idx );
429429

430-
/**Adds a new overlay to this class. QgsVectorLayer takes ownership of the object*/
430+
/**Adds a new overlay to this class. QgsVectorLayer takes ownership of the object
431+
@note this method was added in version 1.1
432+
*/
431433
void addOverlay( QgsVectorOverlay* overlay );
432434

433-
/**Removes all overlays of a given type*/
435+
/**Removes all overlays of a given type
436+
@note this method was added in version 1.1
437+
*/
434438
void removeOverlay( const QString& typeName );
435439

436-
/**Returns pointers to the overlays of this layer*/
440+
/**Returns pointers to the overlays of this layer
441+
@note this method was added in version 1.1
442+
*/
437443
void vectorOverlays( QList<QgsVectorOverlay*>& overlayList );
438444

439-
/**Returns the (first) overlay of a type, e.g. diagram or label*/
445+
/**Returns the (first) overlay of a type, e.g. diagram or label
446+
@note this method was added in version 1.1
447+
*/
440448
QgsVectorOverlay* findOverlayByType( const QString& typeName );
441449

442450
public slots:

src/core/qgsvectoroverlay.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ class QgsOverlayObject;
2525
class QgsRect;
2626
class QgsRenderContext;
2727

28-
/**Base class for vector layer overlays (e.g. Diagrams, labels, etc.). For each object, the position of the bounding box is stored in a QgsOberlayObject. The vector overlays are drawn on top of all layers*/
28+
/**Base class for vector layer overlays (e.g. Diagrams, labels, etc.). For each object, the position of the bounding box is *stored in a QgsOberlayObject. The vector overlays are drawn on top of all layers
29+
* \note This class has been added in version 1.1
30+
*/
2931
class CORE_EXPORT QgsVectorOverlay
3032
{
3133
public:

0 commit comments

Comments
 (0)