Riverscapes / QRAVEPlugin

QGIS Plugin for viewing Riverscapes projects
GNU General Public License v3.0
0 stars 0 forks source link

Add Close All Projects command #35

Closed joewheaton closed 2 years ago

joewheaton commented 3 years ago

It would be very nice to have a command to "Close All Projects" when we have a lot open. image

This is same feature as: https://github.com/Riverscapes/RaveAddIn/issues/129

philipbaileynar commented 2 years ago
  1. New Button to the right of the open project button:
    • label "Close All Projects"
    • icon TBD - probably red X
  2. Close and remove all projects from project explorer
  3. Remove all project top level entries in Map ToC.
  4. Leave any other entries in project tree (i.e. non-RAVE related layers).

Context

  1. I am favouring this issue over #36 which refers to a context menu on each project. Semantically right clicking on a project should only provide access to functions that alter that individual project. close ALL projects belongs at a higher level, hence the toolbar.
philipbaileynar commented 2 years ago

Kelly, I have implemented this in ArcRAVE.

  1. Here's a video demonstrating how I have implemented it (so you can mimic in QRAVE).
  2. Here's the icon graphic I used for the button.
philipbaileynar commented 2 years ago

@KellyMWhitehead note the feature request to pop up confirmation before performing this operation.

See ArcRAVE issue for wording.