https://github.com/eteran/qhexview
A Qt widget design to give a nice looking but traditional hex view
https://github.com/eteran/qhexview
c-plus-plus hex qt qt-widgets widget
Last synced: about 1 year ago
JSON representation
A Qt widget design to give a nice looking but traditional hex view
- Host: GitHub
- URL: https://github.com/eteran/qhexview
- Owner: eteran
- License: other
- Created: 2015-03-29T00:03:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T18:57:07.000Z (over 2 years ago)
- Last Synced: 2024-05-01T13:39:00.385Z (about 2 years ago)
- Topics: c-plus-plus, hex, qt, qt-widgets, widget
- Language: C++
- Homepage:
- Size: 133 KB
- Stars: 66
- Watchers: 10
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING-bsd2
Awesome Lists containing this project
README
A Qt widget designed to give a nice looking but traditional hex view.

Basic usage is trivial. Any `QIODevice` can be a data source for the widget. For example:
#include "QHexView"
#include
#include
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QHexView w;
QFile file(argv[1]);
file.open(QIODevice::ReadOnly);
w.setData(&file);
w.show();
app.exec();
return 0;
}
This is a complete program which will display in a nice hex view, the contents of a file.