QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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 31 of file qgspagesizeregistry.h.

Constructor & Destructor Documentation

◆ QgsPageSize() [1/3]

QgsPageSize::QgsPageSize ( )

Definition at line 126 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 131 of file qgspagesizeregistry.cpp.

◆ QgsPageSize() [3/3]

QgsPageSize::QgsPageSize ( const QgsLayoutSize size)

Constructor for QgsPageSize, accepting a page size.

Definition at line 138 of file qgspagesizeregistry.cpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 149 of file qgspagesizeregistry.cpp.

◆ operator==()

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

Definition at line 144 of file qgspagesizeregistry.cpp.

Member Data Documentation

◆ displayName

QString QgsPageSize::displayName

Translated page name.

Definition at line 56 of file qgspagesizeregistry.h.

◆ name

QString QgsPageSize::name

Name of page size.

Definition at line 50 of file qgspagesizeregistry.h.

◆ size

QgsLayoutSize QgsPageSize::size

Page size.

Definition at line 53 of file qgspagesizeregistry.h.


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