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

Add menu path to search results #315

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Add menu path to search results #315

merged 2 commits into from
Dec 3, 2024

Conversation

gselzer
Copy link
Collaborator

@gselzer gselzer commented Dec 2, 2024

This PR adds ability to render HTML in our QSearcherTreeView showing search results, enabling display of the menu path for each relevant search result. I similarly colored the number of search results for each Searcher.

TODO:

  • Add tests
  • Ensure the QPalette doesn't have a suitable color for the "highlight". I didn't find one, and the current color (stolen from the SciJava "Quick Search" menu) works well for dark and light backgrounds.
  • Update documentation?

Closes #271

image

@gselzer gselzer added the enhancement New feature or request label Dec 2, 2024
@gselzer gselzer added this to the 0.2.0 milestone Dec 2, 2024
@gselzer gselzer self-assigned this Dec 2, 2024
@imagesc-bot
Copy link

This pull request has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/fiji-friends-weekly-dev-update-thread/103718/28

@gselzer gselzer force-pushed the search-result-menu-path branch from 55b1834 to c0a4815 Compare December 3, 2024 16:03
@gselzer gselzer merged commit de75079 into main Dec 3, 2024
8 checks passed
@gselzer gselzer deleted the search-result-menu-path branch December 3, 2024 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search results should show full menu path
2 participants