eteran / qhexview

A Qt widget design to give a nice looking but traditional hex view

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Qt widget designed to give a nice looking but traditional hex view.

Screenshot

Basic usage is trivial. Any QIODevice can be a data source for the widget. For example:

#include "QHexView"
#include <QApplication>
#include <QFile>

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.

About

A Qt widget design to give a nice looking but traditional hex view

License:Other


Languages

Language:C++ 98.9%Language:CMake 1.1%