BPS C++ API  2.24.4
bpsqrcode.h
Go to the documentation of this file.
1 
4 #ifndef BPSQRCODE_H
5 #define BPSQRCODE_H
6 
7 #include "bpscore_global.h"
8 #include <QVector>
9 
10 
25 {
27 
28 public:
29 
33  enum Level {
34  LevelL = 0,
35  LevelM = 1,
36  LevelQ = 2,
37  LevelH = 3
38  };
39 
44 
45  virtual ~BpsQrCode();
46 
56  QVector<QVector<bool>> encode(const QString& aText, int aVersion, Level aLevel, bool aGS1);
57 };
58 
59 #endif // BPSQRCODE_H
Public include file for BPS CORE library macros.
#define BPSCORE_EXPORT
Declare class to be an import from the shared library.
Definition: bpscore_global.h:22
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Encoder for QR code.
Definition: bpsqrcode.h:25
QVector< QVector< bool > > encode(const QString &aText, int aVersion, Level aLevel, bool aGS1)
Encode a text into a matrix.
BpsQrCode()
Default constructor.
Level
Error correction levels.
Definition: bpsqrcode.h:33