Skip to content

Commit

Permalink
run sipify all
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Sep 10, 2018
1 parent 10fc175 commit 4b7da69
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/auth/qgsauthmethod.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Abstract base class for authentication method plugins

enum Expansion
{
// TODO
// TODO: Figure out all different authentication expansions current layer providers use
NetworkRequest,
NetworkReply,
DataSourceUri,
Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/layertree/qgslayertreemodel.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ The root node is not transferred by the model.

enum Flag
{
// display
// display flags
ShowLegend,
ShowLegendAsTree,
DeferredLegendInvalidation,
UseEmbeddedWidgets,

// behavioral
// behavioral flags
AllowNodeReorder,
AllowNodeRename,
AllowNodeChangeVisibility,
Expand Down
14 changes: 7 additions & 7 deletions python/core/auto_generated/layout/qgslayoutitemregistry.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ of layout items.
LayoutItem,
LayoutGroup,

// known
// known item types

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

LayoutPage,
LayoutMap,
Expand All @@ -169,18 +169,18 @@ of layout items.
LayoutScaleBar,
LayoutFrame,

// known
// known multi-frame types

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

LayoutHtml,
LayoutAttributeTable,
LayoutTextTable,

Layout3DMap,

// item
// item types provided by plugins
PluginItem,
};

Expand Down
16 changes: 8 additions & 8 deletions python/core/auto_generated/layout/qgslayoutobject.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ A base class for objects which belong to a layout.
NoProperty,
AllProperties,
TestProperty,
//composer
//composer page properties
PresetPaperSize,
PaperWidth,
PaperHeight,
NumPages,
PaperOrientation,
//general
//general composer item properties
PageNumber,
PositionX,
PositionY,
Expand All @@ -46,7 +46,7 @@ A base class for objects which belong to a layout.
ExcludeFromExports,
FrameColor,
BackgroundColor,
//composer
//composer map
MapRotation,
MapScale,
MapXMin,
Expand All @@ -56,22 +56,22 @@ A base class for objects which belong to a layout.
MapAtlasMargin,
MapLayers,
MapStylePreset,
//composer
//composer picture
PictureSource,
PictureSvgBackgroundColor,
PictureSvgStrokeColor,
PictureSvgStrokeWidth,
//html
//html item
SourceUrl,
//legend
//legend item
LegendTitle,
LegendColumnCount,
//scalebar
//scalebar item
ScalebarFillColor,
ScalebarFillColor2,
ScalebarLineColor,
ScalebarLineWidth,
//table
//table item
AttributeTableSourceLayer,
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ expression context.

enum Flag
{
// UseSelectionIfPresent,
// UseSelectionIfPresent = 1 << 0,
};
typedef QFlags<QgsProcessingContext::Flag> Flags;

Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsmapsettings.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Gets color that is used for drawing of selected vector features
RenderMapTile,
RenderPartialOutput,
RenderPreviewJob,
// TODO
// TODO: ignore scale-based visibility (overview)
};
typedef QFlags<QgsMapSettings::Flag> Flags;

Expand Down
12 changes: 6 additions & 6 deletions python/core/auto_generated/qgspallabeling.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class QgsPalLayerSettings

enum Property
{
// text
// text style
Size,
Bold,
Italic,
Expand All @@ -157,7 +157,7 @@ class QgsPalLayerSettings
FontWordSpacing,
FontBlendMode,

// text
// text formatting
MultiLineWrapChar,
MultiLineHeight,
MultiLineAlignment,
Expand All @@ -170,7 +170,7 @@ class QgsPalLayerSettings
NumDecimals,
NumPlusSign,

// text
// text buffer
BufferDraw,
BufferSize,
BufferUnit,
Expand Down Expand Up @@ -203,7 +203,7 @@ class QgsPalLayerSettings
ShapeStrokeWidthUnits,
ShapeJoinStyle,

// drop
// drop shadow
ShadowDraw,
ShadowUnder,
ShadowOffsetAngle,
Expand All @@ -226,7 +226,7 @@ class QgsPalLayerSettings
DistanceUnits,
OffsetRotation,
CurvedCharAngleInOut,
// (data
// (data defined only)
PositionX,
PositionY,
Hali,
Expand All @@ -251,7 +251,7 @@ class QgsPalLayerSettings
ObstacleFactor,
ZIndex,

// (data
// (data defined only)
Show,
AlwaysShow
};
Expand Down
6 changes: 3 additions & 3 deletions python/core/auto_generated/qgstolerance.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ This is the class is providing tolerance value in map unit values.

enum UnitType
{
//! Layer
//! Layer unit value
LayerUnits,
//! Pixels
//! Pixels unit of tolerance
Pixels,
//! Map
//! Map (project) units. Added in 2.8
ProjectUnits
};

Expand Down
4 changes: 2 additions & 2 deletions python/core/auto_generated/qgsvectordataprovider.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ of feature and attribute information from a spatial datasource.

enum FeatureCountState
{
//! Feature
//! Feature count not yet computed
Uncounted,
//! Provider
//! Provider returned an unknown feature count
UnknownCount,
};

Expand Down
16 changes: 8 additions & 8 deletions python/core/auto_generated/qgsvectorfilewriter.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,16 @@ Creates a clone of the FieldValueConverter.

enum EditionCapability
{
//! Flag
//! Flag to indicate that a new layer can be added to the dataset
CanAddNewLayer,

//! Flag
//! Flag to indicate that new features can be added to an existing layer
CanAppendToExistingLayer,

//! Flag
//! Flag to indicate that new fields can be added to an existing layer. Imply CanAppendToExistingLayer
CanAddNewFieldsToExistingLayer,

//! Flag
//! Flag to indicate that an existing layer can be deleted
CanDeleteLayer
};

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

enum ActionOnExistingFile
{
//! Create
//! Create or overwrite file
CreateOrOverwriteFile,

//! Create
//! Create or overwrite layer
CreateOrOverwriteLayer,

//! Append
//! Append features to existing layer, but do not create new fields
AppendToLayerNoNewFields,

//! Append
//! Append features to existing layer, and create new fields if needed
AppendToLayerAddFields
};

Expand Down
10 changes: 5 additions & 5 deletions python/core/auto_generated/raster/qgsrasterminmaxorigin.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ itself the min/max values.

enum Extent
{
//! Whole
//! Whole raster is used to compute statistics.
WholeRaster,
//! Current
//! Current extent of the canvas (at the time of computation) is used to compute statistics.
CurrentCanvas,
//! Constantly
//! Constantly updated extent of the canvas is used to compute statistics.
UpdatedCanvas
};

enum StatAccuracy
{
//! Exact
//! Exact statistics.
Exact,
//! Approximated
//! Approximated statistics.
Estimated
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Is mostly referred to as "master model" within this doc and the source.
FeatureIdRole,
FieldIndexRole,
UserRole,
// Insert
// Insert new values here, SortRole needs to be the last one
SortRole,
};

Expand Down

0 comments on commit 4b7da69

Please sign in to comment.