QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsPageSize Class Reference

A named page size for layouts. More...

#include <qgspagesizeregistry.h>

Public Member Functions

 QgsPageSize ()
 QgsPageSize (const QgsLayoutSize &size)
 Constructor for QgsPageSize, accepting a page size.
 QgsPageSize (const QString &name, const QgsLayoutSize &size, const QString &displayName=QString())
 Constructor for QgsPageSize, accepting the name of the page size, the page size and the displayName.
bool operator!= (const QgsPageSize &other) const
bool operator== (const QgsPageSize &other) const

Public Attributes

QString displayName
 Translated page name.
QString name
 Name of page size.
QgsLayoutSize size
 Page size.

Detailed Description

A named page size for layouts.

Definition at line 32 of file qgspagesizeregistry.h.

Constructor & Destructor Documentation

◆ QgsPageSize() [1/3]

QgsPageSize::QgsPageSize ( )

Definition at line 127 of file qgspagesizeregistry.cpp.

◆ QgsPageSize() [2/3]

QgsPageSize::QgsPageSize ( const QString & name,
const QgsLayoutSize & size,
const QString & displayName = QString() )

Constructor for QgsPageSize, accepting the name of the page size, the page size and the displayName.

Definition at line 132 of file qgspagesizeregistry.cpp.

◆ QgsPageSize() [3/3]

QgsPageSize::QgsPageSize ( const QgsLayoutSize & size)

Constructor for QgsPageSize, accepting a page size.

Definition at line 139 of file qgspagesizeregistry.cpp.

Member Function Documentation

◆ operator!=()

bool QgsPageSize::operator!= ( const QgsPageSize & other) const

Definition at line 150 of file qgspagesizeregistry.cpp.

◆ operator==()

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

Definition at line 145 of file qgspagesizeregistry.cpp.

Member Data Documentation

◆ displayName

QString QgsPageSize::displayName

Translated page name.

Definition at line 57 of file qgspagesizeregistry.h.

◆ name

QString QgsPageSize::name

Name of page size.

Definition at line 51 of file qgspagesizeregistry.h.

◆ size

QgsLayoutSize QgsPageSize::size

Page size.

Definition at line 54 of file qgspagesizeregistry.h.


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