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

GUI: Application Preferences #210

Closed
5 of 6 tasks
rakhimov opened this issue Jul 8, 2017 · 0 comments
Closed
5 of 6 tasks

GUI: Application Preferences #210

rakhimov opened this issue Jul 8, 2017 · 0 comments

Comments

@rakhimov
Copy link
Owner

rakhimov commented Jul 8, 2017

The preferences need to be persistent (from session to session).
The functionality is available with QSettings.

  • Undo stack depth
  • Show/hide start page
  • Recently opened projects
  • auto-save period
  • Window layout
  • Language
@rakhimov rakhimov added this to the v0.16.0 milestone Oct 16, 2017
rakhimov added a commit that referenced this issue Oct 17, 2017
rakhimov added a commit that referenced this issue Oct 17, 2017
This dialog is triggered on Edit->Preferences.
The dialog is button-less "immediate effect"
similar to the system dialog on Ubuntu.

Issue #210
rakhimov added a commit that referenced this issue Oct 17, 2017
The position, size, and maximized state
are saved with the window geometry.
The layout of toolbars and docked widgets
are saved with the window state.

Issue #210
rakhimov added a commit that referenced this issue Oct 17, 2017
The check state is controlled by signals of the actual widgets,
so the default state interferes with the actual state of widgets,
for example, upon restoration of the window layout from preferences.

Issue #210
rakhimov added a commit that referenced this issue Oct 17, 2017
These are not yet connected to the actions.

Issue #210
rakhimov added a commit that referenced this issue Oct 17, 2017
Preferences dialog is directly connected to the undo stack limit.
The limit is saved to persistent preferences right upon change.

Issue #210
rakhimov added a commit that referenced this issue Oct 17, 2017
Auto-save is implemented with QTimer to fire periodically.
The save happens implicitly
only if the document has been modified,
and the destination file is available.

Issue #210
rakhimov added a commit that referenced this issue Oct 17, 2017
This is only in the form;
it is not yet implemented to display items.

The Tango standard icon is missing for 'document-open-recent' action,
so it is added to the qtango repository.

Issue #210
rakhimov added a commit that referenced this issue Oct 17, 2017
The list of recent files are stored to the persistent settings
only at the end of application.
It is not expected to be synchronized through
multiple concurrent instances of the same application.

Issue #210
rakhimov added a commit that referenced this issue Oct 17, 2017
The language change only happens only upon restart.

Issue #210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant