Elaztek Developer Hub
Blamite Game Engine - Keystone  00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
QHexCursor Class Reference

#include <qhexcursor.h>

+ Inheritance diagram for QHexCursor:
+ Collaboration diagram for QHexCursor:

Public Types

enum  InsertionMode { OverwriteMode, InsertMode }
 

Signals

void positionChanged ()
 
void insertionModeChanged ()
 

Public Member Functions

 QHexCursor (QObject *parent=nullptr)
 
const QHexPositionselectionStart () const
 
const QHexPositionselectionEnd () const
 
const QHexPositionposition () const
 
InsertionMode insertionMode () const
 
int selectionLength () const
 
quint64 currentLine () const
 
int currentColumn () const
 
int currentNibble () const
 
quint64 selectionLine () const
 
int selectionColumn () const
 
int selectionNibble () const
 
bool atEnd () const
 
bool isLineSelected (quint64 line) const
 
bool hasSelection () const
 
void clearSelection ()
 
void moveTo (const QHexPosition &pos)
 
void moveTo (quint64 line, int column, int nibbleindex=1)
 
void moveTo (qint64 offset)
 
void select (const QHexPosition &pos)
 
void select (quint64 line, int column, int nibbleindex=1)
 
void select (int length)
 
void selectOffset (qint64 offset, int length)
 
void setInsertionMode (InsertionMode mode)
 
void setLineWidth (quint8 width)
 
void switchInsertionMode ()
 

Member Enumeration Documentation

◆ InsertionMode

Enumerator
OverwriteMode 
InsertMode 

Constructor & Destructor Documentation

◆ QHexCursor()

QHexCursor::QHexCursor ( QObject *  parent = nullptr)
explicit
+ Here is the call graph for this function:

Member Function Documentation

◆ atEnd()

bool QHexCursor::atEnd ( ) const

◆ clearSelection()

void QHexCursor::clearSelection ( )
+ Here is the caller graph for this function:

◆ currentColumn()

int QHexCursor::currentColumn ( ) const

◆ currentLine()

quint64 QHexCursor::currentLine ( ) const

◆ currentNibble()

int QHexCursor::currentNibble ( ) const

◆ hasSelection()

bool QHexCursor::hasSelection ( ) const
+ Here is the caller graph for this function:

◆ insertionMode()

QHexCursor::InsertionMode QHexCursor::insertionMode ( ) const
+ Here is the caller graph for this function:

◆ insertionModeChanged

void QHexCursor::insertionModeChanged ( )
signal
+ Here is the caller graph for this function:

◆ isLineSelected()

bool QHexCursor::isLineSelected ( quint64  line) const
+ Here is the call graph for this function:

◆ moveTo() [1/3]

void QHexCursor::moveTo ( const QHexPosition pos)
+ Here is the caller graph for this function:

◆ moveTo() [2/3]

void QHexCursor::moveTo ( qint64  offset)
+ Here is the call graph for this function:

◆ moveTo() [3/3]

void QHexCursor::moveTo ( quint64  line,
int  column,
int  nibbleindex = 1 
)
+ Here is the call graph for this function:

◆ position()

const QHexPosition & QHexCursor::position ( ) const
+ Here is the caller graph for this function:

◆ positionChanged

void QHexCursor::positionChanged ( )
signal
+ Here is the caller graph for this function:

◆ select() [1/3]

void QHexCursor::select ( const QHexPosition pos)
+ Here is the caller graph for this function:

◆ select() [2/3]

void QHexCursor::select ( int  length)
+ Here is the call graph for this function:

◆ select() [3/3]

void QHexCursor::select ( quint64  line,
int  column,
int  nibbleindex = 1 
)

◆ selectionColumn()

int QHexCursor::selectionColumn ( ) const

◆ selectionEnd()

const QHexPosition & QHexCursor::selectionEnd ( ) const
+ Here is the caller graph for this function:

◆ selectionLength()

int QHexCursor::selectionLength ( ) const
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ selectionLine()

quint64 QHexCursor::selectionLine ( ) const

◆ selectionNibble()

int QHexCursor::selectionNibble ( ) const

◆ selectionStart()

const QHexPosition & QHexCursor::selectionStart ( ) const
+ Here is the caller graph for this function:

◆ selectOffset()

void QHexCursor::selectOffset ( qint64  offset,
int  length 
)
+ Here is the call graph for this function:

◆ setInsertionMode()

void QHexCursor::setInsertionMode ( QHexCursor::InsertionMode  mode)
+ Here is the caller graph for this function:

◆ setLineWidth()

void QHexCursor::setLineWidth ( quint8  width)
+ Here is the caller graph for this function:

◆ switchInsertionMode()

void QHexCursor::switchInsertionMode ( )

The documentation for this class was generated from the following files: