Improve inefficient screen space usage#3580
Merged
PremadeS merged 7 commits intorizinorg:devfrom Apr 17, 2026
Merged
Conversation
Collaborator
Author
|
I will check for any missed widgets one tests are green |
Contributor
|
@karliss what do you think about this change? |
notxvilka
approved these changes
Mar 25, 2026
Contributor
notxvilka
left a comment
There was a problem hiding this comment.
Tested on macOS ARM64 - works as intended
This was referenced Mar 25, 2026
df5eb23 to
db60b2a
Compare
wargio
approved these changes
Apr 15, 2026
4 tasks
tsogp
pushed a commit
to tsogp/cutter
that referenced
this pull request
Apr 19, 2026
* Add new class `ItemCountLineEdit` * Create a parent class `AbstractFilterView` for `QuickFilterView` and `ComboQuickFilterView` * Remove `CutterTreeWidget` * Add new tab in preferences (`Interface`) for interface related options * Add the options to hide item count by default or on overflow (saved in config) * Add the option to hide item count by default or on overflow for an individual view (not saved) * Decrease height for Header view sections
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.
Your checklist for this pull request
Detailed description
Removes the
CutterTreeWidgetthat showed the item count in a status bar underneath the quick filter viewMoves all duplicate logic from
QuickFilterViewandComboQuickFilterViewtoAbstractFilterViewwhich serves as a base class for bothAdds the item count inside the line edit on the right side (see images below)
Edit-Preferences->Interface->Show Quick Filter By DefaultEdit->Preferences->Interface->Show Item Count in Quick FilterEdit->Preferences->Interface->Hide Item Count on overflowcan be set to checked, when checked the label will auto hide on overflow. Try reaching the item count label again by methods described aboveMoving aside from quick filter, this PR also shrinks the height of header sections for
QTableView,QTreeViewand basically any other view that has header labels in all 4 cutter themes (see images below) .This was mentioned in the original issue, not really sure if the user meant the header view sections or the title bar when referring to "border". Although the title bar seems reasonable in height, even when seeing on 1366x768 resolution
Also sets the shortcut context in search bar to be
WidgetWithChildrenShortcutso it doesn't collide with same shortcuts in other widgetsMedia

Item Count label
with Hide on overflow off:
with Hide on overflow on:

Header View sections

before (full image at the end):
after:

Comapred to IDA:

Compared to Ghidra:

Full images:

before:
after - notice the quick filter and header sections of string widget, (that contains Address, String... labels):

before (1368 x 768):

after (1368 x 768):

Test plan (required)
Edit->Preferences->Appearancetest all options in Quick FilterClosing issues
closes #1923