Search for usage in LXR

Prison::Code39Barcode Class Reference

#include <code39barcode.h>

Inheritance diagram for Prison::Code39Barcode:

Public Member Functions

 Code39Barcode ()
- Public Member Functions inherited from Prison::AbstractBarcode
 AbstractBarcode ()
const QColorbackgroundColor () const
QByteArray byteArrayData () const
QString data () const
Dimensions dimensions () const
const QColorforegroundColor () 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

Protected Member Functions

QImage paintImage (const QSizeF &size) override
- Protected Member Functions inherited from Prison::AbstractBarcode
void setMinimumSize (const QSizeF &minimumSize)

Additional Inherited Members

- Public Types inherited from Prison::AbstractBarcode
enum  Dimensions : uint8_t { NoDimensions, OneDimension, TwoDimensions }

Detailed Description

Code 39 Barcode generator.

Definition at line 17 of file code39barcode.h.

Constructor & Destructor Documentation

◆ Code39Barcode()

Code39Barcode::Code39Barcode ( )

creates a Code 39 generator

Definition at line 107 of file code39barcode.cpp.

Member Function Documentation

◆ paintImage()

QImage Code39Barcode::paintImage ( const QSizeF size)

This function generates the barcode.

QImage containing a barcode, trying to approximate the requested sizes, or a null QImage if it can't be painted within requested size

Implements Prison::AbstractBarcode.

Definition at line 113 of file code39barcode.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

KDE's Doxygen guidelines are available online.