7#ifndef PRISON_BARCODE_H
8#define PRISON_BARCODE_H
10#include "prison_export.h"
26class AbstractBarcodePrivate;
70 void setData(
const QString &data);
97 QSizeF minimumSize()
const;
109 QSizeF preferredSize(qreal devicePixelRatio)
const;
114 QColor foregroundColor()
const;
118 QColor backgroundColor()
const;
123 void setForegroundColor(
const QColor &foregroundcolor);
128 void setBackgroundColor(
const QColor &backgroundcolor);
138 Dimensions dimensions()
const;
149 friend class AbstractBarcodePrivate;
150 explicit Barcode(std::unique_ptr<AbstractBarcodePrivate> &&d);
151 std::unique_ptr<class AbstractBarcodePrivate> d;
A barcode generator for a fixed barcode format.
Dimensions
Dimensions of the barcode.
@ NoDimensions
Null barcode.
@ TwoDimensions
2D matrix code.
@ OneDimension
One-dimensional barcode.
Provides classes and methods for generating barcodes.
BarcodeType
possible supported barcode types
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:12:17 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.