TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Attributes | List of all members
QRcode Struct Reference

QRcode class. More...

#include <qrencode.h>

Public Attributes

int version
 version of the symbol More...
 
int width
 width of the symbol More...
 
unsigned char * data
 symbol data More...
 

Detailed Description

QRcode class.

Symbol data is represented as an array contains width*width uchars. Each uchar represents a module (dot). If the less significant bit of the uchar is 1, the corresponding module is black. The other bits are meaningless for usual applications, but here its specification is described.

MSB 76543210 LSB
    |||||||`- 1=black/0=white
    ||||||`-- 1=ecc/0=data code area
    |||||`--- format information
    ||||`---- version information
    |||`----- timing pattern
    ||`------ alignment pattern
    |`------- finder pattern and separator
    `-------- non-data modules (format, timing, etc.)

Definition at line 377 of file qrencode.h.

Member Data Documentation

unsigned char* QRcode::data

symbol data

Definition at line 380 of file qrencode.h.

Referenced by QRCodeQWidget::paintEvent(), QRcode_free(), and QRcode_new().

int QRcode::version

version of the symbol

Definition at line 378 of file qrencode.h.

Referenced by QRcode_new().

int QRcode::width

width of the symbol

Definition at line 379 of file qrencode.h.

Referenced by QRCodeQWidget::paintEvent(), and QRcode_new().


The documentation for this struct was generated from the following file: