Skip to content

Commit

Permalink
Added duplicate action button documentation (#9146)
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Sep 5, 2024
2 parents 33f4a4e + 34a01ee commit ab960ff
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Binary file modified docs/user_manual/working_with_vector/img/action_dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 22 additions & 1 deletion docs/user_manual/working_with_vector/vector_properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2918,7 +2918,8 @@ that was selected from the identify results or attribute table (see :ref:`using_
Double quote marks can be used to group text into a single argument to the program, script or command.
Double quotes will be ignored if preceded by a backslash.

Actions can invoke a single process, with arguments, so Boolean operators (such as ``&``, ``&&``, ``;``, ``|``) will not work.
Actions can invoke a single process, with arguments, so Boolean operators
(such as ``&``, ``&&``, ``;``, ``|``) will not work.
In UNIX-like operating systems multiple commands can be executed via ``bash -c``.

The :guilabel:`Action Scopes` allows you to define where the action should be available.
Expand Down Expand Up @@ -2973,6 +2974,24 @@ The second example uses the \%\% notation, which does not rely on a particular
field for its value. When the action is invoked, the \%\% will be replaced by
the value of the selected field in the identify results or attribute table.

.. index:: Actions, Attribute Actions
single: Actions; Duplicate an action
.. _duplicating_actions:

Duplicating Actions
-------------------

QGIS allows you to duplicate existing actions. To duplicate an attribute action,
open the vector :guilabel:`Layer Properties` dialog and click on the :guilabel:`Actions` tab.
In the :guilabel:`Actions` tab, click the |duplicateAction| :sup:`Duplicate an action`
to open the :guilabel:`Duplicate Action` dialog. You must have selected at least one existing action
in order to create a duplicate.

In the dialogue that appears, make any changes that are necessary. See :ref:`adding_actions`
for further information. Once finished, press :guilabel:`OK` to create a duplicate of the action with
any changes that you made. If you did not edit the description, or if you changed it to be
identical to the description of any other existing action, "_1" will be added to the end of it.

.. index::
single: Actions; Using actions
.. _using_actions:
Expand Down Expand Up @@ -3764,6 +3783,8 @@ To do so:
:width: 1.5em
.. |display| image:: /static/common/display.png
:width: 1.5em
.. |duplicateAction| image:: /static/common/mActionDuplicateLayout.png
:width: 1.5em
.. |editMetadata| image:: /static/common/editmetadata.png
:width: 1.2em
.. |elevationscale| image:: /static/common/elevationscale.png
Expand Down

0 comments on commit ab960ff

Please sign in to comment.