| 453 | } |
| 454 | |
| 455 | void QHexEdit::undo() |
| 456 | { |
| 457 | _undoStack->undo(); |
| 458 | setCursorPosition(_chunks->pos()*(_editAreaIsAscii ? 1 : 2)); |
| 459 | refresh(); |
| 460 | } |
| 461 | |
| 462 | // ********************************************************************** Handle events |
| 463 | void QHexEdit::keyPressEvent(QKeyEvent *event) |