D13731: Switch to QPageSize for page size handling

Pino Toscano noreply at phabricator.kde.org
Tue Jun 26 05:47:10 UTC 2018


pino created this revision.
pino added reviewers: sgerlach, asemke.
Restricted Application added a project: KDE Edu.
Restricted Application added a subscriber: kde-edu.
pino requested review of this revision.

REVISION 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.

REPOSITORY
  R262 LabPlot

BRANCH
  pagesizes (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D13731

AFFECTED FILES
  src/kdefrontend/dockwidgets/WorksheetDock.cpp

To: pino, sgerlach, asemke
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180626/57ff863b/attachment.html>


More information about the kde-edu mailing list