[Qgis-user] restrict QGIS user interface (project & layer properties and other dialogs)

Felix Deutsch felix.deutsch at adaica.com
Thu Apr 4 01:54:20 PDT 2024


Hi,

using 3.34.5 LTR version.

I want to lock down QGIS user interface as much as possible (for the casual user, I know that a determined user will always be able to reset settings).
In addition to using UI Customization (and then disabling this menu entry), I managed to customize context menus like in the LayerTree by implementing a custom QgsLayerTreeViewMenuProvider via startup.py.

What is missing is locking down project & layer properties, the latter of which is still reachable via doubleclick on the layer tree and also via hotkey. How can I accomplish this?

I first thought that disabling those widgets in the screenshot below would do the trick, but no.

[cid:image001.png at 01DA867E.69FF47F0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240404/8a44c210/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8472 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240404/8a44c210/attachment.png>


More information about the QGIS-User mailing list