diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-01-12 11:09:59 -1000 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-01-15 09:33:46 -1000 |
commit | 59f9e2aaf3fe73961cc02042f929b430fee59f9c (patch) | |
tree | 69ab23e141f12ae3da92b06a6a52a193bb790c39 /src/qt/guiutil.h | |
parent | 0910cbe4ef31eb95fd76c7c2f820419fe64a3150 (diff) |
Use flexible font size for QRCode image address
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index ad0e22ccd6..71a69483f5 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -201,6 +201,8 @@ namespace GUIUtil QString formatBytes(uint64_t bytes); + qreal calculateIdealFontSize(int width, const QString& text, QFont font, qreal minPointSize = 4, qreal startPointSize = 14); + class ClickableLabel : public QLabel { Q_OBJECT |