![]() |
Qt 6.x
The Qt SDK
|
#include <qprintengine_mac_p.h>
Inheritance diagram for QMacPrintEnginePrivate:
Collaboration diagram for QMacPrintEnginePrivate:Public Member Functions | |
| QMacPrintEnginePrivate () | |
| ~QMacPrintEnginePrivate () | |
| void | initialize () |
| void | releaseSession () |
| bool | newPage_helper () |
| void | setPageSize (const QPageSize &pageSize) |
| bool | isPrintSessionInitialized () const |
| PMPageFormat | format () const |
| PMPrintSession | session () const |
| PMPrintSettings | settings () const |
| QPaintEngine * | aggregateEngine () override |
| Qt::HANDLE | nativeHandle () override |
Public Member Functions inherited from QPaintEnginePrivate | |
| QPaintEnginePrivate () | |
| virtual | ~QPaintEnginePrivate () |
| void | updateSystemClip () |
| void | setSystemTransform (const QTransform &xform) |
| void | setSystemViewport (const QRegion ®ion) |
| void | setSystemTransformAndViewport (const QTransform &xform, const QRegion ®ion) |
| virtual void | systemStateChanged () |
| void | drawBoxTextItem (const QPointF &p, const QTextItemInt &ti) |
| virtual QPaintEngine * | aggregateEngine () |
| virtual Qt::HANDLE | nativeHandle () |
Public Attributes | |
| QPrinter::PrinterMode | mode |
| QPrinter::PrinterState | state |
| QSharedPointer< QCocoaPrintDevice > | m_printDevice |
| QPageLayout | m_pageLayout |
| NSPrintInfo * | printInfo |
| PMResolution | resolution |
| QString | outputFilename |
| QString | m_creator |
| QPaintEngine * | paintEngine |
| QHash< QMacPrintEngine::PrintEnginePropertyKey, QVariant > | valueCache |
| uint | embedFonts |
Public Attributes inherited from QPaintEnginePrivate | |
| QPaintDevice * | pdev |
| QPaintEngine * | q_ptr |
| QRegion | baseSystemClip |
| QRegion | systemClip |
| QRect | systemRect |
| QRegion | systemViewport |
| QTransform | systemTransform |
| QPaintDevice * | currentClipDevice |
| uint | hasSystemTransform: 1 |
| uint | hasSystemViewport: 1 |
Additional Inherited Members | |
Static Public Member Functions inherited from QPaintEnginePrivate | |
| static QPaintEnginePrivate * | get (QPaintEngine *paintEngine) |
Definition at line 81 of file qprintengine_mac_p.h.
|
inline |
Definition at line 97 of file qprintengine_mac_p.h.
| QMacPrintEnginePrivate::~QMacPrintEnginePrivate | ( | ) |
Definition at line 111 of file qprintengine_mac.mm.
References paintEngine, printInfo, and release().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QPaintEnginePrivate.
Definition at line 115 of file qprintengine_mac_p.h.
References paintEngine.
|
inline |
Definition at line 111 of file qprintengine_mac_p.h.
References printInfo.
Referenced by newPage_helper(), and setPageSize().
Here is the caller graph for this function:| void QMacPrintEnginePrivate::initialize | ( | ) |
Definition at line 204 of file qprintengine_mac.mm.
References QList< T >::begin(), QHash< Key, T >::constBegin(), QHash< Key, T >::constEnd(), QList< T >::count(), dictionary, QList< T >::end(), QList< T >::first(), QPaintEngine::gccaps, QPrinter::HighResolution, QList< T >::isEmpty(), QHash< Key, T >::const_iterator::key(), QList< T >::last(), m_pageLayout, m_printDevice, QPageLayout::pageSize(), paintEngine, pool, printInfo, Q_ASSERT, qt_defaultDpi(), resolution, QPrinter::ScreenResolution, setPageSize(), QPlatformPrintDevice::supportedResolutions(), QHash< Key, T >::const_iterator::value(), and valueCache.
Here is the call graph for this function:
|
inline |
Definition at line 106 of file qprintengine_mac_p.h.
References printInfo.
|
inlineoverridevirtual |
Reimplemented from QPaintEnginePrivate.
Definition at line 116 of file qprintengine_mac_p.h.
| bool QMacPrintEnginePrivate::newPage_helper | ( | ) |
Definition at line 247 of file qprintengine_mac.mm.
References QPrinter::Active, QPaintEngine::AllDirty, QPaintEngine::DirtyClipEnabled, QPaintEngine::DirtyClipPath, QPaintEngine::DirtyClipRegion, QPaintEngineState::dirtyFlags, QPrinter::Error, format(), QPageLayout::FullPageMode, QPageLayout::fullRectPixels(), QPainter::hasClipping(), QRect::height(), m_pageLayout, QPageLayout::mode(), page, paintEngine, QPaintEngine::painter(), QPageLayout::paintRectPixels(), Q_ASSERT, qWarning, resolution, session(), QPaintEngine::state, state, QPaintEngine::syncState(), QRect::x(), and QRect::y().
Here is the call graph for this function:| void QMacPrintEnginePrivate::releaseSession | ( | ) |
Definition at line 239 of file qprintengine_mac.mm.
References printInfo, release(), and session().
Here is the call graph for this function:
|
inline |
Definition at line 112 of file qprintengine_mac_p.h.
References printInfo.
Referenced by newPage_helper(), releaseSession(), and setPageSize().
Here is the caller graph for this function:Definition at line 302 of file qprintengine_mac.mm.
References format(), QPageSize::isValid(), QPageLayout::Landscape, m_pageLayout, m_printDevice, QCocoaPrintDevice::macPaper(), QPageLayout::orientation(), QPageLayout::Point, QCocoaPrintDevice::printableMargins(), qt_convertMargins(), qWarning, resolution, session(), QPageLayout::setPageSize(), QPlatformPrintDevice::supportedPageSize(), and QPageLayout::units().
Referenced by initialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 113 of file qprintengine_mac_p.h.
References printInfo.
| uint QMacPrintEnginePrivate::embedFonts |
Definition at line 95 of file qprintengine_mac_p.h.
| QString QMacPrintEnginePrivate::m_creator |
Definition at line 92 of file qprintengine_mac_p.h.
| QPageLayout QMacPrintEnginePrivate::m_pageLayout |
Definition at line 88 of file qprintengine_mac_p.h.
Referenced by initialize(), newPage_helper(), and setPageSize().
| QSharedPointer<QCocoaPrintDevice> QMacPrintEnginePrivate::m_printDevice |
Definition at line 87 of file qprintengine_mac_p.h.
Referenced by initialize(), and setPageSize().
| QPrinter::PrinterMode QMacPrintEnginePrivate::mode |
Definition at line 85 of file qprintengine_mac_p.h.
| QString QMacPrintEnginePrivate::outputFilename |
Definition at line 91 of file qprintengine_mac_p.h.
| QPaintEngine* QMacPrintEnginePrivate::paintEngine |
Definition at line 93 of file qprintengine_mac_p.h.
Referenced by ~QMacPrintEnginePrivate(), aggregateEngine(), initialize(), and newPage_helper().
| NSPrintInfo* QMacPrintEnginePrivate::printInfo |
Definition at line 89 of file qprintengine_mac_p.h.
Referenced by ~QMacPrintEnginePrivate(), format(), initialize(), isPrintSessionInitialized(), releaseSession(), session(), and settings().
| PMResolution QMacPrintEnginePrivate::resolution |
Definition at line 90 of file qprintengine_mac_p.h.
Referenced by initialize(), newPage_helper(), and setPageSize().
| QPrinter::PrinterState QMacPrintEnginePrivate::state |
Definition at line 86 of file qprintengine_mac_p.h.
Referenced by newPage_helper().
| QHash<QMacPrintEngine::PrintEnginePropertyKey, QVariant> QMacPrintEnginePrivate::valueCache |
Definition at line 94 of file qprintengine_mac_p.h.
Referenced by initialize().