improved texts for warning message and docs

This commit is contained in:
signedav 2020-08-18 16:45:06 +02:00
parent 87b20025f8
commit b5af453b8e
6 changed files with 18 additions and 18 deletions

View File

@ -443,15 +443,15 @@ opening of the attribute form dialog when digitizing is completed.
QVariant nmRelationId() const; QVariant nmRelationId() const;
%Docstring %Docstring
Determines the nmRelationId used for the many-to-many cardinality. Determines the relation id of the second relation involved in an N:M relation.
.. versionadded:: 3.16 .. versionadded:: 3.16
%End %End
void setNmRelationId( const QVariant &nmRelationId = QVariant() ); void setNmRelationId( const QVariant &nmRelationId = QVariant() );
%Docstring %Docstring
Sets ``nmRelationId`` in a many-to-many cardinality. Sets ``nmRelationId`` for the relation id of the second relation involved in an N:M relation.
If it's empty, then it's considered as a one-to-many relationship. If it's empty, then it's considered as a 1:M relationship.
.. versionadded:: 3.16 .. versionadded:: 3.16
%End %End

View File

@ -132,15 +132,15 @@ opening of the attribute form dialog when digitizing is completed.
QVariant nmRelationId() const; QVariant nmRelationId() const;
%Docstring %Docstring
Determines the nmRelationId used for the many-to-many cardinality. Determines the relation id of the second relation involved in an N:M relation.
.. versionadded:: 3.16 .. versionadded:: 3.16
%End %End
void setNmRelationId( const QVariant &nmRelationId = QVariant() ); void setNmRelationId( const QVariant &nmRelationId = QVariant() );
%Docstring %Docstring
Sets ``nmRelationId`` in a many-to-many cardinality. Sets ``nmRelationId`` for the relation id of the second relation involved in an N:M relation.
If it's empty, then it's considered as a one-to-many relationship If it's empty, then it's considered as a 1:M relationship.
.. versionadded:: 3.16 .. versionadded:: 3.16
%End %End

View File

@ -200,15 +200,15 @@ configured for this widget
QVariant nmRelationId() const; QVariant nmRelationId() const;
%Docstring %Docstring
Determines the nmRelationId used for the many-to-many cardinality. Determines the relation id of the second relation involved in an N:M relation.
.. versionadded:: 3.16 .. versionadded:: 3.16
%End %End
void setNmRelationId( const QVariant &nmRelationId = QVariant() ); void setNmRelationId( const QVariant &nmRelationId = QVariant() );
%Docstring %Docstring
Sets ``nmRelationId`` in a many-to-many cardinality. Sets ``nmRelationId`` for the relation id of the second relation involved in an N:M relation.
If it's empty, then it's considered as a one-to-many relationship If it's empty, then it's considered as a 1:M relationship.
.. versionadded:: 3.16 .. versionadded:: 3.16
%End %End

View File

@ -482,14 +482,14 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
void setForceSuppressFormPopup( bool forceSuppressFormPopup ); void setForceSuppressFormPopup( bool forceSuppressFormPopup );
/** /**
* Determines the nmRelationId used for the many-to-many cardinality. * Determines the relation id of the second relation involved in an N:M relation.
* \since QGIS 3.16 * \since QGIS 3.16
*/ */
QVariant nmRelationId() const; QVariant nmRelationId() const;
/** /**
* Sets \a nmRelationId in a many-to-many cardinality. * Sets \a nmRelationId for the relation id of the second relation involved in an N:M relation.
* If it's empty, then it's considered as a one-to-many relationship. * If it's empty, then it's considered as a 1:M relationship.
* \since QGIS 3.16 * \since QGIS 3.16
*/ */
void setNmRelationId( const QVariant &nmRelationId = QVariant() ); void setNmRelationId( const QVariant &nmRelationId = QVariant() );

View File

@ -122,14 +122,14 @@ class GUI_EXPORT QgsRelationWidgetWrapper : public QgsWidgetWrapper
void setForceSuppressFormPopup( bool forceSuppressFormPopup ); void setForceSuppressFormPopup( bool forceSuppressFormPopup );
/** /**
* Determines the nmRelationId used for the many-to-many cardinality. * Determines the relation id of the second relation involved in an N:M relation.
* \since QGIS 3.16 * \since QGIS 3.16
*/ */
QVariant nmRelationId() const; QVariant nmRelationId() const;
/** /**
* Sets \a nmRelationId in a many-to-many cardinality. * Sets \a nmRelationId for the relation id of the second relation involved in an N:M relation.
* If it's empty, then it's considered as a one-to-many relationship * If it's empty, then it's considered as a 1:M relationship.
* \since QGIS 3.16 * \since QGIS 3.16
*/ */
void setNmRelationId( const QVariant &nmRelationId = QVariant() ); void setNmRelationId( const QVariant &nmRelationId = QVariant() );

View File

@ -235,14 +235,14 @@ class GUI_EXPORT QgsRelationEditorWidget : public QgsCollapsibleGroupBox
void setForceSuppressFormPopup( bool forceSuppressFormPopup ); void setForceSuppressFormPopup( bool forceSuppressFormPopup );
/** /**
* Determines the nmRelationId used for the many-to-many cardinality. * Determines the relation id of the second relation involved in an N:M relation.
* \since QGIS 3.16 * \since QGIS 3.16
*/ */
QVariant nmRelationId() const; QVariant nmRelationId() const;
/** /**
* Sets \a nmRelationId in a many-to-many cardinality. * Sets \a nmRelationId for the relation id of the second relation involved in an N:M relation.
* If it's empty, then it's considered as a one-to-many relationship * If it's empty, then it's considered as a 1:M relationship.
* \since QGIS 3.16 * \since QGIS 3.16
*/ */
void setNmRelationId( const QVariant &nmRelationId = QVariant() ); void setNmRelationId( const QVariant &nmRelationId = QVariant() );