Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWindowsPrintDevice Class Reference

#include <qwindowsprintdevice_p.h>

Inheritance diagram for QWindowsPrintDevice:
Collaboration diagram for QWindowsPrintDevice:

Public Member Functions

 QWindowsPrintDevice ()
 QWindowsPrintDevice (const QString &id)
virtual ~QWindowsPrintDevice ()
bool isValid () const override
bool isDefault () const override
QPrint::DeviceState state () const override
QPageSize defaultPageSize () const override
QMarginsF printableMargins (const QPageSize &pageSize, QPageLayout::Orientation orientation, int resolution) const override
int defaultResolution () const override
QPrint::InputSlot defaultInputSlot () const override
QPrint::DuplexMode defaultDuplexMode () const override
QPrint::ColorMode defaultColorMode () const override
bool supportsCollateCopies () const override
bool supportsMultipleCopies () const override
bool supportsCustomPageSizes () const override
QSize minimumPhysicalPageSize () const override
QSize maximumPhysicalPageSize () const override
Public Member Functions inherited from QPlatformPrintDevice
 QPlatformPrintDevice (const QString &id=QString())
virtual ~QPlatformPrintDevice ()
virtual QString id () const
virtual QString name () const
virtual QString location () const
virtual QString makeAndModel () const
virtual bool isRemote () const
virtual bool isValidPageLayout (const QPageLayout &layout, int resolution) const
virtual QList< QPageSizesupportedPageSizes () const
virtual QPageSize supportedPageSize (const QPageSize &pageSize) const
virtual QPageSize supportedPageSize (QPageSize::PageSizeId pageSizeId) const
virtual QPageSize supportedPageSize (const QString &pageName) const
virtual QPageSize supportedPageSize (const QSize &pointSize) const
virtual QPageSize supportedPageSize (const QSizeF &size, QPageSize::Unit units) const
virtual QList< int > supportedResolutions () const
virtual QList< QPrint::InputSlotsupportedInputSlots () const
virtual QPrint::OutputBin defaultOutputBin () const
virtual QList< QPrint::OutputBinsupportedOutputBins () const
virtual QList< QPrint::DuplexModesupportedDuplexModes () const
virtual QList< QPrint::ColorModesupportedColorModes () const
virtual QVariant property (QPrintDevice::PrintDevicePropertyKey key) const
virtual bool setProperty (QPrintDevice::PrintDevicePropertyKey key, const QVariant &value)
virtual bool isFeatureAvailable (QPrintDevice::PrintDevicePropertyKey key, const QVariant &params) const

Static Public Member Functions

static QStringList availablePrintDeviceIds ()
static QString defaultPrintDeviceId ()
Static Public Member Functions inherited from QPlatformPrintDevice
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

void loadPageSizes () const override
void loadResolutions () const override
void loadInputSlots () const override
void loadOutputBins () const override
void loadDuplexModes () const override
void loadColorModes () const override
void loadCopiesSupport () const
void loadMinMaxPageSizes () const
Protected Member Functions inherited from QPlatformPrintDevice
QPageSize supportedPageSizeMatch (const QPageSize &pageSize) const

Additional Inherited Members

Protected Attributes inherited from QPlatformPrintDevice
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< QPageSizem_pageSizes
bool m_supportsCustomPageSizes
QSize m_minimumPhysicalPageSize
QSize m_maximumPhysicalPageSize
bool m_haveResolutions
QList< int > m_resolutions
bool m_haveInputSlots
QList< QPrint::InputSlotm_inputSlots
bool m_haveOutputBins
QList< QPrint::OutputBinm_outputBins
bool m_haveDuplexModes
QList< QPrint::DuplexModem_duplexModes
bool m_haveColorModes
QList< QPrint::ColorModem_colorModes

Detailed Description

Definition at line 65 of file qwindowsprintdevice_p.h.

Constructor & Destructor Documentation

◆ QWindowsPrintDevice() [1/2]

QWindowsPrintDevice::QWindowsPrintDevice ( )

Definition at line 48 of file qwindowsprintdevice.cpp.

◆ QWindowsPrintDevice() [2/2]

QWindowsPrintDevice::QWindowsPrintDevice ( const QString & id)
explicit

Definition at line 54 of file qwindowsprintdevice.cpp.

◆ ~QWindowsPrintDevice()

QWindowsPrintDevice::~QWindowsPrintDevice ( )
virtual

Definition at line 108 of file qwindowsprintdevice.cpp.

Member Function Documentation

◆ availablePrintDeviceIds()

QStringList QWindowsPrintDevice::availablePrintDeviceIds ( )
static

Definition at line 427 of file qwindowsprintdevice.cpp.

◆ defaultColorMode()

QPrint::ColorMode QWindowsPrintDevice::defaultColorMode ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 408 of file qwindowsprintdevice.cpp.

◆ defaultDuplexMode()

QPrint::DuplexMode QWindowsPrintDevice::defaultDuplexMode ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 378 of file qwindowsprintdevice.cpp.

◆ defaultInputSlot()

QPrint::InputSlot QWindowsPrintDevice::defaultInputSlot ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 330 of file qwindowsprintdevice.cpp.

◆ defaultPageSize()

QPageSize QWindowsPrintDevice::defaultPageSize ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 185 of file qwindowsprintdevice.cpp.

◆ defaultPrintDeviceId()

QString QWindowsPrintDevice::defaultPrintDeviceId ( )
static

Definition at line 446 of file qwindowsprintdevice.cpp.

◆ defaultResolution()

int QWindowsPrintDevice::defaultResolution ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 281 of file qwindowsprintdevice.cpp.

◆ isDefault()

bool QWindowsPrintDevice::isDefault ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 118 of file qwindowsprintdevice.cpp.

◆ isValid()

bool QWindowsPrintDevice::isValid ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 113 of file qwindowsprintdevice.cpp.

◆ loadColorModes()

void QWindowsPrintDevice::loadColorModes ( ) const
overrideprotectedvirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 396 of file qwindowsprintdevice.cpp.

◆ loadCopiesSupport()

void QWindowsPrintDevice::loadCopiesSupport ( ) const
protected

Definition at line 457 of file qwindowsprintdevice.cpp.

◆ loadDuplexModes()

void QWindowsPrintDevice::loadDuplexModes ( ) const
overrideprotectedvirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 362 of file qwindowsprintdevice.cpp.

◆ loadInputSlots()

void QWindowsPrintDevice::loadInputSlots ( ) const
overrideprotectedvirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 299 of file qwindowsprintdevice.cpp.

◆ loadMinMaxPageSizes()

void QWindowsPrintDevice::loadMinMaxPageSizes ( ) const
protected

Definition at line 504 of file qwindowsprintdevice.cpp.

◆ loadOutputBins()

void QWindowsPrintDevice::loadOutputBins ( ) const
overrideprotectedvirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 353 of file qwindowsprintdevice.cpp.

◆ loadPageSizes()

void QWindowsPrintDevice::loadPageSizes ( ) const
overrideprotectedvirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 149 of file qwindowsprintdevice.cpp.

◆ loadResolutions()

void QWindowsPrintDevice::loadResolutions ( ) const
overrideprotectedvirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 263 of file qwindowsprintdevice.cpp.

◆ maximumPhysicalPageSize()

QSize QWindowsPrintDevice::maximumPhysicalPageSize ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 497 of file qwindowsprintdevice.cpp.

◆ minimumPhysicalPageSize()

QSize QWindowsPrintDevice::minimumPhysicalPageSize ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 490 of file qwindowsprintdevice.cpp.

◆ printableMargins()

QMarginsF QWindowsPrintDevice::printableMargins ( const QPageSize & pageSize,
QPageLayout::Orientation orientation,
int resolution ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 210 of file qwindowsprintdevice.cpp.

◆ state()

QPrint::DeviceState QWindowsPrintDevice::state ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 123 of file qwindowsprintdevice.cpp.

◆ supportsCollateCopies()

bool QWindowsPrintDevice::supportsCollateCopies ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 469 of file qwindowsprintdevice.cpp.

◆ supportsCustomPageSizes()

bool QWindowsPrintDevice::supportsCustomPageSizes ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 483 of file qwindowsprintdevice.cpp.

◆ supportsMultipleCopies()

bool QWindowsPrintDevice::supportsMultipleCopies ( ) const
overridevirtual

Reimplemented from QPlatformPrintDevice.

Definition at line 476 of file qwindowsprintdevice.cpp.


The documentation for this class was generated from the following files: