You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

4
10
5
11
6
-
QHexEdit is a hex editor widget written in C++ for the Qt (Qt4, Qt5, Qt6) framework. It is a simple editor for binary data, just like QPlainTextEdit is for text data. There are sip configuration files included, so it is easy to create bindings for PyQt and you can use this widget also in python 2 and 3.
12
+
QHexEdit is a hex editor widget written in C++ for the Qt (Qt5, Qt6) framework. It is a simple editor for binary data, just like QPlainTextEdit is for text data. There are sip configuration files included, so it is easy to create bindings for PyQt and you can use this widget also in python.
7
13
8
14
QHexEdit takes the data of a QByteArray (setData()) and shows it. You can use the mouse or the keyboard to navigate inside the widget. If you hit the keys (0..9, a..f) you will change the data. Changed data is highlighted and can be accessed via data().
9
15
@@ -16,17 +22,21 @@ QHexEdit comes with undo/redo functionality. All changes can be undone, by press
16
22
QHexEdit is based on QIODevice, that's why QHexEdit can handle big amounts of data. The size of edited data can be more then two gigabytes without any restrictions.
17
23
18
24
## Using QHexEdit (C++)
19
-
You can read the documentation of the project [here](http://simsys.github.io/). You find in the sources a [C++ example](https://github.com/Simsys/qhexedit2/tree/master/example), that shows how tu use the QHexedit widget.
25
+
You can read the documentation of the project [here](http://simsys.github.io/). You find in the sources a [C++ example](https://github.com/Simsys/qhexedit2/tree/master/example), that shows how to use the QHexedit widget. The binaries for the example for the Windows platform are stored with the respective [release](https://github.com/Simsys/qhexedit2/releases).
20
26
21
27
## Using QHexEdit (Python)
22
28
To use QHexEdit with Python install it from PyPi:
29
+
23
30
```
24
31
$ # for PyQt5
25
-
$ pip install PyQt5-QHexEdit
32
+
$ pip install PyQt5 PyQt5-QHexEdit
26
33
$
27
34
$ # for PyQt6
28
-
$ pip install PyQt6-QHexEdit
35
+
$ pip install PyQt5 PyQt5-QHexEdit
29
36
```
37
+
38
+
The sources and binaries for Windows 64 bit and Linux 64 bit are stored on PyPi. For all other targets, the widget must be compiled locally. For this, the corresponding Qt version including the developer packages must be installed. It makes sense to compile the C++ project first. If this is possible with qmake, it is also possible to compile the PyQt bindings. This requires [python build](https://pypi.org/project/build/).
39
+
30
40
There is also a [python example](https://github.com/Simsys/qhexedit2/tree/master/python/example) available.
0 commit comments