mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-08 00:06:51 -05:00
Code layout
This commit is contained in:
parent
ed55b410d3
commit
3d43a91c09
@ -21,14 +21,16 @@ The time in a mesh layer is defined by :
|
|||||||
- each dataset is associated with a relative times
|
- each dataset is associated with a relative times
|
||||||
- time extent is defined by the first time and the last time of all dataset
|
- time extent is defined by the first time and the last time of all dataset
|
||||||
|
|
||||||
Reference time : AT
|
.. code-block:: unparsed
|
||||||
Dataset 1 time o-----RT------RT-----RT-----------RT
|
|
||||||
Dataset 2 time o---------RT------RT--------RT
|
|
||||||
Dataset 3 time o------------------------------RT-------RT----------RT
|
|
||||||
Time extent of layer o-----<--------------------------------------------->
|
|
||||||
|
|
||||||
AT : absolute time (QDateTime)
|
Reference time : AT
|
||||||
RT : relative time (qint64)
|
Dataset 1 time o-----RT------RT-----RT-----------RT
|
||||||
|
Dataset 2 time o---------RT------RT--------RT
|
||||||
|
Dataset 3 time o------------------------------RT-------RT----------RT
|
||||||
|
Time extent of layer o-----<--------------------------------------------->
|
||||||
|
|
||||||
|
AT : absolute time (QDateTime)
|
||||||
|
RT : relative time (qint64)
|
||||||
|
|
||||||
.. versionadded:: 3.14
|
.. versionadded:: 3.14
|
||||||
%End
|
%End
|
||||||
|
|||||||
@ -213,16 +213,8 @@ Returns true if the label expression for the label of ``fieldName`` is active an
|
|||||||
|
|
||||||
void setLabelExpression( const QString &fieldName, const QString &labelExpression, bool isActive );
|
void setLabelExpression( const QString &fieldName, const QString &labelExpression, bool isActive );
|
||||||
%Docstring
|
%Docstring
|
||||||
Set the label expression for ``fieldName`` to ``labelExpression``, to be evaluated in the form context.
|
Set the label expression for ``fieldName`` to ``labelExpression`` and the active state to ``isActive``,
|
||||||
|
to be evaluated in the form context.
|
||||||
.. seealso:: :py:func:`setLabelExpressionIsActive`
|
|
||||||
|
|
||||||
.. versionadded:: 3.14
|
|
||||||
%End
|
|
||||||
|
|
||||||
void setLabelExpressionIsActive( const QString &fieldName, bool isActive );
|
|
||||||
%Docstring
|
|
||||||
Set the label expression active state for ``fieldName`` to ``isActive``
|
|
||||||
|
|
||||||
.. versionadded:: 3.14
|
.. versionadded:: 3.14
|
||||||
%End
|
%End
|
||||||
|
|||||||
@ -234,18 +234,12 @@ class CORE_EXPORT QgsEditFormConfig
|
|||||||
bool labelExpressionIsActive( const QString &fieldName ) const;
|
bool labelExpressionIsActive( const QString &fieldName ) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the label expression for \a fieldName to \a labelExpression, to be evaluated in the form context.
|
* Set the label expression for \a fieldName to \a labelExpression and the active state to \a isActive,
|
||||||
* \see setLabelExpressionIsActive() to control its status
|
* to be evaluated in the form context.
|
||||||
* \since QGIS 3.14
|
* \since QGIS 3.14
|
||||||
*/
|
*/
|
||||||
void setLabelExpression( const QString &fieldName, const QString &labelExpression, bool isActive );
|
void setLabelExpression( const QString &fieldName, const QString &labelExpression, bool isActive );
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the label expression active state for \a fieldName to \a isActive
|
|
||||||
* \since QGIS 3.14
|
|
||||||
*/
|
|
||||||
void setLabelExpressionIsActive( const QString &fieldName, bool isActive );
|
|
||||||
|
|
||||||
// Python form init function stuff
|
// Python form init function stuff
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user