![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QPrinterPagedPaintDevicePrivate (QPrinter *p) | |
virtual | ~QPrinterPagedPaintDevicePrivate () |
bool | setPageLayout (const QPageLayout &newPageLayout) override |
bool | setPageSize (const QPageSize &pageSize) override |
bool | setPageOrientation (QPageLayout::Orientation orientation) override |
bool | setPageMargins (const QMarginsF &margins, QPageLayout::Unit units) override |
QPageLayout | pageLayout () const override |
![]() | |
QPagedPaintDevicePrivate () | |
virtual | ~QPagedPaintDevicePrivate () |
virtual bool | setPageLayout (const QPageLayout &newPageLayout)=0 |
virtual bool | setPageSize (const QPageSize &pageSize)=0 |
virtual bool | setPageOrientation (QPageLayout::Orientation orientation)=0 |
virtual bool | setPageMargins (const QMarginsF &margins, QPageLayout::Unit units)=0 |
virtual QPageLayout | pageLayout () const =0 |
Public Attributes | |
QPrinter * | m_printer |
![]() | |
QPageRanges | pageRanges |
bool | pageOrderAscending |
bool | printSelectionOnly |
Additional Inherited Members | |
![]() | |
static QPagedPaintDevicePrivate * | get (QPagedPaintDevice *pd) |
Definition at line 158 of file qprinter.cpp.
|
inline |
Definition at line 161 of file qprinter.cpp.
|
inlinevirtual |
Definition at line 165 of file qprinter.cpp.
|
inlineoverridevirtual |
Implements QPagedPaintDevicePrivate.
Definition at line 222 of file qprinter.cpp.
References QPrinterPrivate::get(), m_printer, QPrintEngine::PPK_QPageLayout, QPrinterPrivate::printEngine, and QPrintEngine::property().
Referenced by setPageLayout(), setPageMargins(), setPageOrientation(), and setPageSize().
|
inlineoverridevirtual |
Implements QPagedPaintDevicePrivate.
Definition at line 168 of file qprinter.cpp.
References QPrinter::Active, QVariant::fromValue(), QPrinterPrivate::get(), QPageLayout::isEquivalentTo(), m_printer, pageLayout(), QPrinterPrivate::paintEngine, QPaintEngine::Pdf, QPrintEngine::PPK_QPageLayout, QPrinterPrivate::printEngine, QPrintEngine::printerState(), qWarning, QPrinterPrivate::setProperty(), and QPaintEngine::type().
|
inlineoverridevirtual |
Implements QPagedPaintDevicePrivate.
Definition at line 211 of file qprinter.cpp.
References QVariant::fromValue(), QPrinterPrivate::get(), m_printer, QPageLayout::margins(), pageLayout(), QPrintEngine::PPK_QPageMargins, qMakePair(), QPrinterPrivate::setProperty(), and QPageLayout::units().
|
inlineoverridevirtual |
Implements QPagedPaintDevicePrivate.
Definition at line 201 of file qprinter.cpp.
References QPrinterPrivate::get(), m_printer, QPageLayout::orientation(), pageLayout(), QPrintEngine::PPK_Orientation, and QPrinterPrivate::setProperty().
|
inlineoverridevirtual |
Implements QPagedPaintDevicePrivate.
Definition at line 184 of file qprinter.cpp.
References QPrinter::Active, QVariant::fromValue(), QPrinterPrivate::get(), QPageSize::isEquivalentTo(), m_printer, pageLayout(), QPageLayout::pageSize(), QPrinterPrivate::paintEngine, QPaintEngine::Pdf, QPrintEngine::PPK_QPageSize, QPrinterPrivate::printEngine, QPrintEngine::printerState(), qWarning, QPrinterPrivate::setProperty(), and QPaintEngine::type().
QPrinter* QPrinterPagedPaintDevicePrivate::m_printer |
Definition at line 229 of file qprinter.cpp.
Referenced by pageLayout(), setPageLayout(), setPageMargins(), setPageOrientation(), and setPageSize().