How to create HexViewer for a file
hi all
i am working on QT4.1 on Mac Platform
i want to know if i want to show the Hex view of a file then what basic widgets to start i have to use and how to show them like same as Hex Edit show to a file.
like
--------------------------------------------------------------
|offset |0 1 2 3 4 5 6 7 8 9 A B C D E F |ASCII Text |
|-------------------------------------------------------------
|
TIA
Re: How to create HexViewer for a file
See this thread: http://www.qtcentre.org/forum/f-qt-p...ghlight=editor.
But I guess you have many options. You could use even a QTableView with a Qt::NoPen grid.
As for actually displaying hex data and offsets take a look at QIODevice & QFile for reading buffers from files.
Regards