a bit better drawing of a key fingerprint

This commit is contained in:
Blue 2023-01-08 18:16:41 +03:00
parent 78ef3664f7
commit 2aed8a1209
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
2 changed files with 77 additions and 9 deletions

View file

@ -18,6 +18,8 @@
#define UI_KEYDELEGATE_H
#include <QStyledItemDelegate>
#include <QString>
#include <vector>
namespace UI {
@ -32,6 +34,11 @@ public:
private:
QFont fingerPrintFont;
QFontMetrics fingerPrintMetrics;
int spaceWidth;
private:
static std::vector<QString> getParts(const QByteArray& data);
};
}