7#include <private/qdebug_p.h>
46 return d->
id() ==
other.d->id();
157 int resolution)
const
227#if QT_CONFIG(mimetype)
234# ifndef QT_NO_DEBUG_STREAM
243 debug <<
"id=\"" << deviceId <<
"\", state=" <<
state();
244 if (!deviceName.
isEmpty() && deviceName != deviceId)
245 debug <<
", name=\"" << deviceName <<
'"';
250 debug <<
", default";
255 debug <<
", supportsCustomPageSizes";
256 debug <<
", physicalPageSize=(";
263# if QT_CONFIG(mimetype)
266 debug <<
", supportedMimeTypes=(";
267 for (
const auto &
mimeType : mimeTypes)
281 debug <<
"QPrintDevice(";
bool isEmpty() const noexcept
Orientation
This enum type defines the page orientation.
Unit
This enum type is used to specify the measurement unit for page sizes.
PageSizeId
This enum type lists the available page sizes as defined in the Postscript PPD standard.
QPageSize supportedPageSize(const QPageSize &pageSize) const
bool isValidPageLayout(const QPageLayout &layout, int resolution) const
QList< QPrint::InputSlot > supportedInputSlots() const
int defaultResolution() const
QPageSize defaultPageSize() const
QList< QPrint::DuplexMode > supportedDuplexModes() const
QPrint::DuplexMode defaultDuplexMode() const
QPrint::DeviceState state() const
QVariant property(PrintDevicePropertyKey key) const
void format(QDebug debug) const
QList< QPageSize > supportedPageSizes() const
bool isFeatureAvailable(PrintDevicePropertyKey key, const QVariant ¶ms) const
bool supportsMultipleCopies() const
QList< QPrint::ColorMode > supportedColorModes() const
QSize minimumPhysicalPageSize() const
bool operator==(const QPrintDevice &other) const
QSize maximumPhysicalPageSize() const
QPrint::InputSlot defaultInputSlot() const
QList< int > supportedResolutions() const
QString makeAndModel() const
QPrint::ColorMode defaultColorMode() const
bool supportsCollateCopies() const
QList< QPrint::OutputBin > supportedOutputBins() const
QPrint::OutputBin defaultOutputBin() const
QPrintDevice & operator=(const QPrintDevice &other)
bool setProperty(PrintDevicePropertyKey key, const QVariant &value)
QMarginsF printableMargins(const QPageSize &pageSize, QPageLayout::Orientation orientation, int resolution) const
bool supportsCustomPageSizes() const
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Combined button and popup list for selecting options.
static void formatQSize(QDebug &debug, const Size &size)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLuint GLintptr GLsizeiptr size
[1]
QDebug operator<<(QDebug debug, const QPrintDevice &p)