prison-kf5:基于 Qt 生态的条形码生成抽象层项目

用户可借助此项目实现统一的条形码生成功能,它提供抽象层封装,支持 QRCode 和 DataMatrix 类型,包含 BarcodeWidget 和 BarcodeItem 组件,基于 libdmtx 和 libqrencode 库实现高效生成。【此简介由AI生成】

Branch4Tags2
FilesLast commitLast update
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago

Prison

A barcode abstraction layer providing uniform access to generation of barcodes with data

Introduction

Prison has a Prison::AbstractBarcode, which is the base class for the actual barcode generators, currently Prison::QRCodeBarcode and Prison::DataMatrixBarcode are the two implemented barcode generators.

Prison currently ships a BarcodeWidget, which is a QWidget with a barcode painted upon, as well as a BarcodeItem, which is a QGraphicsItem with a barcode painted upon.

Supported Barcode types

There are basically two types of barcodes:

  • barcodes that carry the data
  • barcodes that carry a lookup number, and require a specific server to look up the actual data.

Prison isn't as such designed for the latter, it will probably work, but patches implementing barcode support for such barcodes will not be accepted. An example is EZCode.

Prison is currently using libdmtx for generation of DataMatrix barcodes and libqrencode for generation of QRCode barcodes.

Introduction

用户可借助此项目实现统一的条形码生成功能,它提供抽象层封装,支持 QRCode 和 DataMatrix 类型,包含 BarcodeWidget 和 BarcodeItem 组件,基于 libdmtx 和 libqrencode 库实现高效生成。【此简介由AI生成】

Customize your domain