From 1fbbf7df7ed64c260016b09e623837c78f33a7df Mon Sep 17 00:00:00 2001 From: Mikhail Medvedev <75389103+bigbigmdm@users.noreply.github.com> Date: Mon, 28 Apr 2025 15:04:25 +0300 Subject: [PATCH] Current screen address area moved to public This will allow you to define the memory area on the current screen from an external program --- src/qhexedit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qhexedit.h b/src/qhexedit.h index 021b347..f0003ba 100644 --- a/src/qhexedit.h +++ b/src/qhexedit.h @@ -352,6 +352,9 @@ public slots: bool isReadOnly(); void setReadOnly(bool readOnly); + qint64 _bPosFirst; // position of first byte shown + qint64 _bPosLast; // position of last byte shown + qint64 _bPosCurrent; // current position protected: // Handle events bool event(QEvent *event); @@ -395,9 +398,6 @@ private slots: // Name convention: absolute byte positions in chunks start with _b qint64 _bSelectionBegin; // first position of Selection qint64 _bSelectionEnd; // end of Selection - qint64 _bPosFirst; // position of first byte shown - qint64 _bPosLast; // position of last byte shown - qint64 _bPosCurrent; // current position // variables to store the property values bool _addressArea; // left area of QHexEdit