From 2da24be2e8f8ffa60e371557d75183b67fd2ea24 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 30 Jul 2023 20:55:52 +0200 Subject: Added UI to insert/delete bytes into a packet. Signed-off-by: Toni Uhlig --- qhexedit2/src/qhexedit.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qhexedit2') diff --git a/qhexedit2/src/qhexedit.h b/qhexedit2/src/qhexedit.h index 1a5801a..f06aac5 100644 --- a/qhexedit2/src/qhexedit.h +++ b/qhexedit2/src/qhexedit.h @@ -365,7 +365,7 @@ public: QColor selectionColor(); void setSelectionColor(const QColor &color); -protected: +public: // Handle events void keyPressEvent(QKeyEvent *event); void mouseMoveEvent(QMouseEvent * event); @@ -373,7 +373,6 @@ protected: void paintEvent(QPaintEvent *event); void resizeEvent(QResizeEvent *); virtual bool focusNextPrevChild(bool next); -private: // Handle selections void resetSelection(qint64 pos); // set selectionStart and selectionEnd to pos void resetSelection(); // set selectionEnd to selectionStart -- cgit v1.2.3