Skip to content

Commit

Permalink
Code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jul 31, 2018
1 parent 222fe23 commit 6a4aee8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions python/gui/auto_generated/qgshighlight.sip.in
Expand Up @@ -53,7 +53,7 @@ and renderer.

QColor color( ) const;
%Docstring
Return line/stroke color
Returns the line/stroke color

.. versionadded:: 3.4
%End
Expand All @@ -66,7 +66,7 @@ This is legacy function, use setFillColor() after setColor() if different fill c

QColor fillColor( ) const;
%Docstring
Return fill color
Returns the fill color

.. versionadded:: 3.4
%End
Expand All @@ -81,7 +81,7 @@ Will be used for polygons and points.

int width( ) const;
%Docstring
Return stroke width
Returns the stroke width

.. versionadded:: 3.4
%End
Expand All @@ -97,7 +97,7 @@ Set stroke width.

double buffer( ) const;
%Docstring
Return buffer
Returns the buffer

.. versionadded:: 3.4
%End
Expand Down
8 changes: 4 additions & 4 deletions src/gui/qgshighlight.h
Expand Up @@ -76,7 +76,7 @@ class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
~QgsHighlight() override;

/**
* Return line/stroke color
* Returns the line/stroke color
* \since QGIS 3.4
*/
QColor color( ) const { return mColor; }
Expand All @@ -87,7 +87,7 @@ class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
void setColor( const QColor &color );

/**
* Return fill color
* Returns the fill color
* \since QGIS 3.4
*/
QColor fillColor( ) const { return mFillColor; }
Expand All @@ -101,7 +101,7 @@ class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
void setFillColor( const QColor &fillColor );

/**
* Return stroke width
* Returns the stroke width
* \since QGIS 3.4
*/
int width( ) const { return mWidth; }
Expand All @@ -114,7 +114,7 @@ class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
void setWidth( int width );

/**
* Return buffer
* Returns the buffer
* \since QGIS 3.4
*/
double buffer( ) const { return mBuffer; }
Expand Down

0 comments on commit 6a4aee8

Please sign in to comment.