add tabstops to Quick Start dialog#3014
Merged
sunderme merged 1 commit intotexstudio-org:masterfrom Mar 15, 2023
Merged
Conversation
set focus to title field, simplify ok/cancel buttons
Member
|
thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves usage of the tab key and allows pressing the ok button if you just want to accept current settings.
The focus now is set to the title field because you likely use same settings for most of your documents created with the QuickStart wizard. So you can just enter title and author, and then confirm anything else by pressing enter key.
The tab key now walks line by line from left to right, touches ok and cancel, and finally the tabwidget item (where you can switch tabs with the left and right arrow keys). Thus it's easy having quick access to any of the fields you want to change.
Comparison to previous builds
In 4.5.1 and current master the Class tabwidget item has focus. It's not possible to confirm all settings by just pressing ok key because the add Class dialog catches this key (note blue framed widget). Tab key cycles to the Author field, then to Doc Class, then it's add button, then to add button for Language, to Size combo, and so on in a random walk.
More: One method and one widget were renamed to more suitable names, a comment and an almost useless focus policy were removed. Ok/Cancel button are now constructed in the same way as in the QuickBeamer ui file.