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
QPageSizePrivate Class Reference
+ Inheritance diagram for QPageSizePrivate:
+ Collaboration diagram for QPageSizePrivate:

Public Member Functions

 QPageSizePrivate ()
 
 QPageSizePrivate (QPageSize::PageSizeId pageSizeId)
 
 QPageSizePrivate (const QSize &pointSize, const QString &name, QPageSize::SizeMatchPolicy matchPolicy)
 
 QPageSizePrivate (const QSizeF &size, QPageSize::Unit units, const QString &name, QPageSize::SizeMatchPolicy matchPolicy)
 
 QPageSizePrivate (const QString &key, const QSize &size, const QString &name)
 
 QPageSizePrivate (int windowsId, const QSize &pointSize, const QString &name)
 
 ~QPageSizePrivate ()
 
bool operator== (const QPageSizePrivate &other) const
 
bool isEquivalentTo (const QPageSizePrivate &other) const
 
bool isValid () const
 
QSizeF size (QPageSize::Unit units) const
 
QSize sizePixels (int resolution) const
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Friends

class QPageSize
 

Additional Inherited Members

- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 683 of file qpagesize.cpp.

Constructor & Destructor Documentation

◆ QPageSizePrivate() [1/6]

QPageSizePrivate::QPageSizePrivate ( )

Definition at line 722 of file qpagesize.cpp.

◆ QPageSizePrivate() [2/6]

QPageSizePrivate::QPageSizePrivate ( QPageSize::PageSizeId pageSizeId)
explicit

Definition at line 729 of file qpagesize.cpp.

References QPageSize::LastPageSize.

◆ QPageSizePrivate() [3/6]

QPageSizePrivate::QPageSizePrivate ( const QSize & pointSize,
const QString & name,
QPageSize::SizeMatchPolicy matchPolicy )

Definition at line 738 of file qpagesize.cpp.

References QPageSize::Custom, QSize::isValid(), and qt_idForPointSize().

+ Here is the call graph for this function:

◆ QPageSizePrivate() [4/6]

QPageSizePrivate::QPageSizePrivate ( const QSizeF & size,
QPageSize::Unit units,
const QString & name,
QPageSize::SizeMatchPolicy matchPolicy )

Definition at line 749 of file qpagesize.cpp.

References QPageSize::Custom, and qt_idForSize().

+ Here is the call graph for this function:

◆ QPageSizePrivate() [5/6]

QPageSizePrivate::QPageSizePrivate ( const QString & key,
const QSize & size,
const QString & name )

Definition at line 761 of file qpagesize.cpp.

References QPageSize::Custom, QPageSize::FuzzyMatch, QSize::isValid(), qt_idForPointSize(), and qt_idForPpdKey().

+ Here is the call graph for this function:

◆ QPageSizePrivate() [6/6]

QPageSizePrivate::QPageSizePrivate ( int windowsId,
const QSize & pointSize,
const QString & name )

Definition at line 776 of file qpagesize.cpp.

References QPageSize::Custom, QPageSize::FuzzyMatch, QSize::isValid(), qt_idForPointSize(), and qt_idForWindowsID().

+ Here is the call graph for this function:

◆ ~QPageSizePrivate()

QPageSizePrivate::~QPageSizePrivate ( )

Definition at line 791 of file qpagesize.cpp.

Member Function Documentation

◆ isEquivalentTo()

bool QPageSizePrivate::isEquivalentTo ( const QPageSizePrivate & other) const

Definition at line 842 of file qpagesize.cpp.

References other().

Referenced by QPageSize::isEquivalentTo().

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

◆ isValid()

bool QPageSizePrivate::isValid ( ) const

Definition at line 847 of file qpagesize.cpp.

References QString::isEmpty(), and QSize::isValid().

Referenced by QPageSize::isValid().

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

◆ operator==()

bool QPageSizePrivate::operator== ( const QPageSizePrivate & other) const

Definition at line 834 of file qpagesize.cpp.

References other().

+ Here is the call graph for this function:

◆ size()

QSizeF QPageSizePrivate::size ( QPageSize::Unit units) const

Definition at line 852 of file qpagesize.cpp.

References QPageSize::Custom, QSize::height(), QPageSize::Point, qt_convertUnits(), qt_unitSize(), and QSize::width().

Referenced by QPageSize::rect(), and QPageSize::size().

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

◆ sizePixels()

QSize QPageSizePrivate::sizePixels ( int resolution) const

Definition at line 870 of file qpagesize.cpp.

References qt_convertPointsToPixels().

Referenced by QPageSize::rectPixels(), and QPageSize::sizePixels().

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

Friends And Related Symbol Documentation

◆ QPageSize

friend class QPageSize
friend

Definition at line 707 of file qpagesize.cpp.


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