4

I would like to customize QGIS for a custom use case where the user will work with a very simple customized UI and will just digitize features in existing layers.

Therefore the TOC should be locked, so that drag and drop reordering of the LayerTree will be blocked as well as inserting layer by drag and drop.

Is this possible?

  • 1
    does this answer help? In your case, you want to set AllowNodeReorder to False. Unfortunately I've not been able to get this to work in a Project Open Python Macro, which I suspect is what you need. – Steven Kay Feb 26 '16 at 0:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.