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

Diseño de la configuración #117

Open
centaurialpha opened this issue Jan 16, 2021 · 1 comment
Open

Diseño de la configuración #117

centaurialpha opened this issue Jan 16, 2021 · 1 comment

Comments

@centaurialpha
Copy link
Owner

centaurialpha commented Jan 16, 2021

Provide a easy way to handle user configurations.

@centaurialpha
Copy link
Owner Author

  • The object should expose two main functions:
    • Config.load(): Load all user configurations. Each of the user configurations, must be exposed as attributes
    • Config.save(): Save attributes state to a ini file using QSettings.
  • The object should emit signals when a configuration is changed
  • Provide default configurations.

Keys

Each of the following keys must be properties in the class.

Key Type Default Comments
dark_mode bool False Require restart
language str English Require restart
match_parenthesis bool True
highlight_current_line bool False
show_symbols bool False How handle this?
autocomplete bool True
font_family str OS
font_size str OS

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

No branches or pull requests

1 participant