Prison
barcode.cpp
void setData(const QString &data)
Sets textual data to be drawn as a barcode.
Definition barcode.cpp:117
QSizeF preferredSize(qreal devicePixelRatio) const
The recommended size for this barcode when shown on a screen.
Definition barcode.cpp:137
QSizeF minimumSize() const
The minimal amount of pixels needed to represent this barcode without loss of information.
Definition barcode.cpp:131
Prison::BarcodeType format() const
Barcode format of this barcode generator.
Definition barcode.cpp:81
static std::optional< Prison::Barcode > create(Prison::BarcodeType type)
Create a new barcode generator.
Definition barcode.cpp:29
Dimensions dimensions() const
Returns the amount of dimensions of the barcode.
Definition barcode.cpp:169
void setBackgroundColor(const QColor &backgroundcolor)
sets the background color
Definition barcode.cpp:153
void setForegroundColor(const QColor &foregroundcolor)
sets the foreground color
Definition barcode.cpp:161
QRect rect() const const
QString
SmoothPixmapTransform
void drawImage(const QPoint &point, const QImage &image)
void setRenderHint(RenderHint hint, bool on)
qreal height() const const
qreal width() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.