rizinorg / cutter

Free and Open Source Reverse Engineering Platform powered by rizin
https://cutter.re
GNU General Public License v3.0
15.77k stars 1.15k forks source link

Allow minimize / maximize widgets #3060

Open dmknght opened 1 year ago

dmknght commented 1 year ago

Is your feature request related to a problem? Please describe.

Having multiple widgets is very useful to analysis binaries. Especially analyzer can view both disasm code and decompiled code. However, code blocks can be very huge therefore the monitor can't display them all. An example of 1920x1080 screenshot image

Describe the solution you'd like Having a feature that allow minimizing widgets, so users can simple "hide" it when they need more space on the monitor. It's similar to vscode:

  1. The widgets are in "normal" mode image
  2. Hide the "bookmark widget" therefore "Search" widget has more space to display data

image

Describe alternatives you've considered

Double click on widget's title will maximum it, double click on it again restore previous size

Additional context

IMO, the advantage of this method is viewer don't have to remove, then add widgets again and again. And it could be very useful if user sets multiple widgets in 1 position (multiple tabs)

sanskruti2728 commented 6 months ago

I would like to work on this issue.May I?

karliss commented 6 months ago

@sanskruti2728 You can try, but just because it was marked as "good first issue" don't expect it to be easy.

Also don't take the suggested solution as exact recipe for only solution to the problem. Accordion style collapsing like VSCode is only one of potential solutions. Collapsing on sides like you see many IDEs for example Visual Studio (not code) , various Jetbrains editors is a different solution. Eclipse has a slightly different variation of minimized dock widgets, the minimized panels are still displayed on edges, but clicking on their button temporary shows them as floating popups.

Which approach can be reasonably implemented with the stuff that Qt makes available, well figuring that out is part of the task.