Switch to QPageSize for page size handling

Authored by pino on Jun 26 2018, 5:38 AM.

Description

Switch to QPageSize for page size handling

Summary:
The current code has both a copy of page sizes from the Qt
implementation, and a list of page sizes (with own translations for
the items).

Switch the code to use QPageSize exclusively, with a single list of
sizes the only list needed; updatePaperSize() is greatly simplified
now.

Test Plan:
Builds fine, the list of page size is unchanged (but using
the UI names from QPageSize), and the page size handling is the same.

Reviewers: sgerlach, asemke

Reviewed By: asemke

Subscribers: kde-edu

Tags: KDE Edu

Differential Revision: https://phabricator.kde.org/D13731

Details

Committed
pinoJun 29 2018, 6:40 AM
Reviewer
asemke
Differential Revision
D13731: Switch to QPageSize for page size handling
Parents
R262:38ac57bdf70e: [ROOT importer] Add license text to file sample generator script
Branches
Unknown
Tags
Unknown