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)
81 return pointMargins.
left() >= printMargins.
left()
82 && pointMargins.
right() >= printMargins.
right()
83 && pointMargins.
top() >= printMargins.
top()
131 if (ps.id() == pageSize.
id() && ps.name() == pageSize.
name())
139 if (ps.id() == pageSize.
id())
154 if (ps.id() == pageSizeId)
168 if (ps.name() == pageName)
224 int resolution)
const
320#if QT_CONFIG(mimetype)
321void QPlatformPrintDevice::loadMimeTypes()
const
349#if QT_CONFIG(mimetype)
352 if (!m_haveMimeTypes)
static QString translate(const char *context, const char *key, const char *disambiguation=nullptr, int n=-1)
\threadsafe
constexpr qreal right() const noexcept
Returns the right margin.
constexpr qreal left() const noexcept
Returns the left margin.
constexpr qreal top() const noexcept
Returns the top margin.
constexpr qreal bottom() const noexcept
Returns the bottom margin.
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