Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPrinterPagedPaintDevicePrivate Class Reference
+ Inheritance diagram for QPrinterPagedPaintDevicePrivate:
+ Collaboration diagram for QPrinterPagedPaintDevicePrivate:

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
 
- Public Member Functions inherited from QPagedPaintDevicePrivate
 QPagedPaintDevicePrivate ()
 
virtual ~QPagedPaintDevicePrivate ()
 

Public Attributes

QPrinterm_printer
 
- Public Attributes inherited from QPagedPaintDevicePrivate
QPageRanges pageRanges
 
bool pageOrderAscending
 
bool printSelectionOnly
 

Additional Inherited Members

- Static Public Member Functions inherited from QPagedPaintDevicePrivate
static QPagedPaintDevicePrivateget (QPagedPaintDevice *pd)
 

Detailed Description

Definition at line 163 of file qprinter.cpp.

Constructor & Destructor Documentation

◆ QPrinterPagedPaintDevicePrivate()

QPrinterPagedPaintDevicePrivate::QPrinterPagedPaintDevicePrivate ( QPrinter * p)
inline

Definition at line 166 of file qprinter.cpp.

◆ ~QPrinterPagedPaintDevicePrivate()

virtual QPrinterPagedPaintDevicePrivate::~QPrinterPagedPaintDevicePrivate ( )
inlinevirtual

Definition at line 170 of file qprinter.cpp.

Member Function Documentation

◆ pageLayout()

QPageLayout QPrinterPagedPaintDevicePrivate::pageLayout ( ) const
inlineoverridevirtual

Implements QPagedPaintDevicePrivate.

Definition at line 227 of file qprinter.cpp.

References QPrinterPrivate::get(), m_printer, QPrintEngine::PPK_QPageLayout, QPrinterPrivate::printEngine, and QPrintEngine::property().

Referenced by setPageLayout(), setPageMargins(), setPageOrientation(), and setPageSize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPageLayout()

bool QPrinterPagedPaintDevicePrivate::setPageLayout ( const QPageLayout & newPageLayout)
inlineoverridevirtual

Implements QPagedPaintDevicePrivate.

Definition at line 173 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().

+ Here is the call graph for this function:

◆ setPageMargins()

bool QPrinterPagedPaintDevicePrivate::setPageMargins ( const QMarginsF & margins,
QPageLayout::Unit units )
inlineoverridevirtual

Implements QPagedPaintDevicePrivate.

Definition at line 216 of file qprinter.cpp.

References QVariant::fromValue(), QPrinterPrivate::get(), m_printer, QPageLayout::margins(), pageLayout(), QPrintEngine::PPK_QPageMargins, qMakePair(), QPrinterPrivate::setProperty(), and QPageLayout::units().

+ Here is the call graph for this function:

◆ setPageOrientation()

bool QPrinterPagedPaintDevicePrivate::setPageOrientation ( QPageLayout::Orientation orientation)
inlineoverridevirtual

Implements QPagedPaintDevicePrivate.

Definition at line 206 of file qprinter.cpp.

References QPrinterPrivate::get(), m_printer, QPageLayout::orientation(), pageLayout(), QPrintEngine::PPK_Orientation, and QPrinterPrivate::setProperty().

+ Here is the call graph for this function:

◆ setPageSize()

bool QPrinterPagedPaintDevicePrivate::setPageSize ( const QPageSize & pageSize)
inlineoverridevirtual

Member Data Documentation

◆ m_printer

QPrinter* QPrinterPagedPaintDevicePrivate::m_printer

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