-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Make search always visible (#15) #67
Conversation
* All gui tests are run on an unaltered starter database * All gui tests are self contained * Removed clearing of Search Widget text when hiding
* Searches are saved between databases * Search is cleared when all databases are closed * Implemented case sensitive and group searching
Requesting a review from another project maintainer. |
Works great, but could you please (re)add a keyboard shortcut to focus the search field? |
Added global shortcut and a simple notification banner when the database is in search mode. |
Just a note before I approve the changes. Should be good make the |
Perhaps reliable it "Search Results"? |
I think it will be ok, but if no result is found relabel it to "No result" or something like that. |
I'm going to fix the label and merge this in tonight. |
Description
Moves the search bar from the database entry view to the toolbar. It is always visible and capable of making searches without an extra button click. The search options were moved into a drop down list on the search icon button. Pressing escape while focused on the search text clears the search. Closes #15.
Moving the search out of the database widget required some replumbing work in the way searches are conducted.
I also enabled the use of QT keywords like "emit", "slots", etc which make the code easier to read.
Motivation and Context
This was requested by the community and it also cleans up the UI significantly.
How Has This Been Tested?
The testgui.cpp file was completely retooled to accomplish the following:
Screenshots (if appropriate):
Types of changes
Checklist: