Skip to content
Bitcoin Roots

v29.4-roots.2 · Commit 5: [PATCH 05/21] product: establish Roots identity and Qt experience

src/qt/qrimagewidget.h

Before: src/qt/qrimagewidget.h · After: src/qt/qrimagewidget.h

File metadata
index d9ca2b899fb4e59ecba1aa3d6f98d825403eca96..811e0235d5498bbea69e95ebc3ae0d9f3ac3aea8 100644

Download original patch · Release notes

Diff rows 1–15 of 15. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/qt/qrimagewidget.h CHANGED
@@ -8,6 +8,8 @@
8
8
  #include <QImage>
9
9
  #include <QLabel>
10
10
 
11
+ class QFont;
12
+
11
13
  /* Maximum allowed URI length */
12
14
  static const int MAX_URI_LENGTH = 255;
13
15
 
@@ -30,6 +32,7 @@ class QRImageWidget : public QLabel
30
32
  public:
31
33
  explicit QRImageWidget(QWidget *parent = nullptr);
32
34
  bool setQR(const QString& data, const QString& text = "");
35
+ bool setQR(const QString& data, const QString& text, const QFont& font);
33
36
  QImage exportImage();
34
37
 
35
38
  public Q_SLOTS: