Skip to content

Commit 6dd15e2

Browse files
authored
Layer context menu: load and save styles (#10777)
2 parents 3268c75 + da282f6 commit 6dd15e2

File tree

1 file changed

+27
-10
lines changed

1 file changed

+27
-10
lines changed

docs/user_manual/introduction/general_tools.rst

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ Some of these entries are not available when multiple selections are made
267267
:menuselection:`--> Paste Style` |checkbox| |checkbox| |checkbox| |checkbox| |checkbox|
268268
:menuselection:`--> Add...` |checkbox| |checkbox| |checkbox| |checkbox| |checkbox|
269269
:menuselection:`--> Rename Current...` |checkbox| |checkbox| |checkbox| |checkbox| |checkbox|
270+
:menuselection:`--> Load Style` |checkbox| |checkbox| |checkbox| |checkbox| |checkbox| |checkbox|
271+
:menuselection:`--> Save Style` |checkbox| |checkbox| |checkbox| |checkbox| |checkbox|
270272
:menuselection:`--> Edit symbol...` |checkbox|
271273
:menuselection:`--> Copy Symbol` |checkbox|
272274
:menuselection:`--> Paste Symbol` |checkbox|
@@ -429,16 +431,17 @@ Editing layer style
429431

430432
From the :guilabel:`Layers` panel, you have shortcuts to change the layer rendering quickly and easily.
431433

432-
Right-click on a layer and select :menuselection:`Styles -->` in the list in order to:
434+
Right-click on a layer and select :menuselection:`Styles -->`.
435+
See :ref:`manage_styles_from_layer_context_menu`
436+
for the list of available actions to manage layer styles.
433437

434-
* see the :ref:`styles <manage_custom_style>` currently available for the layer.
435-
If you defined many styles for the layer, you can switch from one to another
436-
and your layer rendering will automatically be updated on the map canvas.
437-
* copy part or all of the current style, and when applicable, paste a copied
438-
style from another layer
439-
* :guilabel:`Rename current...` style
440-
* :guilabel:`Add` a new style (which is actually a copy of the current one)
441-
* or :guilabel:`Remove current` style (only when multiple styles are available).
438+
From this menu you can:
439+
440+
* see the :ref:`styles <manage_custom_style>` currently available for the layer
441+
and switch between them. When you select another style, the layer rendering
442+
is automatically updated on the map canvas.
443+
* copy part or all of the current style and, when applicable, paste a copied
444+
style from another layer.
442445

443446
.. tip:: **Quickly share a layer style**
444447

@@ -1368,7 +1371,7 @@ Manage styles from layer context menu
13681371
---------------------------------------
13691372

13701373
Right-click on the layer in the :guilabel:`Layers` panel and select :guilabel:`Styles`
1371-
to copy, paste, add, remove or rename layer styles.
1374+
to copy, paste, add, remove, rename, load or save layer styles.
13721375

13731376
* :guilabel:`Copy Current Style`: copies all the settings of the active style to the clipboard.
13741377

@@ -1388,6 +1391,20 @@ to copy, paste, add, remove or rename layer styles.
13881391
to apply the copied styles.
13891392
Saved styles are listed in the layer context menu, allowing quick switching between them.
13901393

1394+
* :guilabel:`Add...`: creates a new style based on the current one.
1395+
1396+
* :guilabel:`Remove Current`: removes the currently active style
1397+
(available only when multiple styles exist).
1398+
1399+
* :guilabel:`Rename Current...`: renames the currently active style.
1400+
1401+
* :guilabel:`Load Style...`: loads a style from an external style file
1402+
and applies it to the layer.
1403+
1404+
* :guilabel:`Save Style...`: saves the current layer style to an
1405+
external style file for reuse.
1406+
1407+
13911408
.. _store_style:
13921409

13931410
Storing Styles in a File or a Database

0 commit comments

Comments
 (0)