Пример #1
0
QString QHexEdit::toReadableString()
{
    QByteArray ba;
    for (qint64 i = 0; i < _editorSize; i++)
        ba.append(reader ? reader(i) : 0);
    return toReadable(ba);
}
Пример #2
0
QString QHexEdit::selectionToReadableString()
{
    QByteArray ba;
    for (qint64 i = getSelectionBegin(); i <= getSelectionEnd(); i++)
        ba.append(reader ? reader(i) : 0);
    return toReadable(ba);
}
Пример #3
0
QString QHexEdit::toReadableString()
{
    QByteArray ba = _chunks->data();
    return toReadable(ba);
}
Пример #4
0
QString QHexEdit::selectionToReadableString()
{
    QByteArray ba = _chunks->data(getSelectionBegin(), getSelectionEnd() - getSelectionBegin());
    return toReadable(ba);
}