Qt 6.x
The Qt SDK
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 ()
 
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

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 158 of file qprinter.cpp.

Constructor & Destructor Documentation

◆ QPrinterPagedPaintDevicePrivate()

QPrinterPagedPaintDevicePrivate::QPrinterPagedPaintDevicePrivate ( QPrinter p)
inline

Definition at line 161 of file qprinter.cpp.

◆ ~QPrinterPagedPaintDevicePrivate()

virtual QPrinterPagedPaintDevicePrivate::~QPrinterPagedPaintDevicePrivate ( )
inlinevirtual

Definition at line 165 of file qprinter.cpp.

Member Function Documentation

◆ pageLayout()

QPageLayout QPrinterPagedPaintDevicePrivate::pageLayout ( ) const
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().

+ 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 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().

+ Here is the call graph for this function:

◆ setPageMargins()

bool QPrinterPagedPaintDevicePrivate::setPageMargins ( const QMarginsF margins,
QPageLayout::Unit  units 
)
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().

+ Here is the call graph for this function:

◆ setPageOrientation()

bool QPrinterPagedPaintDevicePrivate::setPageOrientation ( QPageLayout::Orientation  orientation)
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().

+ 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: