Skip to content

Commit 932e469

Browse files
committedAug 24, 2016
Rename color ramp classes to more sensible names
QgsVectorColorRamp -> QgsColorRamp QgsVectorGradientColorRamp -> QgsGradientColorRamp QgsRandomColors -> QgsRandomColorRamp QgsRandomColorRamp -> QgsLimitedRandomColorRamp QgsVectorColorBrewerColorRamp -> QgsColorBrewerColorRamp These color ramps are used throughout all of QGIS (not just in vector symbology) and the current names are misleading.
1 parent 014409d commit 932e469

File tree

70 files changed

+428
-421
lines changed

Some content is hidden

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

70 files changed

+428
-421
lines changed
 

‎doc/api_break.dox

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This page tries to maintain a list with incompatible changes that happened in pr
7272
<tr><td>QgsMultiLineStringV2<td>QgsMultiLineString
7373
<tr><td>QgsMultiSurfaceV2<td>QgsMultiSurface
7474
<tr><td>QgsPointSequenceV2<td>QgsPointSequence
75-
<tr><td>QgsRandomColorsV2<td>QgsRandomColors
75+
<tr><td>QgsRandomColorsV2<td>QgsRandomColorRamp
7676
<tr><td>QgsRendererCategoryV2<td>QgsRendererCategory
7777
<tr><td>QgsRendererRangeV2<td>QgsRendererRange
7878
<tr><td>QgsRendererRangeV2LabelFomat<td>QgsRendererRangeLabelFomat
@@ -125,17 +125,17 @@ This page tries to maintain a list with incompatible changes that happened in pr
125125
<tr><td>QgsSymbolV2SelectorDialog<td>QgsSymbolSelectorDialog
126126
<tr><td>QgsSymbolV2SelectorWidget<td>QgsSymbolSelectorWidget
127127
<tr><td>QgsSymbologyV2Conversion<td>QgsSymbologyConversion
128-
<tr><td>QgsVectorColorBrewerColorRampV2<td>QgsVectorColorBrewerColorRamp
128+
<tr><td>QgsVectorColorBrewerColorRampV2<td>QgsColorBrewerColorRamp
129129
<tr><td>QgsVectorColorBrewerColorRampV2Dialog<td>QgsVectorColorBrewerColorRampDialog
130130
<tr><td>QgsVectorColorBrewerColorRampV2DialogBase<td>QgsVectorColorBrewerColorRampDialogBase
131-
<tr><td>QgsVectorColorRampV2<td>QgsVectorColorRamp
131+
<tr><td>QgsVectorColorRampV2<td>QgsColorRamp
132132
<tr><td>QgsVectorColorRampV2Map<td>QgsVectorColorRampMap
133-
<tr><td>QgsVectorGradientColorRampV2<td>QgsVectorGradientColorRamp
133+
<tr><td>QgsVectorGradientColorRampV2<td>QgsGradientColorRamp
134134
<tr><td>QgsVectorGradientColorRampV2Dialog<td>QgsVectorGradientColorRampDialog
135135
<tr><td>QgsVectorGradientColorRampV2DialogBase<td>QgsVectorGradientColorRampDialogBase
136136
<tr><td>QgsVectorGradientRampV2<td>QgsVectorGradientRamp
137137
<tr><td>QgsVectorLayersetRendererV2<td>QgsVectorLayersetRenderer
138-
<tr><td>QgsVectorRandomColorRampV2<td>QgsVectorRandomColorRamp
138+
<tr><td>QgsVectorRandomColorRampV2<td>QgsLimitedRandomColorRamp
139139
<tr><td>QgsVectorRandomColorRampV2Dialog<td>QgsVectorRandomColorRampDialog
140140
<tr><td>QgsVectorRandomColorRampV2DialogBase<td>QgsVectorRandomColorRampDialogBase
141141
<tr><th>QgsSymbolV2<th>QgsSymbol

‎python/core/core.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
%Include qgsattributeeditorelement.sip
2828
%Include qgsbrowsermodel.sip
2929
%Include qgsclipper.sip
30+
%Include qgscolorramp.sip
3031
%Include qgscolorscheme.sip
3132
%Include qgscolorschemeregistry.sip
3233
%Include qgsconditionalstyle.sip
@@ -290,7 +291,6 @@
290291
%Include symbology-ng/qgsstyle.sip
291292
%Include symbology-ng/qgssvgcache.sip
292293
%Include symbology-ng/qgssymbol.sip
293-
%Include symbology-ng/qgsvectorcolorramp.sip
294294

295295
%Include symbology-ng/qgs25drenderer.sip
296296
%Include symbology-ng/qgscategorizedsymbolrenderer.sip

0 commit comments

Comments
 (0)
Please sign in to comment.