@@ -42,8 +42,8 @@ class QgsAnnotationManager : QObject
42
42
%Docstring
43
43
Adds an annotation to the manager. Ownership of the annotation is transferred to the manager.
44
44
Returns true if the addition was successful, or false if the annotation could not be added.
45
- \see removeAnnotation()
46
- \see annotationAdded()
45
+ .. seealso:: removeAnnotation()
46
+ .. seealso:: annotationAdded()
47
47
:rtype: bool
48
48
%End
49
49
@@ -52,23 +52,23 @@ class QgsAnnotationManager : QObject
52
52
Removes an annotation from the manager. The annotation is deleted.
53
53
Returns true if the removal was successful, or false if the removal failed (eg as a result
54
54
of removing an annotation which is not contained in the manager).
55
- \see addAnnotation()
56
- \see compositionRemoved()
57
- \see compositionAboutToBeRemoved()
58
- \see clear()
55
+ .. seealso:: addAnnotation()
56
+ .. seealso:: compositionRemoved()
57
+ .. seealso:: compositionAboutToBeRemoved()
58
+ .. seealso:: clear()
59
59
:rtype: bool
60
60
%End
61
61
62
62
void clear();
63
63
%Docstring
64
64
Removes and deletes all annotations from the manager.
65
- \see removeAnnotation()
65
+ .. seealso:: removeAnnotation()
66
66
%End
67
67
68
68
QList< QgsAnnotation * > annotations() const;
69
69
%Docstring
70
70
Returns a list of all annotations contained in the manager.
71
- \see cloneAnnotations()
71
+ .. seealso:: cloneAnnotations()
72
72
:rtype: list of QgsAnnotation
73
73
%End
74
74
@@ -77,22 +77,22 @@ class QgsAnnotationManager : QObject
77
77
Returns a list containing clones of all annotations contained
78
78
in the manager. The caller takes responsibility for deleting
79
79
all returned annotations.
80
- \see annotations()
80
+ .. seealso:: annotations()
81
81
:rtype: list of QgsAnnotation
82
82
%End
83
83
84
84
bool readXml( const QDomElement &element, const QDomDocument &doc );
85
85
%Docstring
86
86
Reads the manager's state from a DOM element, restoring all annotations
87
87
present in the XML document.
88
- \see writeXml()
88
+ .. seealso:: writeXml()
89
89
:rtype: bool
90
90
%End
91
91
92
92
QDomElement writeXml( QDomDocument &doc ) const;
93
93
%Docstring
94
94
Returns a DOM element representing the state of the manager.
95
- \see readXml()
95
+ .. seealso:: readXml()
96
96
:rtype: QDomElement
97
97
%End
98
98
0 commit comments