Skip to content

Commit a7e08c4

Browse files
committed
Interface customization: menus and toolbars
1 parent 6fa3482 commit a7e08c4

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed
134 KB
Loading

docs/user_manual/introduction/qgis_configuration.rst

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2406,11 +2406,10 @@ Customization
24062406
=============
24072407

24082408
The :guilabel:`Customization` dialog lets you (de)activate almost every element in the QGIS
2409-
user interface. This can be very useful if you want to provide your end-users with a
2410-
'light' version of QGIS, containing only the icons, menus or panels they need.
2409+
user interface, and create your own custom toolbars and menus. This can be very useful if you
2410+
want to provide your end-users with a 'light' version of QGIS, containing only the icons, menus
2411+
or panels they need, or a focused workspace built around a specific set of actions.
24112412

2412-
.. note::
2413-
Before your changes are applied, you need to restart QGIS.
24142413

24152414
.. _figure_customization:
24162415

@@ -2431,6 +2430,17 @@ The configurable item can be:
24312430
* a **Toolbar**: the whole bar or some of its icons
24322431
* or any **widget** from any dialog in QGIS: label, button, combobox...
24332432

2433+
In addition to showing or hiding existing interface elements, you can also create
2434+
user-defined toolbars and menus. To do so, select the :guilabel:`Menus` or
2435+
:guilabel:`Toolbars` item in the customization tree and click the |add| :sup:`Add a user defined menu or toolbar`
2436+
button. To populate it with actions, open the action panel by clicking the
2437+
|listActions| button, search for the desired actions and drag and drop them onto
2438+
the user-defined menu or toolbar in the customization tree. Items within user-defined
2439+
toolbars and menus can be reordered using drag and drop.
2440+
2441+
To remove a user-defined toolbar or menu, select it and click the |deleteSelected|
2442+
:sup:`Delete selected item` button.
2443+
24342444
With |select| :sup:`Switch to catching widgets in main application`, you
24352445
can click on an item in QGIS interface that you want to be hidden and
24362446
QGIS automatically unchecks the corresponding entry in the Customization dialog.
@@ -2439,10 +2449,10 @@ You can also use the :guilabel:`Search` box to find items by their name or label
24392449
Once you setup your configuration, click :guilabel:`Apply` or :guilabel:`OK` to validate your
24402450
changes. This configuration becomes the one used by default by QGIS at the next startup.
24412451

2442-
The modifications can also be saved in a ``.ini`` file using |fileSave|
2452+
The modifications can also be saved in a ``.xml`` file using |fileSave|
24432453
:sup:`Save To File` button. This is a handy way to share a common QGIS
24442454
interface among multiple users. Just click on |fileOpen| :sup:`Load from File`
2445-
from the destination computer in order to import the ``.ini`` file.
2455+
from the destination computer in order to import the ``.xml`` file.
24462456
You can also run :ref:`command line tools <custom_commandline>` and save various
24472457
setups for different use cases as well.
24482458

@@ -2923,6 +2933,8 @@ in the QGIS user profile.
29232933
:width: 1.5em
29242934
.. |action| image:: /static/common/action.png
29252935
:width: 2em
2936+
.. |add| image:: /static/common/mActionAdd.png
2937+
:width: 1.5em
29262938
.. |checkbox| image:: /static/common/checkbox.png
29272939
:width: 1.3em
29282940
.. |codeEditor| image:: /static/common/mIconCodeEditor.png
@@ -2967,6 +2979,8 @@ in the QGIS user profile.
29672979
:width: 1.5em
29682980
.. |keyboardShortcuts| image:: /static/common/mActionKeyboardShortcuts.png
29692981
:width: 1.5em
2982+
.. |listActions| image:: /static/common/mActionListActions.png
2983+
:width: 2.5em
29702984
.. |measure| image:: /static/common/mActionMeasure.png
29712985
:width: 1.5em
29722986
.. |measureBearing| image:: /static/common/mActionMeasureBearing.png
2.9 KB
Loading

substitutions.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,8 @@
711711
:width: 2.5em
712712
.. |linkQGisToGeoref| image:: /static/common/mActionLinkQGisToGeoref.png
713713
:width: 2.5em
714+
.. |listActions| image:: /static/common/mActionListActions.png
715+
:width: 2.5em
714716
.. |loadGCPpoints| image:: /static/common/mActionLoadGCPpoints.png
715717
:width: 1.5em
716718
.. |localCRS| replace:: ``WGS 84 / UTM 34S``

0 commit comments

Comments
 (0)