mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Allow setting diagram properties collection
This commit is contained in:
parent
83139cc40e
commit
a4ef9ad89c
@ -205,14 +205,23 @@ class QgsDiagramLayerSettings
|
|||||||
|
|
||||||
/** Returns a reference to the diagram's property collection, used for data defined overrides.
|
/** Returns a reference to the diagram's property collection, used for data defined overrides.
|
||||||
* @note added in QGIS 2.16
|
* @note added in QGIS 2.16
|
||||||
|
* @see setProperties()
|
||||||
*/
|
*/
|
||||||
QgsPropertyCollection& properties();
|
QgsPropertyCollection& properties();
|
||||||
|
|
||||||
/** Returns a reference to the diagram's property collection, used for data defined overrides.
|
/** Returns a reference to the diagram's property collection, used for data defined overrides.
|
||||||
* @note added in QGIS 2.16
|
* @note added in QGIS 2.16
|
||||||
|
* @see setProperties()
|
||||||
*/
|
*/
|
||||||
//const QgsPropertyCollection& properties() const;
|
//const QgsPropertyCollection& properties() const;
|
||||||
|
|
||||||
|
/** Sets the diagram's property collection, used for data defined overrides.
|
||||||
|
* @param collection property collection. Existing properties will be replaced.
|
||||||
|
* @note adde in QGIS 2.16
|
||||||
|
* @see properties()
|
||||||
|
*/
|
||||||
|
void setProperties( const QgsPropertyCollection& collection );
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** \ingroup core
|
/** \ingroup core
|
||||||
|
@ -253,14 +253,23 @@ class CORE_EXPORT QgsDiagramLayerSettings
|
|||||||
|
|
||||||
/** Returns a reference to the diagram's property collection, used for data defined overrides.
|
/** Returns a reference to the diagram's property collection, used for data defined overrides.
|
||||||
* @note added in QGIS 3.0
|
* @note added in QGIS 3.0
|
||||||
|
* @see setProperties()
|
||||||
*/
|
*/
|
||||||
QgsPropertyCollection& properties() { return mProperties; }
|
QgsPropertyCollection& properties() { return mProperties; }
|
||||||
|
|
||||||
/** Returns a reference to the diagram's property collection, used for data defined overrides.
|
/** Returns a reference to the diagram's property collection, used for data defined overrides.
|
||||||
* @note added in QGIS 3.0
|
* @note added in QGIS 3.0
|
||||||
|
* @see setProperties()
|
||||||
*/
|
*/
|
||||||
const QgsPropertyCollection& properties() const { return mProperties; }
|
const QgsPropertyCollection& properties() const { return mProperties; }
|
||||||
|
|
||||||
|
/** Sets the diagram's property collection, used for data defined overrides.
|
||||||
|
* @param collection property collection. Existing properties will be replaced.
|
||||||
|
* @note added in QGIS 3.0
|
||||||
|
* @see properties()
|
||||||
|
*/
|
||||||
|
void setProperties( const QgsPropertyCollection& collection ) { mProperties = collection; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
//! Associated coordinate transform, or invalid transform for no transformation
|
//! Associated coordinate transform, or invalid transform for no transformation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user