Skip to content

feat: Add search for rc files#220

Merged
LeonMatthesKDAB merged 3 commits intoKDAB:mainfrom
narnaud:rc-search
Dec 13, 2024
Merged

feat: Add search for rc files#220
LeonMatthesKDAB merged 3 commits intoKDAB:mainfrom
narnaud:rc-search

Conversation

@narnaud
Copy link
Copy Markdown
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
Copy Markdown

@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".

Comment thread src/gui/searchableviewinterface.cpp Outdated
Comment thread src/gui/rcui/rcfileview.cpp Outdated
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
@LeonMatthesKDAB LeonMatthesKDAB merged commit 2d893d4 into KDAB:main Dec 13, 2024
@narnaud narnaud deleted the rc-search branch March 7, 2025 07: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