![]() |
Qt 6.x
The Qt SDK
|
#include <qplatformprintdevice.h>
Static Public Member Functions | |
static QPageSize | createPageSize (const QString &key, const QSize &size, const QString &localizedName) |
static QPageSize | createPageSize (int windowsId, const QSize &size, const QString &localizedName) |
Protected Member Functions | |
virtual void | loadPageSizes () const |
virtual void | loadResolutions () const |
virtual void | loadInputSlots () const |
virtual void | loadOutputBins () const |
virtual void | loadDuplexModes () const |
virtual void | loadColorModes () const |
QPageSize | supportedPageSizeMatch (const QPageSize &pageSize) const |
Protected Attributes | |
QString | m_id |
QString | m_name |
QString | m_location |
QString | m_makeAndModel |
bool | m_isRemote |
bool | m_supportsMultipleCopies |
bool | m_supportsCollateCopies |
bool | m_havePageSizes |
QList< QPageSize > | m_pageSizes |
bool | m_supportsCustomPageSizes |
QSize | m_minimumPhysicalPageSize |
QSize | m_maximumPhysicalPageSize |
bool | m_haveResolutions |
QList< int > | m_resolutions |
bool | m_haveInputSlots |
QList< QPrint::InputSlot > | m_inputSlots |
bool | m_haveOutputBins |
QList< QPrint::OutputBin > | m_outputBins |
bool | m_haveDuplexModes |
QList< QPrint::DuplexMode > | m_duplexModes |
bool | m_haveColorModes |
QList< QPrint::ColorMode > | m_colorModes |
Definition at line 35 of file qplatformprintdevice.h.
|
explicit |
Definition at line 15 of file qplatformprintdevice.cpp.
|
virtual |
Definition at line 33 of file qplatformprintdevice.cpp.
|
static |
Definition at line 358 of file qplatformprintdevice.cpp.
Referenced by QPpdPrintDevice::defaultPageSize(), QPpdPrintDevice::loadPageSizes(), and QWindowsPrintDevice::loadPageSizes().
|
static |
Definition at line 363 of file qplatformprintdevice.cpp.
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 308 of file qplatformprintdevice.cpp.
References QPrint::GrayScale.
Referenced by QPrintDevice::defaultColorMode().
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 292 of file qplatformprintdevice.cpp.
References QPrint::DuplexNone.
Referenced by QPrintDevice::defaultDuplexMode().
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 252 of file qplatformprintdevice.cpp.
References QPrint::Auto, QByteArrayLiteral, and QCoreApplication::translate().
Referenced by QPrintDevice::defaultInputSlot(), QPpdPrintDevice::defaultInputSlot(), QCocoaPrintDevice::defaultInputSlot(), QWindowsPrintDevice::defaultInputSlot(), QPpdPrintDevice::loadInputSlots(), and QCocoaPrintDevice::loadInputSlots().
|
virtual |
Reimplemented in QPpdPrintDevice, and QCocoaPrintDevice.
Definition at line 272 of file qplatformprintdevice.cpp.
References QPrint::AutoOutputBin, output, QByteArrayLiteral, and QCoreApplication::translate().
Referenced by QPrintDevice::defaultOutputBin(), QPpdPrintDevice::defaultOutputBin(), QCocoaPrintDevice::defaultOutputBin(), QPpdPrintDevice::loadOutputBins(), QCocoaPrintDevice::loadOutputBins(), and QWindowsPrintDevice::loadOutputBins().
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 106 of file qplatformprintdevice.cpp.
Referenced by QPrintDevice::defaultPageSize().
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 236 of file qplatformprintdevice.cpp.
Referenced by QPrintDevice::defaultResolution().
|
virtual |
Definition at line 37 of file qplatformprintdevice.cpp.
References m_id.
Referenced by QPrintDevice::id(), QPpdPrintDevice::isDefault(), and QPrintDevice::operator==().
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 62 of file qplatformprintdevice.cpp.
Referenced by QPrintDevice::isDefault().
|
virtual |
Reimplemented in QPpdPrintDevice.
Definition at line 341 of file qplatformprintdevice.cpp.
References Q_UNUSED.
Referenced by QPrintDevice::isFeatureAvailable(), and QPpdPrintDevice::isFeatureAvailable().
|
virtual |
Definition at line 67 of file qplatformprintdevice.cpp.
References m_isRemote.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), and QPrintDevice::isRemote().
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 57 of file qplatformprintdevice.cpp.
Referenced by QPrintDevice::isValid().
|
virtual |
Definition at line 72 of file qplatformprintdevice.cpp.
References QMarginsF::bottom(), QPageSize::isValid(), layout, QMarginsF::left(), QPageLayout::Point, printableMargins(), QMarginsF::right(), supportedPageSize(), and QMarginsF::top().
Referenced by QPrintDevice::isValidPageLayout().
|
protectedvirtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 304 of file qplatformprintdevice.cpp.
Referenced by supportedColorModes().
|
protectedvirtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 288 of file qplatformprintdevice.cpp.
Referenced by supportedDuplexModes().
|
protectedvirtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 248 of file qplatformprintdevice.cpp.
Referenced by supportedInputSlots().
|
protectedvirtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 268 of file qplatformprintdevice.cpp.
Referenced by supportedOutputBins().
|
protectedvirtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 102 of file qplatformprintdevice.cpp.
Referenced by supportedPageSize(), supportedPageSize(), supportedPageSize(), supportedPageSize(), supportedPageSize(), and supportedPageSizes().
|
protectedvirtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 232 of file qplatformprintdevice.cpp.
Referenced by supportedResolutions().
|
virtual |
Definition at line 47 of file qplatformprintdevice.cpp.
References m_location.
Referenced by QPrintDevice::location().
|
virtual |
Definition at line 52 of file qplatformprintdevice.cpp.
References m_makeAndModel.
Referenced by QPrintDevice::makeAndModel().
|
virtual |
Reimplemented in QWindowsPrintDevice.
Definition at line 217 of file qplatformprintdevice.cpp.
References m_maximumPhysicalPageSize.
Referenced by QPrintDevice::maximumPhysicalPageSize().
|
virtual |
Reimplemented in QWindowsPrintDevice.
Definition at line 212 of file qplatformprintdevice.cpp.
References m_minimumPhysicalPageSize.
Referenced by QPrintDevice::minimumPhysicalPageSize().
|
virtual |
Definition at line 42 of file qplatformprintdevice.cpp.
References m_name.
Referenced by QWindowsPrintDevice::defaultPrintDeviceId(), and QPrintDevice::name().
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 222 of file qplatformprintdevice.cpp.
References Q_UNUSED.
Referenced by isValidPageLayout(), and QPrintDevice::printableMargins().
|
virtual |
Reimplemented in QPpdPrintDevice.
Definition at line 326 of file qplatformprintdevice.cpp.
References Q_UNUSED.
Referenced by QPrintDevice::property(), and QPpdPrintDevice::property().
|
virtual |
Reimplemented in QPpdPrintDevice.
Definition at line 333 of file qplatformprintdevice.cpp.
References Q_UNUSED.
Referenced by QPrintDevice::setProperty(), and QPpdPrintDevice::setProperty().
|
virtual |
Reimplemented in QPpdPrintDevice, QCocoaPrintDevice, and QWindowsPrintDevice.
Definition at line 87 of file qplatformprintdevice.cpp.
References QPrint::Error.
Referenced by QPrintDevice::state().
|
virtual |
Definition at line 313 of file qplatformprintdevice.cpp.
References loadColorModes(), m_colorModes, and m_haveColorModes.
Referenced by QPpdPrintDevice::defaultColorMode(), QCocoaPrintDevice::defaultColorMode(), and QPrintDevice::supportedColorModes().
|
virtual |
Definition at line 297 of file qplatformprintdevice.cpp.
References loadDuplexModes(), m_duplexModes, and m_haveDuplexModes.
Referenced by QPrintDevice::supportedDuplexModes().
|
virtual |
Definition at line 261 of file qplatformprintdevice.cpp.
References loadInputSlots(), m_haveInputSlots, and m_inputSlots.
Referenced by QWindowsPrintDevice::defaultInputSlot(), and QPrintDevice::supportedInputSlots().
|
virtual |
Definition at line 281 of file qplatformprintdevice.cpp.
References loadOutputBins(), m_haveOutputBins, and m_outputBins.
Referenced by QPrintDevice::supportedOutputBins().
Definition at line 118 of file qplatformprintdevice.cpp.
References QPageSize::Custom, QPageSize::id(), QPageSize::isValid(), loadPageSizes(), m_havePageSizes, m_pageSizes, QPageSize::name(), and supportedPageSizeMatch().
Referenced by isValidPageLayout(), QMacPrintEnginePrivate::setPageSize(), QPrintDevice::supportedPageSize(), QPrintDevice::supportedPageSize(), QPrintDevice::supportedPageSize(), QPrintDevice::supportedPageSize(), and QPrintDevice::supportedPageSize().
Definition at line 175 of file qplatformprintdevice.cpp.
References loadPageSizes(), m_havePageSizes, and supportedPageSizeMatch().
|
virtual |
Definition at line 184 of file qplatformprintdevice.cpp.
References loadPageSizes(), m_havePageSizes, and supportedPageSizeMatch().
Definition at line 162 of file qplatformprintdevice.cpp.
References loadPageSizes(), m_havePageSizes, and m_pageSizes.
|
virtual |
Definition at line 148 of file qplatformprintdevice.cpp.
References loadPageSizes(), m_havePageSizes, m_pageSizes, and supportedPageSizeMatch().
|
protected |
Definition at line 193 of file qplatformprintdevice.cpp.
References QListSpecialMethodsBase< T >::contains(), m_pageSizes, and QPageSize::sizePoints().
Referenced by supportedPageSize(), supportedPageSize(), supportedPageSize(), and supportedPageSize().
Definition at line 111 of file qplatformprintdevice.cpp.
References loadPageSizes(), m_havePageSizes, and m_pageSizes.
Referenced by QPrintDevice::supportedPageSizes().
|
virtual |
Definition at line 241 of file qplatformprintdevice.cpp.
References loadResolutions(), m_haveResolutions, and m_resolutions.
Referenced by QMacPrintEnginePrivate::initialize(), and QPrintDevice::supportedResolutions().
|
virtual |
Reimplemented in QWindowsPrintDevice.
Definition at line 97 of file qplatformprintdevice.cpp.
References m_supportsCollateCopies.
Referenced by QPrintDevice::supportsCollateCopies().
|
virtual |
Reimplemented in QWindowsPrintDevice.
Definition at line 207 of file qplatformprintdevice.cpp.
References m_supportsCustomPageSizes.
Referenced by QPrintDevice::supportsCustomPageSizes().
|
virtual |
Reimplemented in QWindowsPrintDevice.
Definition at line 92 of file qplatformprintdevice.cpp.
References m_supportsMultipleCopies.
Referenced by QPrintDevice::supportsMultipleCopies().
|
mutableprotected |
Definition at line 145 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::defaultColorMode(), QPpdPrintDevice::loadColorModes(), QCocoaPrintDevice::loadColorModes(), QWindowsPrintDevice::loadColorModes(), and supportedColorModes().
|
mutableprotected |
Definition at line 142 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QPpdPrintDevice::loadDuplexModes(), QCocoaPrintDevice::loadDuplexModes(), QWindowsPrintDevice::loadDuplexModes(), and supportedDuplexModes().
|
mutableprotected |
Definition at line 144 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::defaultColorMode(), QPpdPrintDevice::loadColorModes(), QCocoaPrintDevice::loadColorModes(), QWindowsPrintDevice::loadColorModes(), and supportedColorModes().
|
mutableprotected |
Definition at line 141 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QPpdPrintDevice::loadDuplexModes(), QCocoaPrintDevice::loadDuplexModes(), QWindowsPrintDevice::loadDuplexModes(), and supportedDuplexModes().
|
mutableprotected |
Definition at line 135 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QPpdPrintDevice::loadInputSlots(), QCocoaPrintDevice::loadInputSlots(), QWindowsPrintDevice::loadInputSlots(), and supportedInputSlots().
|
mutableprotected |
Definition at line 138 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QPpdPrintDevice::loadOutputBins(), QCocoaPrintDevice::loadOutputBins(), QWindowsPrintDevice::loadOutputBins(), and supportedOutputBins().
|
mutableprotected |
Definition at line 124 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::defaultPageSize(), QPpdPrintDevice::loadPageSizes(), QCocoaPrintDevice::loadPageSizes(), QWindowsPrintDevice::loadPageSizes(), QCocoaPrintDevice::macPaper(), QPpdPrintDevice::printableMargins(), QCocoaPrintDevice::printableMargins(), supportedPageSize(), supportedPageSize(), supportedPageSize(), supportedPageSize(), supportedPageSize(), and supportedPageSizes().
|
mutableprotected |
Definition at line 132 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QCocoaPrintDevice::defaultResolution(), QPpdPrintDevice::loadResolutions(), QCocoaPrintDevice::loadResolutions(), QWindowsPrintDevice::loadResolutions(), and supportedResolutions().
|
protected |
Definition at line 114 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::defaultColorMode(), QWindowsPrintDevice::defaultDuplexMode(), QWindowsPrintDevice::defaultInputSlot(), QWindowsPrintDevice::defaultPageSize(), QWindowsPrintDevice::defaultResolution(), id(), QWindowsPrintDevice::isDefault(), and QWindowsPrintDevice::printableMargins().
|
mutableprotected |
Definition at line 136 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QPpdPrintDevice::loadInputSlots(), QCocoaPrintDevice::loadInputSlots(), QWindowsPrintDevice::loadInputSlots(), and supportedInputSlots().
|
protected |
Definition at line 119 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), and isRemote().
|
protected |
Definition at line 116 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), and location().
|
protected |
Definition at line 117 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), and makeAndModel().
|
mutableprotected |
Definition at line 130 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::loadMinMaxPageSizes(), maximumPhysicalPageSize(), and QWindowsPrintDevice::maximumPhysicalPageSize().
|
mutableprotected |
Definition at line 129 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::loadMinMaxPageSizes(), minimumPhysicalPageSize(), and QWindowsPrintDevice::minimumPhysicalPageSize().
|
protected |
Definition at line 115 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), and name().
|
mutableprotected |
Definition at line 139 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QPpdPrintDevice::loadOutputBins(), QCocoaPrintDevice::loadOutputBins(), QWindowsPrintDevice::loadOutputBins(), and supportedOutputBins().
Definition at line 125 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::defaultPageSize(), QPpdPrintDevice::loadPageSizes(), QCocoaPrintDevice::loadPageSizes(), QWindowsPrintDevice::loadPageSizes(), supportedPageSize(), supportedPageSize(), supportedPageSize(), supportedPageSizeMatch(), and supportedPageSizes().
|
mutableprotected |
Definition at line 133 of file qplatformprintdevice.h.
Referenced by QWindowsPrintDevice::QWindowsPrintDevice(), QCocoaPrintDevice::defaultResolution(), QPpdPrintDevice::loadResolutions(), QCocoaPrintDevice::loadResolutions(), QWindowsPrintDevice::loadResolutions(), and supportedResolutions().
|
mutableprotected |
Definition at line 122 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::loadCopiesSupport(), QWindowsPrintDevice::loadMinMaxPageSizes(), supportsCollateCopies(), and QWindowsPrintDevice::supportsCollateCopies().
|
mutableprotected |
Definition at line 127 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::loadMinMaxPageSizes(), supportsCustomPageSizes(), and QWindowsPrintDevice::supportsCustomPageSizes().
|
mutableprotected |
Definition at line 121 of file qplatformprintdevice.h.
Referenced by QCocoaPrintDevice::QCocoaPrintDevice(), QPpdPrintDevice::QPpdPrintDevice(), QWindowsPrintDevice::QWindowsPrintDevice(), QWindowsPrintDevice::loadCopiesSupport(), QWindowsPrintDevice::loadMinMaxPageSizes(), supportsMultipleCopies(), and QWindowsPrintDevice::supportsMultipleCopies().