• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. The KDE Frameworks
  3. Prison
  • KDE Home
  • Contact Us

Quick Links

Skip menu "Prison"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • Related Pages

Class Picker

About

Barcode abstraction layer providing uniform access to generation of barcodes

Maintainer
The KDE Community
Supported platforms
Android, FreeBSD, Linux
Community
IRC: #kde-devel on Freenode
Mailing list: kde-frameworks-devel
Use with CMake
find_package()
target_link_libraries(yourapp KF5::Prison)
Use with QMake
QT += Prison 
Clone
git clone git://anongit.kde.org/prison.git
Browse source
Prison on cgit.kde.org

Prison

prison Prison barcode library

prison is a Qt-based barcode abstraction layer/library and provides uniform access to generation of barcodes with data.

Overview

prison has a prison::AbstractBarcode, which is the base class for the actual barcode generators, currently prison::QRCodeBarcode and prison::DataMatrixBarcode is 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 is basically two types of barcodes:

  • barcodes that carries the data
  • barcodes that carries a lookup number, and requires 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. A example is EZCode.

prison is currently using libdmtx for generation of DataMatrix barcodes

prison is currently using libqrencode for generation of QRCode barcodes

This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Feb 17 2019 22:46:19 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal