![]() |
Qt 6.x
The Qt SDK
|
#include <qppdprintdevice.h>
Protected Member Functions | |
void | loadPageSizes () const override |
void | loadResolutions () const override |
void | loadInputSlots () const override |
void | loadOutputBins () const override |
void | loadDuplexModes () const override |
void | loadColorModes () const override |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static QPageSize | createPageSize (const QString &key, const QSize &size, const QString &localizedName) |
static QPageSize | createPageSize (int windowsId, const QSize &size, const QString &localizedName) |
![]() | |
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 29 of file qppdprintdevice.h.
|
explicit |
Definition at line 23 of file qppdprintdevice.cpp.
References QByteArray::at(), QByteArray::constData(), QByteArray::isNull(), QPlatformPrintDevice::m_isRemote, QPlatformPrintDevice::m_location, QPlatformPrintDevice::m_makeAndModel, QPlatformPrintDevice::m_maximumPhysicalPageSize, QPlatformPrintDevice::m_minimumPhysicalPageSize, QPlatformPrintDevice::m_name, QPlatformPrintDevice::m_supportsCollateCopies, QPlatformPrintDevice::m_supportsCustomPageSizes, QPlatformPrintDevice::m_supportsMultipleCopies, and QStringView::split().
|
virtual |
Definition at line 74 of file qppdprintdevice.cpp.
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 396 of file qppdprintdevice.cpp.
References QPrint::Color, contains(), QPrint::GrayScale, qstrcmp(), and QPlatformPrintDevice::supportedColorModes().
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 366 of file qppdprintdevice.cpp.
References QPrint::DuplexNone.
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 276 of file qppdprintdevice.cpp.
References QPlatformPrintDevice::defaultInputSlot().
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 317 of file qppdprintdevice.cpp.
References QPlatformPrintDevice::defaultOutputBin().
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 140 of file qppdprintdevice.cpp.
References QPlatformPrintDevice::createPageSize(), QString::fromUtf8(), and qRound().
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 214 of file qppdprintdevice.cpp.
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 89 of file qppdprintdevice.cpp.
References QPlatformPrintDevice::id(), and QCupsPrinterSupport::staticDefaultPrintDeviceId().
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 440 of file qppdprintdevice.cpp.
References QPlatformPrintDevice::isFeatureAvailable(), and PDPK_PpdChoiceIsInstallableConflict.
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 84 of file qppdprintdevice.cpp.
|
overrideprotectedvirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 382 of file qppdprintdevice.cpp.
References QList< T >::append(), QList< T >::clear(), QPrint::Color, QPrint::GrayScale, QPlatformPrintDevice::m_colorModes, and QPlatformPrintDevice::m_haveColorModes.
|
overrideprotectedvirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 334 of file qppdprintdevice.cpp.
References QList< T >::append(), QList< T >::clear(), QListSpecialMethodsBase< T >::contains(), QPrint::DuplexAuto, QPrint::DuplexLongSide, QPrint::DuplexNone, QPrint::DuplexShortSide, i, QPlatformPrintDevice::m_duplexModes, QPlatformPrintDevice::m_haveDuplexModes, QList< T >::reserve(), and QList< T >::size().
|
overrideprotectedvirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 248 of file qppdprintdevice.cpp.
References QList< T >::append(), QList< T >::clear(), QPlatformPrintDevice::defaultInputSlot(), i, QPlatformPrintDevice::m_haveInputSlots, QPlatformPrintDevice::m_inputSlots, QList< T >::reserve(), and QList< T >::size().
|
overrideprotectedvirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 293 of file qppdprintdevice.cpp.
References QList< T >::append(), QList< T >::clear(), QPlatformPrintDevice::defaultOutputBin(), i, QPlatformPrintDevice::m_haveOutputBins, QPlatformPrintDevice::m_outputBins, QList< T >::reserve(), and QList< T >::size().
|
overrideprotectedvirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 112 of file qppdprintdevice.cpp.
References QList< T >::append(), QList< T >::clear(), QHash< Key, T >::clear(), QPlatformPrintDevice::createPageSize(), QString::fromUtf8(), i, QHash< Key, T >::insert(), QPageSize::isValid(), QPlatformPrintDevice::m_havePageSizes, QPlatformPrintDevice::m_pageSizes, and qRound().
Referenced by printableMargins().
|
overrideprotectedvirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 170 of file qppdprintdevice.cpp.
References QList< T >::append(), QList< T >::clear(), i, QPlatformPrintDevice::m_haveResolutions, QPlatformPrintDevice::m_resolutions, and QList< T >::size().
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 156 of file qppdprintdevice.cpp.
References QHash< Key, T >::contains(), QPageSize::key(), loadPageSizes(), QPlatformPrintDevice::m_havePageSizes, Q_UNUSED, and QHash< Key, T >::value().
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 411 of file qppdprintdevice.cpp.
References PDPK_CupsJobBilling, PDPK_CupsJobHoldUntil, PDPK_CupsJobPriority, PDPK_CupsJobSheets, PDPK_PpdFile, QPlatformPrintDevice::property(), and QStringLiteral.
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 427 of file qppdprintdevice.cpp.
References PDPK_PpdOption, and QPlatformPrintDevice::setProperty().
|
overridevirtual |
Reimplemented from QPlatformPrintDevice.
Definition at line 99 of file qppdprintdevice.cpp.
References QPrint::Active, QPrint::Error, QPrint::Idle, QStringLiteral, state(), and QString::toInt().
Referenced by state().