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

feat: Add search for rc files #220

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

feat: Add search for rc files #220

wants to merge 3 commits into from

Conversation

narnaud
Copy link
Member

@narnaud narnaud commented Nov 18, 2024

For now, only search inside the list of data IDs.
We may extend this later on if useful/needed.

To do that, I had to move the rcui code inside the gui library, so I can use the FindInterface.

Fix #25

Copy link
Collaborator

@LeonMatthesKDAB LeonMatthesKDAB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall the change is okay, but the SearchableViewInterface name is confusing, as this class implements "Find", not "Search" and actually isn't an "interface".

src/gui/searchableviewinterface.cpp Outdated Show resolved Hide resolved
src/gui/rcui/rcfileview.cpp Outdated Show resolved Hide resolved
There are no good reasons to keep it separate, and this will allow to
add search using the new search API for views.
This way the class is view agnostic, and could be used for other things
than just table (but could be used for tree).
For now, only search inside the list of data IDs.
We may extend this later on if useful/needed.

Fix KDAB#25
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

Successfully merging this pull request may close these issues.

Improve search in document
2 participants