QHexview displays the extension
Closed this issue · 4 comments
neomissing commented
audetto commented
the key to display is
https://github.com/Dax89/QHexView/blob/master/document/qhexrenderer.cpp#L490
but, you really need to check everywhere you see a 3, you will have to replace with something, so that click, select and move work correctly.
Dax89 commented
Rendering code must be changed in order to support various display modes, currently is hardcoded to 8 bit visualization.
I'm thinking to rewrite the entire rendering part because is old and very complex, it can be simplified a lot
neomissing commented
OK, thank you, I will look at the overall code, looking forward to the update of the new rendering QHexview
Dax89 commented
Implemented in 5.0 branch: https://github.com/Dax89/QHexView/tree/5.0
This week I will merge it to master
!
/* From QHexDocument... */
document->setGroupLength(4); // It will be rendered as '00000000 00000000'
/* ...or from the widget itself */
hexview->setGroupLength(2); // It will be renderer as '0000 0000 0000 0000'