@@ -233,6 +233,7 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
233
233
Removed Classes {#qgis_api_break_3_0_removed_classes}
234
234
---------------
235
235
236
+ - QgsAnnotationItem was removed. This was replaced by QgsAnnotation and QgsMapCanvasAnnotationItem.
236
237
- QgsAttributeAction was removed, and replaced by QgsActionManager.
237
238
- QgsAttributeEditor was removed. Use QgsEditorWidgetRegistry::create() instead.
238
239
- QgsColorbutton was removed. QgsColorButtonV2 has now been renamed to QgsColorButton. Hence, QgsColorButtonV2 does not exist anymore.
@@ -248,6 +249,8 @@ Use QgsComposerAttributeTableV2 instead.
248
249
- QgsCRSCache was removed. QgsCoordinateReferenceSystem now internally uses a cache for CRS creation,
249
250
so there is no longer a need for the separate cache class. Code which previously called QgsCRSCache::updateCRSCache()
250
251
should now call QgsCoordinateReferenceSystem::invalidateCache() and QgsCoordinateTransformCache::instance()->invalidateCrs( authid ).
252
+ - QgsFormAnnotationItem. Use QgsFormAnnotation instead.
253
+ - QgsHtmlAnnotationItem. Use QgsHtmlAnnotation instead.
251
254
- QgsHttpTransaction. This class was outdated and code should be ported to native Qt or Python implementations.
252
255
- QgsLabel and QgsLabelAttributes. Replaced by labeling based on PAL library, see QgsLabelingEngine.
253
256
- QgsLabelingEngineInterface. Replaced by QgsLabelingEngine.
@@ -267,7 +270,9 @@ should now call QgsCoordinateReferenceSystem::invalidateCache() and QgsCoordinat
267
270
- QgsLegacyHelpers.
268
271
- QgsProviderCountCalcEvent and QgsProviderExtentCalcEvent. These classes were unused in QGIS core and unmaintained.
269
272
- QgsEditorWidgetConfig was removed. Use QVariantMap instead.
273
+ - QgsSvgAnnotationItem. Use QgsSvgAnnotation instead.
270
274
- QgsSymbologyV2Conversion was removed. Reading of renderers from pre-1.0 versions is not supported anymore.
275
+ - QgsTextAnnotationItem. Use QgsTextAnnotation instead.
271
276
272
277
273
278
General changes {#qgis_api_break_3_0_global}
@@ -348,12 +353,6 @@ QgisInterface {#qgis_api_break_3_0_QgisInterface}
348
353
- actionRemoveLayer was removed as it no longer exists.
349
354
350
355
351
- QgsAnnotation {#qgis_api_break_3_0_QgsAnnotation}
352
- -------------
353
-
354
- - mapPositionFixed() has been renamed to hasFixedMapPosition()
355
-
356
-
357
356
QgsAbstractGeometry {#qgis_api_break_3_0_QgsAbstractGeometry}
358
357
-------------------
359
358
@@ -572,6 +571,10 @@ instead.
572
571
and setAtlasScalingMode() instead.
573
572
- storeCurrentLayerSet() was removed. Use setLayers() instead.
574
573
- The layersChanged() slot was removed.
574
+ - setMapCanvas() was removed. This is no longer required to draw map annotations, which are instead retrieved from the composition's
575
+ associated project's annotationManager()
576
+ - setDrawCanvasItems() and drawCanvasItems() were renamed to setDrawAnnotations() and drawAnnotations()
577
+
575
578
576
579
QgsComposerMapGrid {#qgis_api_break_3_0_QgsComposerMapGrid}
577
580
------------------
@@ -1778,6 +1781,7 @@ were removed. Use the QgsProperty/QgsPropertyCollection methods instead.
1778
1781
- usedAttributes() now requires a QgsRenderContext argument
1779
1782
- saveDataDefinedProperties() was removed. This is no longer required.
1780
1783
- restoreDataDefinedProperties() was renamed to restoreOldDataDefinedProperties()
1784
+ - estimateMaxBleed() now requires a QgsRenderContext argument (since the bleed depends on render context for non-pixel units)
1781
1785
1782
1786
1783
1787
QgsSymbolLayerRegistry {#qgis_api_break_3_0_QgsSymbolLayerRegistry}
@@ -1813,6 +1817,7 @@ QgsSymbolLayerUtils (renamed from QgsSymbolLayerUtilsV2) {#qgis_api_break
1813
1817
- convertFromMapUnits() was moved to QgsRenderContext::convertFromMapUnits()
1814
1818
- pixelSizeScaleFactor() was removed. Use QgsRenderContext::convertToPainterUnits() instead.
1815
1819
- mapUnitScaleFactor() was removed. Use QgsRenderContext::convertToMapUnits() instead.
1820
+ - estimateMaxSymbolBleed() now requires a QgsRenderContext argument (since the bleed depends on render context for non-pixel units)
1816
1821
1817
1822
1818
1823
QgsSymbolSelectorWidget {#qgis_api_break_3_0_QgsSymbolSelectorWidget}
0 commit comments