This commit is contained in:
Nyall Dawson 2019-01-21 11:22:06 +10:00
parent 305131c5b4
commit eafedeeb8b
6 changed files with 29 additions and 0 deletions

View File

@ -198,6 +198,8 @@ Sets the objects's property collection, used for data defined overrides.
:param collection: property collection. Existing properties will be replaced.
.. seealso:: :py:func:`dataDefinedProperties`
.. seealso:: DataDefinedProperty
%End

View File

@ -330,6 +330,8 @@ Sets the diagram's property collection, used for data defined overrides.
.. seealso:: :py:func:`dataDefinedProperties`
.. seealso:: Property
.. versionadded:: 3.0
%End

View File

@ -432,6 +432,8 @@ Sets the label's property collection, used for data defined overrides.
.. seealso:: :py:func:`dataDefinedProperties`
.. seealso:: Property
.. versionadded:: 3.0
%End

View File

@ -309,6 +309,21 @@ A grouped map of multiple QgsProperty objects, each referenced by a integer key
Properties within a collection are referenced by an integer key. This is done to avoid the cost of
string creation and comparisons which would be required by a string key. The intended use case is that
a context specific enum is cast to int and used for the key value.
Examples of such enums are :
.. seealso:: :py:func:`QgsLayoutObject.DataDefinedProperty`
.. seealso:: :py:func:`QgsSymbolLayer.Property`
.. seealso:: :py:func:`QgsPalLabeling.Property`
.. seealso:: :py:func:`QgsAbstract3DSymbol.Property`
.. seealso:: :py:func:`QgsDiagramLayerSettings.Property`
.. seealso:: :py:func:`QgsPalLayerSettings.Property`
.. seealso:: :py:func:`QgsWidgetWrapper.Property`
.. versionadded:: 3.0
%End

View File

@ -300,6 +300,8 @@ will be overwritten.
.. seealso:: :py:func:`dataDefinedProperties`
.. seealso:: Property
.. versionadded:: 3.0
%End
@ -386,6 +388,8 @@ Returns a reference to the symbol layer's property collection, used for data def
.. seealso:: :py:func:`setDataDefinedProperties`
.. seealso:: Property
.. versionadded:: 3.0
%End

View File

@ -144,6 +144,8 @@ Returns a reference to the editor widget's property collection, used for data de
.. seealso:: :py:func:`setDataDefinedProperties`
.. seealso:: Property
.. versionadded:: 3.0
%End
@ -155,6 +157,8 @@ Sets the editor widget's property collection, used for data defined overrides.
.. seealso:: :py:func:`dataDefinedProperties`
.. seealso:: Property
.. versionadded:: 3.0
%End