aeag / MenuFromProject-Qgis-Plugin

Build layers shortcuts menus based on QGIS projects
http://aeag.github.io/MenuFromProject-Qgis-Plugin/
GNU General Public License v2.0
9 stars 9 forks source link

Add project in QGIS browser #107

Open jmkerloch opened 2 weeks ago

jmkerloch commented 2 weeks ago

I suggest we add support to add all layer and groups from a project to the QGIS browser.

I will have one entry for each project and subfolders with groups and layer.

This should look like this:

image

A PR is on the way.

This ticket is created to discuss this new functionnality.

jmkerloch commented 2 weeks ago

For better readability of PR I suggest we do this in several steps:

jmkerloch commented 2 weeks ago

We also need to discuss how we will implement merge option for QGIS browser.

jmkerloch commented 2 weeks ago

For Add all option we can't use an item in explorer because it won't be last since item are always sorted alphabetically.

I suggest we use a menu with an action.

xcaeag commented 2 weeks ago

Yes, I was wondering what you were going to propose. A context menu for layer groups? It's a shame to lose the order defined in the project.

And you won't need to add the ‘separator’ elements starting with ‘-’ either.