Skip to content

Commit d055def

Browse files
authoredJul 24, 2017
Merge pull request #4907 from nyalldawson/symbol_button
New QgsSymbolButton widget
2 parents db745df + 6202f06 commit d055def

File tree

54 files changed

+1666
-544
lines changed

Some content is hidden

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

54 files changed

+1666
-544
lines changed
 

‎python/core/qgscolorramp.sip

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class QgsGradientColorRamp : QgsColorRamp
144144
\param stops optional list of additional color stops
145145
%End
146146

147-
static QgsColorRamp *create( const QgsStringMap &properties = QgsStringMap() );
147+
static QgsColorRamp *create( const QgsStringMap &properties = QgsStringMap() ) /Factory/;
148148
%Docstring
149149
Creates a new QgsColorRamp from a map of properties
150150
:rtype: QgsColorRamp
@@ -477,7 +477,7 @@ class QgsPresetSchemeColorRamp : QgsColorRamp, QgsColorScheme
477477
not available in Python bindings - use setColors instead
478478
%End
479479

480-
static QgsColorRamp *create( const QgsStringMap &properties = QgsStringMap() );
480+
static QgsColorRamp *create( const QgsStringMap &properties = QgsStringMap() ) /Factory/;
481481
%Docstring
482482
Returns a new QgsPresetSchemeColorRamp color ramp created using the properties encoded in a string
483483
map.
@@ -541,7 +541,7 @@ class QgsColorBrewerColorRamp : QgsColorRamp
541541
\param inverted invert ramp ordering
542542
%End
543543

544-
static QgsColorRamp *create( const QgsStringMap &properties = QgsStringMap() );
544+
static QgsColorRamp *create( const QgsStringMap &properties = QgsStringMap() ) /Factory/;
545545
%Docstring
546546
Returns a new QgsColorBrewerColorRamp color ramp created using the properties encoded in a string
547547
map.
@@ -647,7 +647,7 @@ class QgsCptCityColorRamp : QgsGradientColorRamp
647647
\param doLoadFile load cpt-city ramp from file
648648
%End
649649

650-
static QgsColorRamp *create( const QgsStringMap &properties = QgsStringMap() );
650+
static QgsColorRamp *create( const QgsStringMap &properties = QgsStringMap() ) /Factory/;
651651
%Docstring
652652
:rtype: QgsColorRamp
653653
%End

‎python/core/symbology-ng/qgssymbol.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ return new default symbol for specified geometry type
8888
:rtype: QgsSymbolLayer
8989
%End
9090

91-
int symbolLayerCount();
91+
int symbolLayerCount() const;
9292
%Docstring
9393
Returns total number of symbol layers contained in the symbol.
9494
:return: count of symbol layers

0 commit comments

Comments
 (0)
Please sign in to comment.