8#include <QtCore/qcoreapplication.h>
9#include <QtGui/qpagelayout.h>
18 m_supportsMultipleCopies(
false),
19 m_supportsCollateCopies(
false),
20 m_havePageSizes(
false),
21 m_supportsCustomPageSizes(
false),
22 m_haveResolutions(
false),
23 m_haveInputSlots(
false),
24 m_haveOutputBins(
false),
25 m_haveDuplexModes(
false),
26 m_haveColorModes(
false)
28 , m_haveMimeTypes(
false)
85 return pointMargins.left() >= printMargins.left()
86 && pointMargins.right() >= printMargins.right()
87 && pointMargins.top() >= printMargins.top()
88 && pointMargins.bottom() >= printMargins.bottom();
135 if (ps.id() == pageSize.
id() && ps.name() == pageSize.
name())
143 if (ps.id() == pageSize.
id())
158 if (ps.id() == pageSizeId)
172 if (ps.name() == pageName)
228 int resolution)
const
324#if QT_CONFIG(mimetype)
325void QPlatformPrintDevice::loadMimeTypes()
const
353#if QT_CONFIG(mimetype)
354QList<QMimeType> QPlatformPrintDevice::supportedMimeTypes()
const
356 if (!m_haveMimeTypes)
static QString translate(const char *context, const char *key, const char *disambiguation=nullptr, int n=-1)
\threadsafe
Orientation
This enum type defines the page orientation.
bool isValid() const
Returns true if this page size is valid.
Unit
This enum type is used to specify the measurement unit for page sizes.
QString name() const
Returns a localized human-readable name for the page size.
QSize sizePoints() const
Returns the size of the page in Postscript Points (1/72 of an inch).
PageSizeId id() const
Returns the standard QPageSize::PageSizeId of the page, or QPageSize::Custom.
PageSizeId
This enum type lists the available page sizes as defined in the Postscript PPD standard.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define QByteArrayLiteral(str)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLenum input
#define QT_CONFIG(feature)
QT_BEGIN_NAMESPACE typedef uchar * output
if(qFloatDistance(a, b)<(1<< 7))
[0]
bool contains(const AT &t) const noexcept