Add Rizin preference for project compression#3601
Open
WhiteBai1 wants to merge 1 commit intorizinorg:devfrom
Open
Add Rizin preference for project compression#3601WhiteBai1 wants to merge 1 commit intorizinorg:devfrom
WhiteBai1 wants to merge 1 commit intorizinorg:devfrom
Conversation
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
This PR adds a new
Rizinpreferences page and exposes theprj.compressoption through a checkbox:
Compress project when saving (prj.compress)Following the original issue discussion, this PR adds a dedicated
Rizinpreferences category for this option and uses the Rizin pineapple icon.
Changes included in this PR:
RizinOptionsWidgetRizincategory to Preferencesprj.compressas a checkboxprj.compressvalueprj.compresswhen the checkbox is toggledAI usage disclosure
I used AI tools only in a limited supporting role for code reading, Qt/C++
explanations, and understanding the existing Preferences implementation
pattern.
The actual implementation, code edits, debugging, build/test work, and manual
verification were performed by me. I verified that the code builds and works
locally.
Test plan (required)
Manual testing performed:
/bin/ls.Edit -> Preferences -> Rizin.Compress project when saving (prj.compress)is shown.prj.compressvalue.Before / After
Rizinpreferences category and no UI option forprj.compress.Rizinpreferences category with a checkbox forprj.compress.Closing issues
Closes #2745