|
QBarcode
|
Namespace used for QWlanManager library. More...
Classes | |
| class | Array2D |
| Use to manage a 2-dimensional array. More... | |
| class | Barcode |
| Represent a barcode entity. More... | |
| class | Payload |
| Store data of a Barcode. More... | |
| class | PayloadQrString |
| Store QrCode string data. More... | |
| class | PayloadQrUrl |
| Store QrCode URL data. More... | |
| class | PayloadQrWifi |
| Store QrCode WIFI data. More... | |
| class | QrCode |
| Represent a QrCode entity. More... | |
| class | Renderer |
| Allow to render a barcode. More... | |
| class | RendererQrCode |
| Represent a QrCode renderer. More... | |
Typedefs | |
| using | MatrixData = Array2D<uint8_t> |
| Contains barcode matrix data. | |
Enumerations | |
| enum class | BarError { QBAR_ERR_NO_ERROR = 0 , QBAR_ERR_UNKNOWN , QBAR_ERR_ITEM_INVALID } |
| List of all barcode related errors. More... | |
| enum class | BarType { QBAR_TYPE_UNKNOWN = 0 , QBAR_TYPE_QRCODE , QBAR_TYPE_NB } |
| List of all supported barcode types. More... | |
| enum class | PayloadType { PAYLOAD_TYPE_GENERIC_STRING = 0 , PAYLOAD_TYPE_QR_URL , PAYLOAD_TYPE_QR_WIFI , PAYLOAD_TYPE_NB } |
| List of all types of payload. More... | |
| enum class | QrLevelEcc { QR_ECC_LOW = 0 , QR_ECC_MEDIUM , QR_ECC_QUARTILE , QR_ECC_HIGH } |
| Qrcode level of errors correction capability (ECC). More... | |
Functions | |
| QBAR_EXPORT QDebug | operator<< (QDebug debug, const Barcode &barcode) |
| QBAR_EXPORT QDebug | operator<< (QDebug debug, const QrCode &qrcode) |
| QBAR_EXPORT QDebug | operator<< (QDebug debug, const Payload &payload) |
| QBAR_EXPORT QDebug | operator<< (QDebug debug, const PayloadQrString &payload) |
| QBAR_EXPORT QDebug | operator<< (QDebug debug, const PayloadQrUrl &payload) |
| QBAR_EXPORT QDebug | operator<< (QDebug debug, const PayloadQrWifi &payload) |
| QBAR_EXPORT QString | barErrorToString (BarError idErr) |
| Use to convert barcode errors to string. | |
| QBAR_EXPORT QString | barTypeToString (BarType idType) |
| Use to convert barcode types to string. | |
| QBAR_EXPORT QString | payloadTypeToString (PayloadType idType) |
| Use to convert payload types to string. | |
| QBAR_EXPORT QString | qrLevelEccToString (QrLevelEcc idLevel) |
| Use to convert QrCode level of error correction to string. | |
| QBAR_EXPORT QVersionNumber | getLibraryVersion () |
| Used to retrieve QBarcode library version. | |
| QBAR_EXPORT QDebug | operator<< (QDebug debug, const Renderer &renderer) |
| QBAR_EXPORT QDebug | operator<< (QDebug debug, const RendererQrCode &renderer) |
Namespace used for QWlanManager library.
| using qbar::MatrixData = Array2D<uint8_t> |
Contains barcode matrix data.
Allow to store matrix modules of a barcode
|
strong |
List of all barcode related errors.
| Enumerator | ||
|---|---|---|
| QBAR_ERR_NO_ERROR | 0 | No error, operation succeed |
| QBAR_ERR_UNKNOWN | Unknown error | |
| QBAR_ERR_ITEM_INVALID | Operation cannot be performed due to an invalid item | |
|
strong |
List of all supported barcode types.
| Enumerator | ||
|---|---|---|
| QBAR_TYPE_UNKNOWN | 0 | Unknown/unsupported barcode type |
| QBAR_TYPE_QRCODE | QrCode type | |
| QBAR_TYPE_NB | Number of supporter barcode types | |
|
strong |
List of all types of payload.
| Enumerator | ||
|---|---|---|
| PAYLOAD_TYPE_GENERIC_STRING | 0 | Payload containing a string |
| PAYLOAD_TYPE_QR_URL | ||
| PAYLOAD_TYPE_QR_WIFI | ||
| PAYLOAD_TYPE_NB | Number of supported payloads | |
|
strong |
Qrcode level of errors correction capability (ECC).
Higher levels of error correction sacrifice data capacity, but allow a larger portion of the QR code to be damaged or unreadable.
| QString qbar::barErrorToString | ( | BarError | idErr | ) |
Use to convert barcode errors to string.
| [in] | idErr | Error ID to convert. If unknown, string "unknown error" will be returned. |
| QString qbar::barTypeToString | ( | BarType | idType | ) |
Use to convert barcode types to string.
| [in] | idType | Type ID to convert. If unknown, string "unknown" will be returned. |
| QString qbar::payloadTypeToString | ( | PayloadType | idType | ) |
Use to convert payload types to string.
| [in] | idType | Payload type ID to convert. If unknown, string "unknown" will be returned. |
| QString qbar::qrLevelEccToString | ( | QrLevelEcc | idLevel | ) |
Use to convert QrCode level of error correction to string.
| [in] | idLevel | ECC level ID to convert. If unknown, string "unknown" will be returned. |
| QVersionNumber qbar::getLibraryVersion | ( | ) |
Used to retrieve QBarcode library version.