Writing to QGIS Project files #194
MattReimer
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
QRave plugin uses the QGIS project file to store which projects are loaded and that information gets rehydrated when the project file loads so this lets users save the layer state of their riverscapes projects AND keep specific riverscapes projects loaded as well.
Here's the code that makes that happen:
get_project_settings()gets called in 3 different places:Then you end up with something like this in the project.qgs file (take the project.qgz file and unzip it to see the .qgs xml content):
All reactions