|
Vesna
|
#include "BarCodeGeneralLogic.h"#include <math.h>#include <qchar.h>#include <qdatetime.h>#include <qbytearray.h>#include <qstringlist.h>#include "core/common/eqtcompatible.h"#include "qrencode/qrencode.h"#include "core/log/emlog.h"
Macros | |
| #define | __USE_LOG__ |
| SYSTEM INCLUDES. More... | |
| #define | MAX_QR_SIZE 177 |
Variables | |
| const QString | BARCODE_QR_TYPE = QString( "QR" ) |
| const QString | BARCODE_I2OF5_TYPE = QString( "I2OF5" ) |
| const char | parityMatrix [10][5] |
| #define __USE_LOG__ |
SYSTEM INCLUDES.
QT INCLUDES BASEDEF INCLUDE QR code LOGS INCLUDES
| #define MAX_QR_SIZE 177 |
| const QString BARCODE_I2OF5_TYPE = QString( "I2OF5" ) |
| const QString BARCODE_QR_TYPE = QString( "QR" ) |
| const char parityMatrix[10][5] |
Matrix of parities, 1 stands for ODD, 2 stands for EVEN it has 10 rows because first flag in EAN is digit (one of ten digits 0-9) 5 columns because this matrix is applied to 5 characters of EAN code starting with 3rd char and ending with 7th (if charactrs is numbered from 1, NOT from 0 as in c++)
1.8.8