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

Store and manage user preferences #2

Open
3 tasks
kitswas opened this issue Aug 6, 2023 · 1 comment
Open
3 tasks

Store and manage user preferences #2

kitswas opened this issue Aug 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kitswas
Copy link
Owner

kitswas commented Aug 6, 2023

Currently, all the application settings are hard-coded.

We need to let the user change them.

The QSettings Class can help us achieve this.

Mockups

The main window needs a preferences button.
image

The settings/preferences dialog box should look like
image

Behaviour

  1. The settings should be stored in an ini file.
  2. The settings must be loaded on the application launch.
  3. On pressing OK in the Settings window, the old settings should be overwritten.
  4. If the ini file is missing/not found, the default settings must be written to a file on app launch.
  5. Individual settings should be grouped. e.g., Default Port under section Server, key mappings under section Keymap.

Checklist

  • Create the UI. (Just the outline as shown in the mockup)
  • Add logic to the UI elements
  • Complete the individual sections
@kitswas kitswas added the enhancement New feature or request label Aug 6, 2023
@kitswas
Copy link
Owner Author

kitswas commented Dec 16, 2023

Partially handled by #5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant