We discussed this at a meeting and postponed the idea, but I've thought about this a bit more...
There's a use case for saving a Setting locally, as opposed to in the workflow file.
This could be done not with QSettings, but the following way:
- each workflow is assigned a randomly generated ID
- each widget is assigned a sequential ID
- a JSON file named
<workflow-id>.json is created somewhere in the data directory (~/Library/Application Support/Orange on Mac), mapping widgets to their user-only setting values
We discussed this at a meeting and postponed the idea, but I've thought about this a bit more...
There's a use case for saving a Setting locally, as opposed to in the workflow file.
This could be done not with QSettings, but the following way:
<workflow-id>.jsonis created somewhere in the data directory (~/Library/Application Support/Orange on Mac), mapping widgets to their user-only setting values