Prison::Code93Barcode
Prison::Code93Barcode Class Reference
#include <code93barcode.h>
Inheritance diagram for Prison::Code93Barcode:

Public Member Functions | |
Code93Barcode () | |
QImage | paintImage (const QSizeF &size) override |
![]() | |
AbstractBarcode () | |
const QColor & | backgroundColor () const |
QByteArray | byteArrayData () const |
QString | data () const |
Dimensions | dimensions () const |
const QColor & | foregroundColor () const |
QSizeF | minimumSize () const |
QSizeF | preferredSize (qreal devicePixelRatio) const |
void | setBackgroundColor (const QColor &backgroundcolor) |
void | setData (const QByteArray &data) |
void | setData (const QString &data) |
void | setForegroundColor (const QColor &foregroundcolor) |
QImage | toImage (const QSizeF &size) |
QSizeF | trueMinimumSize () const |
Additional Inherited Members | |
![]() | |
enum | Dimensions : uint8_t { NoDimensions, OneDimension, TwoDimensions } |
![]() | |
void | setMinimumSize (const QSizeF &minimumSize) |
Detailed Description
Code 93 Barcode generator.
Definition at line 17 of file code93barcode.h.
Constructor & Destructor Documentation
◆ Code93Barcode()
Code93Barcode::Code93Barcode | ( | ) |
creates a Code 93 generator
Definition at line 610 of file code93barcode.cpp.
Member Function Documentation
◆ paintImage()
This function generates the barcode.
- Returns
- QImage containing a barcode, trying to approximate the requested sizes
- Parameters
-
size The requested size of the barcode, approximate. if the barcode generator can't generate it, it can return a null QImage
Implements Prison::AbstractBarcode.
Definition at line 616 of file code93barcode.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 04:06:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 04:06:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.