Skip to content

[PoC] Session-level settings#144

Open
s0600204 wants to merge 5 commits intoFrancescoCeruti:developfrom
s0600204:session_config
Open

[PoC] Session-level settings#144
s0600204 wants to merge 5 commits intoFrancescoCeruti:developfrom
s0600204:session_config

Conversation

@s0600204
Copy link
Copy Markdown
Contributor

@s0600204 s0600204 commented Dec 6, 2018

Currently, it is only possible to define settings and preferences on a global, application-level basis.

However, there are times when a user (or a plugin developer) might wish to have certain settings for one production, and different settings for another. Instead of having to manually change them globally every time a user switches between sessions, the relevant settings should be saved into the session file.

Now, I'm not saying that every setting that is settable globally should be saved into a session file - far from it. What this PR contains is a dialog that plugin developers can add SettingsPages to, and the states of the options contained in said pages will be saved to and restored from the current session file.

What this PR does not contain is any SettingsPages that use said dialog. Thus, although a user may find the dialog (on the "Tools" toolbar menu), and the code that loads from and saves to session files is functioning, this PR is more of a Proof of Concept (PoC) than something that is instantly usable by the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants