Skip to content

Commit 7314047

Browse files
committed
Fix missing doc strings due to invalid doxygen tags
1 parent 3e8c5cf commit 7314047

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+256
-254
lines changed

python/core/composer/qgscomposerhtml.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class QgsComposerHtml: QgsComposerMultiFrame
1010
*/
1111
enum ContentMode
1212
{
13-
Url, /*< Using this mode item fetches its content via a url*/
14-
ManualHtml /*< HTML content is manually set for the item*/
13+
Url, /*!< Using this mode item fetches its content via a url*/
14+
ManualHtml /*!< HTML content is manually set for the item*/
1515
};
1616

1717
QgsComposerHtml( QgsComposition* c /TransferThis/, bool createUndoCommands );

python/core/composer/qgscomposeritem.sip

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
143143
*/
144144
enum ZoomMode
145145
{
146-
Zoom = 0, /*< Zoom to center of content */
147-
ZoomRecenter, /*< Zoom and recenter content to point */
148-
ZoomToPoint, /*< Zoom while maintaining relative position of point */
149-
NoZoom /*< No zoom */
146+
Zoom = 0, /*!< Zoom to center of content */
147+
ZoomRecenter, /*!< Zoom and recenter content to point */
148+
ZoomToPoint, /*!< Zoom while maintaining relative position of point */
149+
NoZoom /*!< No zoom */
150150
};
151151

152152
/**Constructor

python/core/composer/qgscomposermap.sip

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ class QgsComposerMap : QgsComposerItem
8787
*/
8888
enum AtlasScalingMode
8989
{
90-
Fixed, /*< The current scale of the map is used for each feature of the atlas */
91-
Predefined, /*< A scale is chosen from the predefined scales. The smallest scale from
90+
Fixed, /*!< The current scale of the map is used for each feature of the atlas */
91+
Predefined, /*!< A scale is chosen from the predefined scales. The smallest scale from
9292
the list of scales where the atlas feature is fully visible is chosen.
9393
@see QgsAtlasComposition::setPredefinedScales.
9494
@note This mode is only valid for polygon or line atlas coverage layers
9595
*/
96-
Auto /*< The extent is adjusted so that each feature is fully visible.
96+
Auto /*!< The extent is adjusted so that each feature is fully visible.
9797
A margin is applied around the center @see setAtlasMargin
9898
@note This mode is only valid for polygon or line atlas coverage layers*/
9999
};

python/core/composer/qgscomposermapgrid.sip

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -128,104 +128,104 @@ class QgsComposerMapGrid : QgsComposerMapItem
128128
*/
129129
enum GridUnit
130130
{
131-
MapUnit, /*< grid units follow map units */
132-
MM, /*< grid units in millimetres */
133-
CM /*< grid units in centimetres */
131+
MapUnit, /*!< grid units follow map units */
132+
MM, /*!< grid units in millimetres */
133+
CM /*!< grid units in centimetres */
134134
};
135135

136136
/** Grid drawing style
137137
*/
138138
enum GridStyle
139139
{
140140
Solid,
141-
Cross, /*< draw line crosses at intersections of grid lines */
142-
Markers, /*< draw markers at intersections of grid lines */
143-
FrameAnnotationsOnly /*< no grid lines over the map, only draw frame and annotations */
141+
Cross, /*!< draw line crosses at intersections of grid lines */
142+
Markers, /*!< draw markers at intersections of grid lines */
143+
FrameAnnotationsOnly /*!< no grid lines over the map, only draw frame and annotations */
144144
};
145145

146146
/** Display settings for grid annotations and frames
147147
*/
148148
enum DisplayMode
149149
{
150-
ShowAll = 0, /*< show both latitude and longitude annotations/divisions */
151-
LatitudeOnly, /*< show latitude/y annotations/divisions only */
152-
LongitudeOnly, /*< show longitude/x annotations/divisions only */
153-
HideAll /*< no annotations */
150+
ShowAll = 0, /*!< show both latitude and longitude annotations/divisions */
151+
LatitudeOnly, /*!< show latitude/y annotations/divisions only */
152+
LongitudeOnly, /*!< show longitude/x annotations/divisions only */
153+
HideAll /*!< no annotations */
154154
};
155155

156156
/** Position for grid annotations
157157
*/
158158
enum AnnotationPosition
159159
{
160160
InsideMapFrame = 0,
161-
OutsideMapFrame, /*< draw annotations outside the map frame */
162-
Disabled /*< disable annotation
161+
OutsideMapFrame, /*!< draw annotations outside the map frame */
162+
Disabled /*!< disable annotation
163163
* @deprecated in QGIS 2.7, use QgsComposerMapGrid::HideAll instead */
164164
};
165165

166166
/** Direction of grid annotations
167167
*/
168168
enum AnnotationDirection
169169
{
170-
Horizontal = 0, /*< draw annotations horizontally */
171-
Vertical, /*< draw annotations vertically, ascending */
172-
VerticalDescending, /*< draw annotations vertically, descending */
173-
BoundaryDirection /*< annotations follow the boundary direction */
170+
Horizontal = 0, /*!< draw annotations horizontally */
171+
Vertical, /*!< draw annotations vertically, ascending */
172+
VerticalDescending, /*!< draw annotations vertically, descending */
173+
BoundaryDirection /*!< annotations follow the boundary direction */
174174
};
175175

176176
/** Format for displaying grid annotations
177177
*/
178178
enum AnnotationFormat
179179
{
180-
Decimal, /*< decimal degrees, use - for S/W coordinates */
181-
DegreeMinute, /*< degree/minutes, use NSEW suffix */
182-
DegreeMinuteSecond, /*< degree/minutes/seconds, use NSEW suffix */
183-
DecimalWithSuffix, /*< decimal degrees, use NSEW suffix */
184-
DegreeMinuteNoSuffix, /*< degree/minutes, use - for S/W coordinates */
185-
DegreeMinutePadded, /*< degree/minutes, with minutes using leading zeros were required */
186-
DegreeMinuteSecondNoSuffix, /*< degree/minutes/seconds, use - for S/W coordinates */
187-
DegreeMinuteSecondPadded /*< degree/minutes/seconds, with minutes using leading zeros were required */
180+
Decimal, /*!< decimal degrees, use - for S/W coordinates */
181+
DegreeMinute, /*!< degree/minutes, use NSEW suffix */
182+
DegreeMinuteSecond, /*!< degree/minutes/seconds, use NSEW suffix */
183+
DecimalWithSuffix, /*!< decimal degrees, use NSEW suffix */
184+
DegreeMinuteNoSuffix, /*!< degree/minutes, use - for S/W coordinates */
185+
DegreeMinutePadded, /*!< degree/minutes, with minutes using leading zeros were required */
186+
DegreeMinuteSecondNoSuffix, /*!< degree/minutes/seconds, use - for S/W coordinates */
187+
DegreeMinuteSecondPadded /*!< degree/minutes/seconds, with minutes using leading zeros were required */
188188
};
189189

190190
/** Border sides for annotations
191191
*/
192192
enum BorderSide
193193
{
194194
Left,
195-
Right, /*< right border */
196-
Bottom, /*< bottom border */
197-
Top /*< top border */
195+
Right, /*!< right border */
196+
Bottom, /*!< bottom border */
197+
Top /*!< top border */
198198
};
199199

200200
/** Style for grid frame
201201
*/
202202
enum FrameStyle
203203
{
204-
NoFrame, /*< disable grid frame */
205-
Zebra, /*< black/white pattern */
206-
InteriorTicks, /*< tick markers drawn inside map frame */
207-
ExteriorTicks, /*< tick markers drawn outside map frame */
208-
InteriorExteriorTicks, /*< tick markers drawn both inside and outside the map frame */
209-
LineBorder /*< simple solid line frame */
204+
NoFrame, /*!< disable grid frame */
205+
Zebra, /*!< black/white pattern */
206+
InteriorTicks, /*!< tick markers drawn inside map frame */
207+
ExteriorTicks, /*!< tick markers drawn outside map frame */
208+
InteriorExteriorTicks, /*!< tick markers drawn both inside and outside the map frame */
209+
LineBorder /*!< simple solid line frame */
210210
};
211211

212212
/** Flags for controlling which side of the map a frame is drawn on
213213
*/
214214
enum FrameSideFlag
215215
{
216-
FrameLeft, /*< left side of map */
217-
FrameRight, /*< right side of map */
218-
FrameTop, /*< top side of map */
219-
FrameBottom /*< bottom side of map */
216+
FrameLeft, /*!< left side of map */
217+
FrameRight, /*!< right side of map */
218+
FrameTop, /*!< top side of map */
219+
FrameBottom /*!< bottom side of map */
220220
};
221221
typedef QFlags<QgsComposerMapGrid::FrameSideFlag> FrameSideFlags;
222222

223223
/** Annotation coordinate type
224224
*/
225225
enum AnnotationCoordinate
226226
{
227-
Longitude, /*< coordinate is a longitude value */
228-
Latitude /*< coordinate is a latitude value */
227+
Longitude, /*!< coordinate is a longitude value */
228+
Latitude /*!< coordinate is a latitude value */
229229
};
230230

231231
/**Constructor for QgsComposerMapGrid.

python/core/composer/qgscomposerobject.sip

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,37 @@ class QgsComposerObject : QObject
1313
*/
1414
enum DataDefinedProperty
1515
{
16-
NoProperty = 0, /*< no property */
17-
AllProperties, /*< all properties for item */
18-
TestProperty, /*< dummy property with no effect on item*/
16+
NoProperty = 0, /*!< no property */
17+
AllProperties, /*!< all properties for item */
18+
TestProperty, /*!< dummy property with no effect on item*/
1919
//composer page properties
20-
PresetPaperSize, /*< preset paper size for composition */
21-
PaperWidth, /*< paper width */
22-
PaperHeight, /*< paper height */
23-
NumPages, /*< number of pages in composition */
24-
PaperOrientation, /*< paper orientation */
20+
PresetPaperSize, /*!< preset paper size for composition */
21+
PaperWidth, /*!< paper width */
22+
PaperHeight, /*!< paper height */
23+
NumPages, /*!< number of pages in composition */
24+
PaperOrientation, /*!< paper orientation */
2525
//general composer item properties
26-
PageNumber, /*< page number for item placement */
27-
PositionX, /*< x position on page */
28-
PositionY, /*< y position on page */
29-
ItemWidth, /*< width of item */
30-
ItemHeight, /*< height of item */
31-
ItemRotation, /*< rotation of item */
32-
Transparency, /*< item transparency */
33-
BlendMode, /*< item blend mode */
34-
ExcludeFromExports, /*< exclude item from exports */
26+
PageNumber, /*!< page number for item placement */
27+
PositionX, /*!< x position on page */
28+
PositionY, /*!< y position on page */
29+
ItemWidth, /*!< width of item */
30+
ItemHeight, /*!< height of item */
31+
ItemRotation, /*!< rotation of item */
32+
Transparency, /*!< item transparency */
33+
BlendMode, /*!< item blend mode */
34+
ExcludeFromExports, /*!< exclude item from exports */
3535
//composer map
36-
MapRotation, /*< map rotation */
37-
MapScale, /*< map scale */
38-
MapXMin, /*< map extent x minimum */
39-
MapYMin, /*< map extent y minimum */
40-
MapXMax, /*< map extent x maximum */
41-
MapYMax, /*< map extent y maximum */
42-
MapAtlasMargin, /*< map atlas margin*/
36+
MapRotation, /*!< map rotation */
37+
MapScale, /*!< map scale */
38+
MapXMin, /*!< map extent x minimum */
39+
MapYMin, /*!< map extent y minimum */
40+
MapXMax, /*!< map extent x maximum */
41+
MapYMax, /*!< map extent y maximum */
42+
MapAtlasMargin, /*!< map atlas margin*/
4343
//composer picture
44-
PictureSource, /*< picture source url */
44+
PictureSource, /*!< picture source url */
4545
//html item
46-
SourceUrl /*< html source url */
46+
SourceUrl /*!< html source url */
4747
};
4848

4949
/** Specifies whether the value returned by a function should be the original, user
@@ -52,8 +52,8 @@ class QgsComposerObject : QObject
5252
*/
5353
enum PropertyValueType
5454
{
55-
EvaluatedValue = 0, /*< return the current evaluated value for the property */
56-
OriginalValue /*< return the original, user set value */
55+
EvaluatedValue = 0, /*!< return the current evaluated value for the property */
56+
OriginalValue /*!< return the original, user set value */
5757
};
5858

5959
/**Constructor

python/core/effects/qgsblureffect.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class QgsBlurEffect : QgsPaintEffect
1717
/** Available blur methods (algorithms) */
1818
enum BlurMethod
1919
{
20-
StackBlur, /*< stack blur, a fast but low quality blur. Valid blur level values are between 0 - 16.*/
21-
GaussianBlur /*< Gaussian blur, a slower but high quality blur. Blur level values are the distance in pixels for the blur operation. */
20+
StackBlur, /*!< stack blur, a fast but low quality blur. Valid blur level values are between 0 - 16.*/
21+
GaussianBlur /*!< Gaussian blur, a slower but high quality blur. Blur level values are the distance in pixels for the blur operation. */
2222
};
2323

2424
/** Creates a new QgsBlurEffect effect from a properties string map.

python/core/effects/qgsgloweffect.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class QgsGlowEffect : QgsPaintEffect
1717
/** Color sources for the glow */
1818
enum GlowColorType
1919
{
20-
SingleColor, /*< use a single color and fade the color to totally transparent */
21-
ColorRamp /*< use colors from a color ramp */
20+
SingleColor, /*!< use a single color and fade the color to totally transparent */
21+
ColorRamp /*!< use colors from a color ramp */
2222
};
2323

2424
QgsGlowEffect();

python/core/effects/qgsimageoperation.sip

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ class QgsImageOperation
2424
*/
2525
enum GrayscaleMode
2626
{
27-
GrayscaleLightness, /*< keep the lightness of the color, drops the saturation */
28-
GrayscaleLuminosity, /*< grayscale by perceptual luminosity (weighted sum of color RGB components) */
29-
GrayscaleAverage /*< grayscale by taking average of color RGB components */
27+
GrayscaleLightness, /*!< keep the lightness of the color, drops the saturation */
28+
GrayscaleLuminosity, /*!< grayscale by perceptual luminosity (weighted sum of color RGB components) */
29+
GrayscaleAverage /*!< grayscale by taking average of color RGB components */
3030
};
3131

3232
/** Flip operation types
3333
*/
3434
enum FlipType
3535
{
36-
FlipHorizontal, /*< flip the image horizontally */
37-
FlipVertical /*< flip the image vertically */
36+
FlipHorizontal, /*!< flip the image horizontally */
37+
FlipVertical /*!< flip the image vertically */
3838
};
3939

4040
/**Convert a QImage to a grayscale image. Alpha channel is preserved.

python/core/effects/qgspainteffect.sip

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ class QgsPaintEffect
7474
*/
7575
enum DrawMode
7676
{
77-
Modifier, /*< the result of the effect is not rendered, but is passed on to following effects in the stack */
78-
Render, /*< the result of the effect is rendered on the destination, but does not affect subsequent effects in the stack */
79-
ModifyAndRender /*< the result of the effect is both rendered and passed on to subsequent effects in the stack */
77+
Modifier, /*!< the result of the effect is not rendered, but is passed on to following effects in the stack */
78+
Render, /*!< the result of the effect is rendered on the destination, but does not affect subsequent effects in the stack */
79+
ModifyAndRender /*!< the result of the effect is both rendered and passed on to subsequent effects in the stack */
8080
};
8181

8282
QgsPaintEffect();

python/core/qgscolorscheme.sip

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ class QgsColorScheme
2222
*/
2323
enum SchemeFlag
2424
{
25-
ShowInColorDialog, /*< show scheme in color picker dialog */
26-
ShowInColorButtonMenu, /*< show scheme in color button drop down menu */
27-
ShowInAllContexts /*< show scheme in all contexts */
25+
ShowInColorDialog, /*!< show scheme in color picker dialog */
26+
ShowInColorButtonMenu, /*!< show scheme in color button drop down menu */
27+
ShowInAllContexts /*!< show scheme in all contexts */
2828
};
2929
typedef QFlags<QgsColorScheme::SchemeFlag> SchemeFlags;
3030

0 commit comments

Comments
 (0)