![]() |
Qt 6.x
The Qt SDK
|
#include <qprintdevice_p.h>
Public Types | |
enum | PrintDevicePropertyKey { PDPK_CustomBase = 0xff00 } |
Friends | |
class | QPlatformPrinterSupport |
class | QPlatformPrintDevice |
Definition at line 33 of file qprintdevice_p.h.
Enumerator | |
---|---|
PDPK_CustomBase |
Definition at line 96 of file qprintdevice_p.h.
QT_BEGIN_NAMESPACE QPrintDevice::QPrintDevice | ( | ) |
Definition at line 13 of file qprintdevice.cpp.
QPrintDevice::QPrintDevice | ( | const QString & | id | ) |
Definition at line 18 of file qprintdevice.cpp.
QPrintDevice::QPrintDevice | ( | const QPrintDevice & | other | ) |
Definition at line 28 of file qprintdevice.cpp.
QPrintDevice::~QPrintDevice | ( | ) |
Definition at line 33 of file qprintdevice.cpp.
QPrint::ColorMode QPrintDevice::defaultColorMode | ( | ) | const |
Definition at line 202 of file qprintdevice.cpp.
References QPlatformPrintDevice::defaultColorMode(), QPrint::GrayScale, and isValid().
Referenced by format().
QPrint::DuplexMode QPrintDevice::defaultDuplexMode | ( | ) | const |
Definition at line 192 of file qprintdevice.cpp.
References QPlatformPrintDevice::defaultDuplexMode(), QPrint::DuplexNone, and isValid().
Referenced by format().
QPrint::InputSlot QPrintDevice::defaultInputSlot | ( | ) | const |
Definition at line 172 of file qprintdevice.cpp.
References QPlatformPrintDevice::defaultInputSlot(), and isValid().
QPrint::OutputBin QPrintDevice::defaultOutputBin | ( | ) | const |
Definition at line 182 of file qprintdevice.cpp.
References QPlatformPrintDevice::defaultOutputBin(), and isValid().
QPageSize QPrintDevice::defaultPageSize | ( | ) | const |
Definition at line 105 of file qprintdevice.cpp.
References QPlatformPrintDevice::defaultPageSize(), and isValid().
Referenced by format().
int QPrintDevice::defaultResolution | ( | ) | const |
Definition at line 162 of file qprintdevice.cpp.
References QPlatformPrintDevice::defaultResolution(), and isValid().
Referenced by format().
Definition at line 235 of file qprintdevice.cpp.
References debug, defaultColorMode(), defaultDuplexMode(), defaultPageSize(), defaultResolution(), QtDebugUtils::formatQSize(), id(), isDefault(), QString::isEmpty(), QList< T >::isEmpty(), isRemote(), isValid(), location(), makeAndModel(), maximumPhysicalPageSize(), mimeType, minimumPhysicalPageSize(), name(), state(), and supportsCustomPageSizes().
QString QPrintDevice::id | ( | ) | const |
Definition at line 50 of file qprintdevice.cpp.
References QPlatformPrintDevice::id(), and isValid().
Referenced by format(), and QWin32PrintEnginePrivate::initialize().
bool QPrintDevice::isDefault | ( | ) | const |
Definition at line 75 of file qprintdevice.cpp.
References QPlatformPrintDevice::isDefault(), and isValid().
Referenced by format().
bool QPrintDevice::isFeatureAvailable | ( | PrintDevicePropertyKey | key, |
const QVariant & | params | ||
) | const |
Definition at line 222 of file qprintdevice.cpp.
References QPlatformPrintDevice::isFeatureAvailable(), and isValid().
bool QPrintDevice::isRemote | ( | ) | const |
Definition at line 80 of file qprintdevice.cpp.
References QPlatformPrintDevice::isRemote(), and isValid().
Referenced by format().
bool QPrintDevice::isValid | ( | ) | const |
Definition at line 70 of file qprintdevice.cpp.
References QPlatformPrintDevice::isValid().
Referenced by defaultColorMode(), defaultDuplexMode(), defaultInputSlot(), defaultOutputBin(), defaultPageSize(), defaultResolution(), format(), id(), QWin32PrintEnginePrivate::initialize(), isDefault(), isFeatureAvailable(), isRemote(), isValidPageLayout(), location(), makeAndModel(), maximumPhysicalPageSize(), minimumPhysicalPageSize(), name(), printableMargins(), property(), setProperty(), QWin32PrintEngine::setProperty(), state(), supportedColorModes(), supportedDuplexModes(), supportedInputSlots(), supportedOutputBins(), supportedPageSize(), supportedPageSize(), supportedPageSize(), supportedPageSize(), supportedPageSize(), supportedPageSizes(), supportedResolutions(), supportsCollateCopies(), supportsCustomPageSizes(), and supportsMultipleCopies().
bool QPrintDevice::isValidPageLayout | ( | const QPageLayout & | layout, |
int | resolution | ||
) | const |
Definition at line 90 of file qprintdevice.cpp.
References isValid(), QPlatformPrintDevice::isValidPageLayout(), and layout.
QString QPrintDevice::location | ( | ) | const |
Definition at line 60 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::location().
Referenced by format().
QString QPrintDevice::makeAndModel | ( | ) | const |
Definition at line 65 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::makeAndModel().
Referenced by format().
QSize QPrintDevice::maximumPhysicalPageSize | ( | ) | const |
Definition at line 150 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::maximumPhysicalPageSize().
Referenced by format().
QSize QPrintDevice::minimumPhysicalPageSize | ( | ) | const |
Definition at line 145 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::minimumPhysicalPageSize().
Referenced by format().
QString QPrintDevice::name | ( | ) | const |
Definition at line 55 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::name().
Referenced by format().
QPrintDevice & QPrintDevice::operator= | ( | const QPrintDevice & | other | ) |
Definition at line 37 of file qprintdevice.cpp.
References other().
|
inline |
Definition at line 43 of file qprintdevice_p.h.
References other(), and swap().
bool QPrintDevice::operator== | ( | const QPrintDevice & | other | ) | const |
Definition at line 43 of file qprintdevice.cpp.
References QPlatformPrintDevice::id(), and other().
QMarginsF QPrintDevice::printableMargins | ( | const QPageSize & | pageSize, |
QPageLayout::Orientation | orientation, | ||
int | resolution | ||
) | const |
Definition at line 155 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::printableMargins().
Referenced by QWin32PrintEnginePrivate::setPageSize().
QVariant QPrintDevice::property | ( | PrintDevicePropertyKey | key | ) | const |
Definition at line 212 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::property().
Referenced by QCUPSSupport::findPpdOption().
bool QPrintDevice::setProperty | ( | PrintDevicePropertyKey | key, |
const QVariant & | value | ||
) |
Definition at line 217 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::setProperty().
QPrint::DeviceState QPrintDevice::state | ( | ) | const |
Definition at line 85 of file qprintdevice.cpp.
References QPrint::Error, isValid(), and QPlatformPrintDevice::state().
Referenced by format().
QList< QPrint::ColorMode > QPrintDevice::supportedColorModes | ( | ) | const |
Definition at line 207 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedColorModes().
QList< QPrint::DuplexMode > QPrintDevice::supportedDuplexModes | ( | ) | const |
Definition at line 197 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedDuplexModes().
QList< QPrint::InputSlot > QPrintDevice::supportedInputSlots | ( | ) | const |
Definition at line 177 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedInputSlots().
QList< QPrint::OutputBin > QPrintDevice::supportedOutputBins | ( | ) | const |
Definition at line 187 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedOutputBins().
Definition at line 115 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedPageSize().
Referenced by QWin32PrintEnginePrivate::setPageSize().
Definition at line 130 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedPageSize().
QPageSize QPrintDevice::supportedPageSize | ( | const QSizeF & | size, |
QPageSize::Unit | units = QPageSize::Point |
||
) | const |
Definition at line 135 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedPageSize().
Definition at line 125 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedPageSize().
QPageSize QPrintDevice::supportedPageSize | ( | QPageSize::PageSizeId | pageSizeId | ) | const |
Definition at line 120 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedPageSize().
Definition at line 110 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedPageSizes().
QList< int > QPrintDevice::supportedResolutions | ( | ) | const |
Definition at line 167 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportedResolutions().
bool QPrintDevice::supportsCollateCopies | ( | ) | const |
Definition at line 100 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportsCollateCopies().
bool QPrintDevice::supportsCustomPageSizes | ( | ) | const |
Definition at line 140 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportsCustomPageSizes().
Referenced by format().
bool QPrintDevice::supportsMultipleCopies | ( | ) | const |
Definition at line 95 of file qprintdevice.cpp.
References isValid(), and QPlatformPrintDevice::supportsMultipleCopies().
|
inline |
|
friend |
Definition at line 114 of file qprintdevice_p.h.
|
friend |
Definition at line 113 of file qprintdevice_p.h.