Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/qhexedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1212,3 +1212,13 @@ void QHexEdit::updateCursor()
_blink = true;
viewport()->update(_cursorRect);
}

qint64 QHexEdit::bPosLast() const
{
return _bPosLast;
}

qint64 QHexEdit::bPosFirst() const
{
return _bPosFirst;
}
3 changes: 3 additions & 0 deletions src/qhexedit.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ public slots:
bool isReadOnly() const;
void setReadOnly(bool readOnly);

qint64 bPosFirst() const;
qint64 bPosLast() const;

protected:
// Handle events
bool event(QEvent *event);
Expand Down