Prison
7 #ifndef PRISON_ABSTRACTBARCODE_H
8 #define PRISON_ABSTRACTBARCODE_H
13 #include "prison_export.h"
35 #if PRISON_ENABLE_DEPRECATED_SINCE(5, 69)
40 PRISON_DEPRECATED_VERSION(5, 69,
"Use Prison::createBarcode()")
66 void setData(
const QString &data);
86 #if PRISON_ENABLE_DEPRECATED_SINCE(5, 72)
93 PRISON_DEPRECATED_VERSION_BELATED(5, 72, 5, 69,
"Use preferredSize() or trueMinimumSize()")
94 QSizeF minimumSize()
const;
105 QSizeF trueMinimumSize()
const;
117 QSizeF preferredSize(qreal devicePixelRatio)
const;
122 const QColor &foregroundColor()
const;
126 const QColor &backgroundColor()
const;
131 void setForegroundColor(
const QColor &foregroundcolor);
136 void setBackgroundColor(
const QColor &backgroundcolor);
150 Dimensions dimensions()
const;
157 #if PRISON_ENABLE_DEPRECATED_SINCE(5, 69)
164 PRISON_DEPRECATED_VERSION(5, 69,
"no need to call this anymore")
165 void setMinimumSize(const
QSizeF &minimumSize);
177 friend class AbstractBarcodePrivate;
181 std::unique_ptr<class AbstractBarcodePrivate>
const d;
185 #endif // PRISON_ABSTRACTBARCODE_H
Dimensions
Dimensions of the barcode.
@ OneDimension
One-dimensional barcode.
@ NoDimensions
Null barcode.
@ TwoDimensions
2D matrix code.
base class for barcode generators To add your own barcode generator, subclass this class and reimplem...
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
KDE's Doxygen guidelines are available online.