QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
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. | |
A named page size for layouts.
Definition at line 31 of file qgspagesizeregistry.h.
QgsPageSize::QgsPageSize | ( | ) |
Definition at line 126 of file qgspagesizeregistry.cpp.
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::QgsPageSize | ( | const QgsLayoutSize & | size | ) |
Constructor for QgsPageSize, accepting a page size.
Definition at line 138 of file qgspagesizeregistry.cpp.
bool QgsPageSize::operator!= | ( | const QgsPageSize & | other | ) | const |
Definition at line 149 of file qgspagesizeregistry.cpp.
bool QgsPageSize::operator== | ( | const QgsPageSize & | other | ) | const |
Definition at line 144 of file qgspagesizeregistry.cpp.
QString QgsPageSize::displayName |
Translated page name.
Definition at line 56 of file qgspagesizeregistry.h.
QString QgsPageSize::name |
Name of page size.
Definition at line 50 of file qgspagesizeregistry.h.
QgsLayoutSize QgsPageSize::size |
Page size.
Definition at line 53 of file qgspagesizeregistry.h.