1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:07:46 +00:00

HexEditor: Add Value Inspector

This adds a value inspector window to the Hex Editor. This window shows
the data at the current cursor position (or selection start if a range
is selected) interpreted as a variety of data types.

Currently supported values include 8, 16, 32, and 64 bit signed and
unsigned values as well as float and double.

The inspector can operate in both little endian and big endian modes.
This is switched between by options in the View menu.
This commit is contained in:
Timothy Slater 2022-03-03 08:26:38 -06:00 committed by Ali Mohammad Pur
parent 604557c71b
commit 6a4fdae575
4 changed files with 313 additions and 6 deletions

View file

@ -18,13 +18,29 @@
name: "editor"
}
@GUI::Widget {
name: "search_results_container"
@GUI::VerticalSplitter {
name: "side_panel_container"
visible: false
layout: @GUI::VerticalBoxLayout {}
@GUI::TableView {
name: "search_results"
@GUI::Widget {
name: "search_results_container"
visible: false
layout: @GUI::VerticalBoxLayout {}
@GUI::TableView {
name: "search_results"
}
}
@GUI::Widget {
name: "value_inspector_container"
visible: false
layout: @GUI::VerticalBoxLayout {}
@GUI::TableView {
name: "value_inspector"
activates_on_selection: true
}
}
}
}