Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 8: [PATCH 08/17] chore(roots): integrate v31 identity and maintenance tooling

src/qt/qrimagewidget.h

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

File metadata
index 844a6e031ab16dd48ec6f913c2c488fd768ac77a..e76c3a08ef229db37dd5e4260096238efe7dd125 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

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