File tree Expand file tree Collapse file tree 12 files changed +45
-45
lines changed
gui/auto_generated/attributetable Expand file tree Collapse file tree 12 files changed +45
-45
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Abstract base class for authentication method plugins
23
23
24
24
enum Expansion
25
25
{
26
- // TODO
26
+ // TODO: Figure out all different authentication expansions current layer providers use
27
27
NetworkRequest,
28
28
NetworkReply,
29
29
DataSourceUri,
Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ The root node is not transferred by the model.
76
76
77
77
enum Flag
78
78
{
79
- // display
79
+ // display flags
80
80
ShowLegend,
81
81
ShowLegendAsTree,
82
82
DeferredLegendInvalidation,
83
83
UseEmbeddedWidgets,
84
84
85
- // behavioral
85
+ // behavioral flags
86
86
AllowNodeReorder,
87
87
AllowNodeRename,
88
88
AllowNodeChangeVisibility,
Original file line number Diff line number Diff line change @@ -153,10 +153,10 @@ of layout items.
153
153
LayoutItem,
154
154
LayoutGroup,
155
155
156
- // known
156
+ // known item types
157
157
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
160
160
161
161
LayoutPage,
162
162
LayoutMap,
@@ -169,18 +169,18 @@ of layout items.
169
169
LayoutScaleBar,
170
170
LayoutFrame,
171
171
172
- // known
172
+ // known multi-frame types
173
173
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
176
176
177
177
LayoutHtml,
178
178
LayoutAttributeTable,
179
179
LayoutTextTable,
180
180
181
181
Layout3DMap,
182
182
183
- // item
183
+ // item types provided by plugins
184
184
PluginItem,
185
185
};
186
186
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ A base class for objects which belong to a layout.
27
27
NoProperty,
28
28
AllProperties,
29
29
TestProperty,
30
- //composer
30
+ //composer page properties
31
31
PresetPaperSize,
32
32
PaperWidth,
33
33
PaperHeight,
34
34
NumPages,
35
35
PaperOrientation,
36
- //general
36
+ //general composer item properties
37
37
PageNumber,
38
38
PositionX,
39
39
PositionY,
@@ -46,7 +46,7 @@ A base class for objects which belong to a layout.
46
46
ExcludeFromExports,
47
47
FrameColor,
48
48
BackgroundColor,
49
- //composer
49
+ //composer map
50
50
MapRotation,
51
51
MapScale,
52
52
MapXMin,
@@ -56,22 +56,22 @@ A base class for objects which belong to a layout.
56
56
MapAtlasMargin,
57
57
MapLayers,
58
58
MapStylePreset,
59
- //composer
59
+ //composer picture
60
60
PictureSource,
61
61
PictureSvgBackgroundColor,
62
62
PictureSvgStrokeColor,
63
63
PictureSvgStrokeWidth,
64
- //html
64
+ //html item
65
65
SourceUrl,
66
- //legend
66
+ //legend item
67
67
LegendTitle,
68
68
LegendColumnCount,
69
- //scalebar
69
+ //scalebar item
70
70
ScalebarFillColor,
71
71
ScalebarFillColor2,
72
72
ScalebarLineColor,
73
73
ScalebarLineWidth,
74
- //table
74
+ //table item
75
75
AttributeTableSourceLayer,
76
76
};
77
77
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ expression context.
29
29
30
30
enum Flag
31
31
{
32
- // UseSelectionIfPresent,
32
+ // UseSelectionIfPresent = 1 << 0 ,
33
33
};
34
34
typedef QFlags<QgsProcessingContext::Flag> Flags;
35
35
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ Gets color that is used for drawing of selected vector features
234
234
RenderMapTile,
235
235
RenderPartialOutput,
236
236
RenderPreviewJob,
237
- // TODO
237
+ // TODO: ignore scale-based visibility (overview)
238
238
};
239
239
typedef QFlags<QgsMapSettings::Flag> Flags;
240
240
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ class QgsPalLayerSettings
140
140
141
141
enum Property
142
142
{
143
- // text
143
+ // text style
144
144
Size,
145
145
Bold,
146
146
Italic,
@@ -157,7 +157,7 @@ class QgsPalLayerSettings
157
157
FontWordSpacing,
158
158
FontBlendMode,
159
159
160
- // text
160
+ // text formatting
161
161
MultiLineWrapChar,
162
162
MultiLineHeight,
163
163
MultiLineAlignment,
@@ -170,7 +170,7 @@ class QgsPalLayerSettings
170
170
NumDecimals,
171
171
NumPlusSign,
172
172
173
- // text
173
+ // text buffer
174
174
BufferDraw,
175
175
BufferSize,
176
176
BufferUnit,
@@ -203,7 +203,7 @@ class QgsPalLayerSettings
203
203
ShapeStrokeWidthUnits,
204
204
ShapeJoinStyle,
205
205
206
- // drop
206
+ // drop shadow
207
207
ShadowDraw,
208
208
ShadowUnder,
209
209
ShadowOffsetAngle,
@@ -226,7 +226,7 @@ class QgsPalLayerSettings
226
226
DistanceUnits,
227
227
OffsetRotation,
228
228
CurvedCharAngleInOut,
229
- // (data
229
+ // (data defined only)
230
230
PositionX,
231
231
PositionY,
232
232
Hali,
@@ -251,7 +251,7 @@ class QgsPalLayerSettings
251
251
ObstacleFactor,
252
252
ZIndex,
253
253
254
- // (data
254
+ // (data defined only)
255
255
Show,
256
256
AlwaysShow
257
257
};
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ This is the class is providing tolerance value in map unit values.
26
26
27
27
enum UnitType
28
28
{
29
- //! Layer
29
+ //! Layer unit value
30
30
LayerUnits,
31
- //! Pixels
31
+ //! Pixels unit of tolerance
32
32
Pixels,
33
- //! Map
33
+ //! Map (project) units. Added in 2.8
34
34
ProjectUnits
35
35
};
36
36
Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ of feature and attribute information from a spatial datasource.
61
61
62
62
enum FeatureCountState
63
63
{
64
- //! Feature
64
+ //! Feature count not yet computed
65
65
Uncounted,
66
- //! Provider
66
+ //! Provider returned an unknown feature count
67
67
UnknownCount,
68
68
};
69
69
Original file line number Diff line number Diff line change @@ -198,16 +198,16 @@ Creates a clone of the FieldValueConverter.
198
198
199
199
enum EditionCapability
200
200
{
201
- //! Flag
201
+ //! Flag to indicate that a new layer can be added to the dataset
202
202
CanAddNewLayer,
203
203
204
- //! Flag
204
+ //! Flag to indicate that new features can be added to an existing layer
205
205
CanAppendToExistingLayer,
206
206
207
- //! Flag
207
+ //! Flag to indicate that new fields can be added to an existing layer. Imply CanAppendToExistingLayer
208
208
CanAddNewFieldsToExistingLayer,
209
209
210
- //! Flag
210
+ //! Flag to indicate that an existing layer can be deleted
211
211
CanDeleteLayer
212
212
};
213
213
@@ -216,16 +216,16 @@ Creates a clone of the FieldValueConverter.
216
216
217
217
enum ActionOnExistingFile
218
218
{
219
- //! Create
219
+ //! Create or overwrite file
220
220
CreateOrOverwriteFile,
221
221
222
- //! Create
222
+ //! Create or overwrite layer
223
223
CreateOrOverwriteLayer,
224
224
225
- //! Append
225
+ //! Append features to existing layer, but do not create new fields
226
226
AppendToLayerNoNewFields,
227
227
228
- //! Append
228
+ //! Append features to existing layer, and create new fields if needed
229
229
AppendToLayerAddFields
230
230
};
231
231
Original file line number Diff line number Diff line change @@ -40,19 +40,19 @@ itself the min/max values.
40
40
41
41
enum Extent
42
42
{
43
- //! Whole
43
+ //! Whole raster is used to compute statistics.
44
44
WholeRaster,
45
- //! Current
45
+ //! Current extent of the canvas (at the time of computation) is used to compute statistics.
46
46
CurrentCanvas,
47
- //! Constantly
47
+ //! Constantly updated extent of the canvas is used to compute statistics.
48
48
UpdatedCanvas
49
49
};
50
50
51
51
enum StatAccuracy
52
52
{
53
- //! Exact
53
+ //! Exact statistics.
54
54
Exact,
55
- //! Approximated
55
+ //! Approximated statistics.
56
56
Estimated
57
57
};
58
58
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Is mostly referred to as "master model" within this doc and the source.
31
31
FeatureIdRole,
32
32
FieldIndexRole,
33
33
UserRole,
34
- // Insert
34
+ // Insert new values here, SortRole needs to be the last one
35
35
SortRole,
36
36
};
37
37
You can’t perform that action at this time.
0 commit comments