Skip to content

Commit

Permalink
basic information about the relation widget configuration with the ca…
Browse files Browse the repository at this point in the history
…rdinality
  • Loading branch information
signedav committed Jun 24, 2019
1 parent f17edf8 commit f7354b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file added en/images/relation_widget_cardinality.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions en/project-management/vector-layers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,21 @@ The field widgets from QGIS are supported on a best effort basis.
+-------------------+-----------------+-------------------------------------------------+
| Relation Reference| :yay:`` | |
+-------------------+-----------------+-------------------------------------------------+
| Relation Widget | :yay:`` | |
+-------------------+-----------------+-------------------------------------------------+
| Others | :nay:`` | :ref:`make_it_grow` |
+-------------------+-----------------+-------------------------------------------------+

Relation Widget
................
The relation widget shows all the referencing child features in a list. On many-to-many relationships, regarding the cardinality setting in the QGIS Vector Layer Properties on clicking/deleting an entry in the list effects directly the child feature (on direct cardinality) or the linking table entry (on many-to-one cardinality). The second case is usually used when there are additional relation information (e.g. percentage) in the linking table.

.. container:: clearer text-center

.. figure:: /images/relation_widget_cardinality.png
:width: 500px

To visually identify the list entries, the child layer needs a Display Expression.

Drag and drop designer forms
----------------------------
Expand Down

0 comments on commit f7354b7

Please sign in to comment.