Skip to content

Commit

Permalink
QgsColorRampComboBox is dead, long live QgsColorRampButton
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Dec 3, 2016
1 parent 56c5534 commit 0b9fbeb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 415 deletions.
17 changes: 16 additions & 1 deletion doc/api_break.dox
Expand Up @@ -230,6 +230,7 @@ Removed Classes {#qgis_api_break_3_0_removed_classes}
- QgsColorbutton was removed. QgsColorButtonV2 has now been renamed to QgsColorButton. Hence, QgsColorButtonV2 does not exist anymore.
- QgsColorDialog was removed, and QgsColorDialogV2 was renamed to QgsColorDialog. Hence, QgsColorButtonV2 does not exist anymore.
All the functionality from the old QgsColorDialog has been moved to the new class.
- QgsColorRampComboBox was removed, replaced by QgsColorRampButton
- QgsComposerAttributeTable and associated classes (eg QgsComposerAttributeTableCompare,
QgsComposerAttributeTableColumnModel, QgsComposerTableSortColumnsProxyModel) were removed.
Use QgsComposerAttributeTableV2 instead.
Expand Down Expand Up @@ -435,12 +436,17 @@ QgsCachedFeatureIterator {#qgis_api_break_3_0_QgsQgsCachedFeatureIterator

- The constructor for QgsCachedFeatureIterator has changed.

QgsCategorizedRenderer {#qgis_api_break_3_0_QgsCategorizedRenderer}
--------------------

- setInvertedColorRamp() and invertedColorRamp() functions are gone, QgsColorRamp now responsible for invert
- createRenderer() and updateColorRamp()'s inverted parameter is gone

QgsCategorizedSymbolRendererWidget {#qgis_api_break_3_0_QgsCategorizedSymbolRendererWidget}
----------------------------------

- sizeScaleFieldChanged() and scaleMethodChanged() were removed. These settings are no longer exposed in the widget's GUI.

- getColorRamp() was removed.

QgsClipper {#qgis_api_break_3_0_QgsClipper}
----------
Expand Down Expand Up @@ -956,12 +962,21 @@ QgsEditorWidgetRegistry {#qgis_api_break_3_0_QgsEditorWidgetRegistry}
- The signature of isFieldSupported() has been changed to return an unsigned (how good it supports the given field)
and to const-correct it.

QgsGraduatedRenderer {#qgis_api_break_3_0_QgsGraduatedRenderer}
--------------------

- setInvertedColorRamp() and invertedColorRamp() functions are gone, QgsColorRamp now responsible for invert
- createRenderer() and updateColorRamp()'s inverted parameter is gone

QgsGroupWMSDataDialog {#qgis_api_break_3_0_QgsGroupWMSDataDialog}
---------------------

- QgsGroupWMSDataDialo has been renamed to QgsGroupWmsDataDialog

QgsHeatmapRenderer {#qgis_api_break_3_0_QgsHeatmapRenderer}
------------------

- setInvertRamp() and invertRamp() functions are gone, QgsColorRamp now responsible for invert

QgsHighlight {#qgis_api_break_3_0_QgsHighlight}
------------
Expand Down
1 change: 0 additions & 1 deletion python/gui/gui.sip
Expand Up @@ -224,7 +224,6 @@
%Include symbology-ng/qgsarrowsymbollayerwidget.sip
%Include symbology-ng/qgsbrushstylecombobox.sip
%Include symbology-ng/qgscategorizedsymbolrendererwidget.sip
%Include symbology-ng/qgscolorrampcombobox.sip
%Include symbology-ng/qgscptcitycolorrampdialog.sip
%Include symbology-ng/qgsdashspacedialog.sip
%Include symbology-ng/qgsellipsesymbollayerwidget.sip
Expand Down
58 changes: 0 additions & 58 deletions python/gui/symbology-ng/qgscolorrampcombobox.sip

This file was deleted.

2 changes: 0 additions & 2 deletions src/gui/CMakeLists.txt
Expand Up @@ -16,7 +16,6 @@ SET(QGIS_GUI_SRCS
symbology-ng/qgsarrowsymbollayerwidget.cpp
symbology-ng/qgsbrushstylecombobox.cpp
symbology-ng/qgscategorizedsymbolrendererwidget.cpp
symbology-ng/qgscolorrampcombobox.cpp
symbology-ng/qgscptcitycolorrampdialog.cpp
symbology-ng/qgsdashspacedialog.cpp
symbology-ng/qgsellipsesymbollayerwidget.cpp
Expand Down Expand Up @@ -490,7 +489,6 @@ SET(QGIS_GUI_MOC_HDRS
symbology-ng/qgsarrowsymbollayerwidget.h
symbology-ng/qgsbrushstylecombobox.h
symbology-ng/qgscategorizedsymbolrendererwidget.h
symbology-ng/qgscolorrampcombobox.h
symbology-ng/qgscptcitycolorrampdialog.h
symbology-ng/qgsdashspacedialog.h
symbology-ng/qgsellipsesymbollayerwidget.h
Expand Down
258 changes: 0 additions & 258 deletions src/gui/symbology-ng/qgscolorrampcombobox.cpp

This file was deleted.

0 comments on commit 0b9fbeb

Please sign in to comment.