Prison
abstractbarcode.cpp
155 return QSizeF(d->m_cache.width() * (devicePixelRatio < 2 ? 2 : 1), std::max(d->m_cache.height(), 50));
SmoothPixmapTransform
void setMinimumSize(const QSizeF &minimumSize)
Sets the minimum size for this barcode.
Definition: abstractbarcode.cpp:170
qreal height() const const
int height() const const
QByteArray toByteArray() const const
QRect rect() const const
Definition: abstractbarcode.h:19
QSizeF preferredSize(qreal devicePixelRatio) const
The recommended size for this barcode when shown on a screen.
Definition: abstractbarcode.cpp:148
const QColor & backgroundColor() const
Definition: abstractbarcode.cpp:176
void drawImage(const QRectF &target, const QImage &image, const QRectF &source, Qt::ImageConversionFlags flags)
virtual QImage paintImage(const QSizeF &size)=0
Doing the actual painting of the image.
QVariant::Type type() const const
QImage toImage(const QSizeF &size)
Creates a image with a barcode on.
Definition: abstractbarcode.cpp:86
bool isEmpty() const const
bool isNull() const const
void setBackgroundColor(const QColor &backgroundcolor)
sets the background color
Definition: abstractbarcode.cpp:186
base class for barcode generators To add your own barcode generator, subclass this class and reimplem...
Definition: abstractbarcode.h:32
bool isEmpty() const const
void setForegroundColor(const QColor &foregroundcolor)
sets the foreground color
Definition: abstractbarcode.cpp:194
QByteArray byteArrayData() const
Binary data encoded in this barcode.
Definition: abstractbarcode.cpp:81
Dimensions dimensions() const
Returns the amount of dimensions of the barcode.
Definition: abstractbarcode.cpp:202
const QColor & foregroundColor() const
Definition: abstractbarcode.cpp:181
QSizeF trueMinimumSize() const
The minimal amount of pixels needed to represent this barcode without loss of information.
Definition: abstractbarcode.cpp:142
void setRenderHint(QPainter::RenderHint hint, bool on)
void setData(const QString &data)
Sets textual data to be drawn as a barcode.
Definition: abstractbarcode.cpp:107
String
black
QString toString() const const
qreal width() const const
int width() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:56:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:56:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.