forked from blue/squawk
a bit better drawing of a key fingerprint
This commit is contained in:
parent
78ef3664f7
commit
2aed8a1209
2 changed files with 77 additions and 9 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue