Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PoC] Session-level settings #144

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

s0600204
Copy link
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