QHexEdit2
=========
![Application QHexEdit2 in Action](http://simsys.github.io/qhexedit.png)
QHexEdit is a hex editor widget written in C++ for the Qt (Qt4, Qt5) 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.
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().
Normally QHexEdit works in the overwrite mode. You can set overwrite mode(false) and insert data. In this case the size of data() increases. It is also possible to delete bytes (del or backspace), here the size of data decreases.
You can select data with keyboard hits or mouse movements. The copy-key will copy the selected data into the clipboard. The cut-key copies also but deletes it afterwards. In overwrite mode, the paste function overwrites the content of the (does not change the length) data. In insert mode, clipboard data will be inserted. The clipboard content is expected in ASCII Hex notation. Unknown characters will be ignored.
QHexEdit comes with undo/redo functionality. All changes can be undone, by pressing the undo-key (usually ctr-z). They can also be redone afterwards. The undo/redo framework is cleared, when setData() sets up a new content for the editor. You can search data inside the content with indexOf() and lastIndexOf(). The replace() function is to change located subdata. This 'replaced' data can also be undone by the undo/redo framework.
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.
## Using QHexEdit
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. There is also a [python example](https://github.com/Simsys/qhexedit2/tree/master/python/python3_pyqt5) available.
## Contributing to QHexEdit
We love to receive contributions. You can submit bug reports [here](https://github.com/Simsys/qhexedit2/issues). If you are a developer, you can pick up a work item and start to realize super exciting features or fix bugs. We also like to receive enhancement proposals or translation support.
## License
```
Copyright (C) 2015-2016 Winfried Simon
This software may be used under the terms of the GNU Lesser General
Public License version 2.1 as published by the Free Software Foundation
and appearing in the file license.txt included in the packaging of this file.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
```
没有合适的资源?快使用搜索试试~ 我知道了~
qhexedit2:Qt的二进制编辑器
共204个文件
html:56个
js:44个
png:38个
需积分: 50 16 下载量 68 浏览量
2021-02-05
20:51:07
上传
评论 3
收藏 408KB ZIP 举报
温馨提示
QHexEdit2 QHexEdit是用C ++为Qt(Qt4,Qt5)框架编写的十六进制编辑器小部件。 它是用于二进制数据的简单编辑器,就像QPlainTextEdit用于文本数据一样。 其中包含sip配置文件,因此很容易为PyQt创建绑定,您也可以在python 2和3中使用此小部件。 QHexEdit接收QByteArray(setData())的数据并显示它。 您可以使用鼠标或键盘在小部件内导航。 如果您按下键(0..9,a..f),则将更改数据。 更改的数据突出显示,可以通过data()访问。 通常,QHexEdit在覆盖模式下工作。 您可以设置覆盖模式(false)并插入数据
资源推荐
资源详情
资源评论
收起资源包目录
qhexedit2:Qt的二进制编辑器 (204个子文件)
33.bin 33B
32.bin 32B
16.bin 16B
4.bin 4B
1.bin 1B
qhexedit.cpp 33KB
mainwindow.cpp 13KB
chunks.cpp 8KB
commands.cpp 4KB
optionsdialog.cpp 4KB
searchdialog.cpp 3KB
testchunks.cpp 3KB
main.cpp 2KB
QHexEditPlugin.cpp 2KB
main.cpp 617B
doxygen.css 27KB
tabs.css 8KB
search.css 4KB
doxygen_sqlite3.db 43KB
.directory 190B
Doxyfile 99KB
.gitignore 3KB
qhexedit.h 16KB
mainwindow.h 2KB
chunks.h 2KB
commands.h 1KB
QHexEditPlugin.h 930B
searchdialog.h 691B
optionsdialog.h 666B
testchunks.h 653B
class_q_hex_edit.html 57KB
qhexedit_8h_source.html 39KB
class_q_hex_edit-members.html 13KB
chunks_8h_source.html 10KB
_q_hex_edit_plugin_8h_source.html 8KB
class_q_hex_edit_plugin.html 8KB
functions.html 7KB
class_q_hex_edit_plugin-members.html 6KB
commands_8h_source.html 6KB
functions_func.html 5KB
hierarchy.html 5KB
functions_prop.html 4KB
files.html 4KB
annotated.html 3KB
classes.html 3KB
index.html 3KB
dir_68267d1309a1af8e8297ef4c3efbcdba.html 3KB
properties_7.html 1020B
properties_3.html 1020B
properties_6.html 1020B
properties_2.html 1020B
properties_4.html 1020B
properties_5.html 1020B
properties_1.html 1020B
properties_8.html 1020B
properties_0.html 1020B
functions_4.html 1019B
functions_7.html 1019B
functions_9.html 1019B
functions_5.html 1019B
functions_b.html 1019B
functions_2.html 1019B
functions_3.html 1019B
functions_a.html 1019B
functions_6.html 1019B
functions_8.html 1019B
functions_1.html 1019B
functions_0.html 1019B
classes_0.html 1017B
all_b.html 1013B
all_1.html 1013B
all_4.html 1013B
all_e.html 1013B
all_5.html 1013B
all_6.html 1013B
all_2.html 1013B
all_0.html 1013B
all_a.html 1013B
all_8.html 1013B
all_d.html 1013B
all_3.html 1013B
all_f.html 1013B
all_7.html 1013B
all_c.html 1013B
all_9.html 1013B
nomatches.html 461B
qhexedit.ico 22KB
jquery.js 169KB
search.js 22KB
dynsections.js 3KB
menu.js 2KB
menudata.js 1KB
all_c.js 595B
all_b.js 591B
properties_0.js 587B
all_0.js 587B
all_2.js 517B
functions_7.js 486B
all_7.js 484B
functions_3.js 484B
共 204 条
- 1
- 2
- 3
资源评论
林文曦
- 粉丝: 25
- 资源: 4719
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功