Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qpagesize.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdebug.h>
#include <QtCore/qpoint.h>
#include <QtCore/qrect.h>
#include <QtCore/qsize.h>
#include <QtCore/qstring.h>
Go to the source code of this file.
Classes | |
struct | StandardPageSize |
class | QPageSizePrivate |
Variables | |
static const int | qt_windowsConversion [][2] |
static const StandardPageSize | qt_pageSizes [] |
static const int | pageSizesCount = int(sizeof(qt_pageSizes) / sizeof(qt_pageSizes[0])) |
enum WindowsDmPaper |
Definition at line 24 of file qpagesize.cpp.
|
static |
Definition at line 1457 of file qpagesize.cpp.
References QCoreApplication::translate().
Referenced by QPageSize::name().
Definition at line 1832 of file qpagesize.cpp.
References QSize::height(), QPageSize::id(), QPageSize::isValid(), QPageSize::key(), QPageSize::name(), QPageSize::sizePoints(), and QSize::width().
Definition at line 541 of file qpagesize.cpp.
References qFloor(), and qt_pixelMultiplier().
Referenced by QPageSizePrivate::sizePixels(), and QPageSize::sizePixels().
|
static |
Definition at line 549 of file qpagesize.cpp.
References qRound(), and qt_pointMultiplier().
Referenced by qt_unitSize().
|
static |
Definition at line 511 of file qpagesize.cpp.
References QSizeF::height(), QPageSize::Point, qFuzzyIsNull(), qRound(), qt_pointMultiplier(), and QSizeF::width().
Referenced by QPageSizePrivate::size().
|
static |
Definition at line 534 of file qpagesize.cpp.
References qt_pointMultiplier(), and QSizeF::toSize().
Referenced by qt_idForSize().
|
static |
Definition at line 502 of file qpagesize.cpp.
References QPageSize::Inch, QPageSize::Millimeter, Q_ASSERT, and qt_pageSizes.
Referenced by QPageSize::definitionSize().
|
static |
Definition at line 579 of file qpagesize.cpp.
References QPageSize::Custom, QPageSize::ExactMatch, QPageSize::FuzzyOrientationMatch, i, QPageSize::LastPageSize, match(), and qt_pageSizes.
Referenced by QPageSizePrivate::QPageSizePrivate(), QPageSizePrivate::QPageSizePrivate(), QPageSizePrivate::QPageSizePrivate(), QPageSize::id(), and qt_idForSize().
|
static |
Definition at line 368 of file qpagesize.cpp.
References QPageSize::Custom, i, QPageSize::LastPageSize, match(), and qt_pageSizes.
Referenced by QPageSizePrivate::QPageSizePrivate().
|
static |
Definition at line 645 of file qpagesize.cpp.
References QPageSize::Custom, i, QPageSize::Inch, QPageSize::LastPageSize, match(), QPageSize::Millimeter, QPageSize::Point, qt_convertUnitsToPoints(), qt_idForPointSize(), and qt_pageSizes.
Referenced by QPageSizePrivate::QPageSizePrivate(), and QPageSize::id().
|
static |
Definition at line 389 of file qpagesize.cpp.
References QPageSize::Custom, DMPAPER_LAST, i, it, QPageSize::LastPageSize, match(), qt_pageSizes, and qt_windowsConversion.
Referenced by QPageSizePrivate::QPageSizePrivate(), and QPageSize::id().
|
static |
Definition at line 414 of file qpagesize.cpp.
References QPageSize::Cicero, QPageSize::Didot, QPageSize::Inch, QPageSize::Millimeter, QPageSize::Pica, QPageSize::Point, and QStringLiteral.
|
static |
Definition at line 362 of file qpagesize.cpp.
References QString::fromLatin1(), and qt_pageSizes.
|
static |
Definition at line 443 of file qpagesize.cpp.
References QPageSize::Cicero, QPageSize::Didot, QPageSize::Inch, QPageSize::Millimeter, QPageSize::Pica, QPageSize::Point, and QCoreApplication::translate().
Q_GUI_EXPORT qreal qt_pixelMultiplier | ( | int | resolution | ) |
Definition at line 497 of file qpagesize.cpp.
Referenced by QPageLayoutPrivate::marginsPixels(), and qt_convertPointsToPixels().
|
static |
Definition at line 477 of file qpagesize.cpp.
References QPageSize::Cicero, QPageSize::Didot, QPageSize::Inch, QPageSize::Millimeter, QPageSize::Pica, and QPageSize::Point.
Referenced by qt_convertPointsToUnits(), qt_convertUnits(), and qt_convertUnitsToPoints().
|
static |
Definition at line 560 of file qpagesize.cpp.
References QPageSize::Cicero, QPageSize::Didot, QPageSize::Inch, QPageSize::Millimeter, QPageSize::Pica, QPageSize::Point, qt_convertPointsToUnits(), and qt_pageSizes.
Referenced by QPageSize::size(), and QPageSizePrivate::size().
|
static |
Definition at line 357 of file qpagesize.cpp.
|
static |
Definition at line 213 of file qpagesize.cpp.
Referenced by QPageSize::definitionUnits(), QPageSize::key(), qt_definitionSize(), qt_idForPointSize(), qt_idForPpdKey(), qt_idForSize(), qt_idForWindowsID(), qt_keyForPageSizeId(), qt_unitSize(), QPageSize::sizePoints(), and QPageSize::windowsId().
|
static |
Definition at line 156 of file qpagesize.cpp.
Referenced by qt_idForWindowsID().