Skip to content

Commit

Permalink
Add screenshot for QML configuration dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and github-actions[bot] committed Dec 30, 2024
1 parent c4a56f5 commit 06196e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 8 additions & 3 deletions docs/user_manual/working_with_vector/vector_properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2401,7 +2401,8 @@ Other Widgets
The drag and drop designer offers a number of widgets that are not connected to a particular field.
They can be used to enhance the appearance of the form or to display dynamically calculated values.

* :guilabel:`HTML Widget`: embeds an HTML page, the HTML source may contain the result of dynamically calculated expressions.
* :guilabel:`HTML Widget`: embeds an HTML page, the HTML source may contain the result
of dynamically calculated expressions.

HTML widgets can be used for example to display images stored as BLOB in a field
(let's call it ``photo``):
Expand Down Expand Up @@ -2440,8 +2441,12 @@ They can be used to enhance the appearance of the form or to display dynamically
You can extend the code with QML syntax, use layer fields or QGIS expressions
that are dynamically calculated.

.. Todo: Add a gif showing different types of QML widgets,
like in https://github.com/qgis/QGIS/pull/7801, but better sized
.. _figure_qml_widget:

.. figure:: img/qml_widget_dialog.png
:align: center

Setting a QML graph to display in attribute form

* :guilabel:`Text Widget`: displays a text widget which supports basic HTML markup
and may contain the result of dynamically calculated expressions.
Expand Down

0 comments on commit 06196e0

Please sign in to comment.