7 #include <ff7tkqtwidgets_export.h>
9 class FF7TKQTWIDGETS_EXPORT
HexLineEdit :
public QLineEdit
14 explicit HexLineEdit(
const QByteArray &contents, QWidget *parent =
nullptr);
15 QByteArray data()
const;
16 void setMaxLength(
int maxLength);
18 void setData(
const QByteArray &contents);
20 void dataChanged(
const QByteArray &data);
21 void dataEdited(
const QByteArray &data);
24 void setInputMask(
const QString &inputMask);
26 QString _hexRegEx = QStringLiteral(
"([A-F]|[0-9]|[a-f])*");
28 void emitDataEdited();
29 void setText(
const QString &);