Skip to content

Commit 4b7da69

Browse files
committedSep 10, 2018
run sipify all
1 parent 10fc175 commit 4b7da69

12 files changed

+45
-45
lines changed
 

‎python/core/auto_generated/auth/qgsauthmethod.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Abstract base class for authentication method plugins
2323

2424
enum Expansion
2525
{
26-
// TODO
26+
// TODO: Figure out all different authentication expansions current layer providers use
2727
NetworkRequest,
2828
NetworkReply,
2929
DataSourceUri,

‎python/core/auto_generated/layertree/qgslayertreemodel.sip.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ The root node is not transferred by the model.
7676

7777
enum Flag
7878
{
79-
// display
79+
// display flags
8080
ShowLegend,
8181
ShowLegendAsTree,
8282
DeferredLegendInvalidation,
8383
UseEmbeddedWidgets,
8484

85-
// behavioral
85+
// behavioral flags
8686
AllowNodeReorder,
8787
AllowNodeRename,
8888
AllowNodeChangeVisibility,

‎python/core/auto_generated/layout/qgslayoutitemregistry.sip.in

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ of layout items.
153153
LayoutItem,
154154
LayoutGroup,
155155

156-
// known
156+
// known item types
157157

158-
// WARNING
159-
// values,
158+
// WARNING!!!! SIP CASTING OF QgsLayoutItem and QgsLayoutMultiFrame DEPENDS on these
159+
// values, and must be updated if any additional types are added
160160

161161
LayoutPage,
162162
LayoutMap,
@@ -169,18 +169,18 @@ of layout items.
169169
LayoutScaleBar,
170170
LayoutFrame,
171171

172-
// known
172+
// known multi-frame types
173173

174-
// WARNING
175-
// values,
174+
// WARNING!!!! SIP CASTING OF QgsLayoutItem and QgsLayoutMultiFrame DEPENDS on these
175+
// values, and must be updated if any additional types are added
176176

177177
LayoutHtml,
178178
LayoutAttributeTable,
179179
LayoutTextTable,
180180

181181
Layout3DMap,
182182

183-
// item
183+
// item types provided by plugins
184184
PluginItem,
185185
};
186186

‎python/core/auto_generated/layout/qgslayoutobject.sip.in

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ A base class for objects which belong to a layout.
2727
NoProperty,
2828
AllProperties,
2929
TestProperty,
30-
//composer
30+
//composer page properties
3131
PresetPaperSize,
3232
PaperWidth,
3333
PaperHeight,
3434
NumPages,
3535
PaperOrientation,
36-
//general
36+
//general composer item properties
3737
PageNumber,
3838
PositionX,
3939
PositionY,
@@ -46,7 +46,7 @@ A base class for objects which belong to a layout.
4646
ExcludeFromExports,
4747
FrameColor,
4848
BackgroundColor,
49-
//composer
49+
//composer map
5050
MapRotation,
5151
MapScale,
5252
MapXMin,
@@ -56,22 +56,22 @@ A base class for objects which belong to a layout.
5656
MapAtlasMargin,
5757
MapLayers,
5858
MapStylePreset,
59-
//composer
59+
//composer picture
6060
PictureSource,
6161
PictureSvgBackgroundColor,
6262
PictureSvgStrokeColor,
6363
PictureSvgStrokeWidth,
64-
//html
64+
//html item
6565
SourceUrl,
66-
//legend
66+
//legend item
6767
LegendTitle,
6868
LegendColumnCount,
69-
//scalebar
69+
//scalebar item
7070
ScalebarFillColor,
7171
ScalebarFillColor2,
7272
ScalebarLineColor,
7373
ScalebarLineWidth,
74-
//table
74+
//table item
7575
AttributeTableSourceLayer,
7676
};
7777

‎python/core/auto_generated/processing/qgsprocessingcontext.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ expression context.
2929

3030
enum Flag
3131
{
32-
// UseSelectionIfPresent,
32+
// UseSelectionIfPresent = 1 << 0,
3333
};
3434
typedef QFlags<QgsProcessingContext::Flag> Flags;
3535

‎python/core/auto_generated/qgsmapsettings.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Gets color that is used for drawing of selected vector features
234234
RenderMapTile,
235235
RenderPartialOutput,
236236
RenderPreviewJob,
237-
// TODO
237+
// TODO: ignore scale-based visibility (overview)
238238
};
239239
typedef QFlags<QgsMapSettings::Flag> Flags;
240240

‎python/core/auto_generated/qgspallabeling.sip.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class QgsPalLayerSettings
140140

141141
enum Property
142142
{
143-
// text
143+
// text style
144144
Size,
145145
Bold,
146146
Italic,
@@ -157,7 +157,7 @@ class QgsPalLayerSettings
157157
FontWordSpacing,
158158
FontBlendMode,
159159

160-
// text
160+
// text formatting
161161
MultiLineWrapChar,
162162
MultiLineHeight,
163163
MultiLineAlignment,
@@ -170,7 +170,7 @@ class QgsPalLayerSettings
170170
NumDecimals,
171171
NumPlusSign,
172172

173-
// text
173+
// text buffer
174174
BufferDraw,
175175
BufferSize,
176176
BufferUnit,
@@ -203,7 +203,7 @@ class QgsPalLayerSettings
203203
ShapeStrokeWidthUnits,
204204
ShapeJoinStyle,
205205

206-
// drop
206+
// drop shadow
207207
ShadowDraw,
208208
ShadowUnder,
209209
ShadowOffsetAngle,
@@ -226,7 +226,7 @@ class QgsPalLayerSettings
226226
DistanceUnits,
227227
OffsetRotation,
228228
CurvedCharAngleInOut,
229-
// (data
229+
// (data defined only)
230230
PositionX,
231231
PositionY,
232232
Hali,
@@ -251,7 +251,7 @@ class QgsPalLayerSettings
251251
ObstacleFactor,
252252
ZIndex,
253253

254-
// (data
254+
// (data defined only)
255255
Show,
256256
AlwaysShow
257257
};

‎python/core/auto_generated/qgstolerance.sip.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ This is the class is providing tolerance value in map unit values.
2626

2727
enum UnitType
2828
{
29-
//! Layer
29+
//! Layer unit value
3030
LayerUnits,
31-
//! Pixels
31+
//! Pixels unit of tolerance
3232
Pixels,
33-
//! Map
33+
//! Map (project) units. Added in 2.8
3434
ProjectUnits
3535
};
3636

‎python/core/auto_generated/qgsvectordataprovider.sip.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ of feature and attribute information from a spatial datasource.
6161

6262
enum FeatureCountState
6363
{
64-
//! Feature
64+
//! Feature count not yet computed
6565
Uncounted,
66-
//! Provider
66+
//! Provider returned an unknown feature count
6767
UnknownCount,
6868
};
6969

‎python/core/auto_generated/qgsvectorfilewriter.sip.in

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -198,16 +198,16 @@ Creates a clone of the FieldValueConverter.
198198

199199
enum EditionCapability
200200
{
201-
//! Flag
201+
//! Flag to indicate that a new layer can be added to the dataset
202202
CanAddNewLayer,
203203

204-
//! Flag
204+
//! Flag to indicate that new features can be added to an existing layer
205205
CanAppendToExistingLayer,
206206

207-
//! Flag
207+
//! Flag to indicate that new fields can be added to an existing layer. Imply CanAppendToExistingLayer
208208
CanAddNewFieldsToExistingLayer,
209209

210-
//! Flag
210+
//! Flag to indicate that an existing layer can be deleted
211211
CanDeleteLayer
212212
};
213213

@@ -216,16 +216,16 @@ Creates a clone of the FieldValueConverter.
216216

217217
enum ActionOnExistingFile
218218
{
219-
//! Create
219+
//! Create or overwrite file
220220
CreateOrOverwriteFile,
221221

222-
//! Create
222+
//! Create or overwrite layer
223223
CreateOrOverwriteLayer,
224224

225-
//! Append
225+
//! Append features to existing layer, but do not create new fields
226226
AppendToLayerNoNewFields,
227227

228-
//! Append
228+
//! Append features to existing layer, and create new fields if needed
229229
AppendToLayerAddFields
230230
};
231231

‎python/core/auto_generated/raster/qgsrasterminmaxorigin.sip.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ itself the min/max values.
4040

4141
enum Extent
4242
{
43-
//! Whole
43+
//! Whole raster is used to compute statistics.
4444
WholeRaster,
45-
//! Current
45+
//! Current extent of the canvas (at the time of computation) is used to compute statistics.
4646
CurrentCanvas,
47-
//! Constantly
47+
//! Constantly updated extent of the canvas is used to compute statistics.
4848
UpdatedCanvas
4949
};
5050

5151
enum StatAccuracy
5252
{
53-
//! Exact
53+
//! Exact statistics.
5454
Exact,
55-
//! Approximated
55+
//! Approximated statistics.
5656
Estimated
5757
};
5858

‎python/gui/auto_generated/attributetable/qgsattributetablemodel.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Is mostly referred to as "master model" within this doc and the source.
3131
FeatureIdRole,
3232
FieldIndexRole,
3333
UserRole,
34-
// Insert
34+
// Insert new values here, SortRole needs to be the last one
3535
SortRole,
3636
};
3737

0 commit comments

Comments
 (0)
Please sign in to comment.