- All Superinterfaces:
QPaintDevice
,QtObjectInterface
- All Known Implementing Classes:
QPdfWriter
,QPrinter
Represents a paint device that supports multiple pages
Java wrapper for Qt class QPagedPaintDevice
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Java wrapper for Qt enumQPagedPaintDevice::PdfVersion
Nested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric
-
Method Summary
Modifier and TypeMethodDescriptionboolean
newPage()
default boolean
setPageLayout
(QPageLayout pageLayout) default boolean
setPageMargins
(QMargins margins) Overloaded function forsetPageMargins(io.qt.core.QMargins, io.qt.gui.QPageLayout.Unit)
withunits = io.qt.gui.QPageLayout.Unit.Millimeter
.default boolean
setPageMargins
(QMarginsF margins) Overloaded function forsetPageMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit)
withunits = io.qt.gui.QPageLayout.Unit.Millimeter
.default boolean
setPageMargins
(QMarginsF margins, QPageLayout.Unit units) default boolean
setPageMargins
(QMargins margins, QPageLayout.Unit units) Overloaded function forsetPageMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit)
.default boolean
setPageOrientation
(QPageLayout.Orientation orientation) default void
setPageRanges
(QPageRanges ranges) default boolean
setPageSize
(QPageSize pageSize) default boolean
setPageSize
(QPageSize.PageSizeId pageSize) Overloaded function forsetPageSize(io.qt.gui.QPageSize)
.Methods inherited from interface io.qt.gui.QPaintDevice
colorCount, depth, devicePixelRatio, devicePixelRatioF, height, heightMM, logicalDpiX, logicalDpiY, paintingActive, physicalDpiX, physicalDpiY, width, widthMM
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
newPage
- Returns:
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
- Returns:
-
setPageLayout
- Parameters:
pageLayout
-- Returns:
-
setPageMargins
- Parameters:
margins
-units
-- Returns:
-
setPageOrientation
- Parameters:
orientation
-- Returns:
-
setPageRanges
- Parameters:
ranges
-- Since:
- This function was introduced in Qt 6.0.
-
setPageSize
- Parameters:
pageSize
-- Returns:
-
setPageMargins
Overloaded function for
setPageMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit)
withunits = io.qt.gui.QPageLayout.Unit.Millimeter
. -
setPageMargins
Overloaded function for
setPageMargins(io.qt.core.QMargins, io.qt.gui.QPageLayout.Unit)
withunits = io.qt.gui.QPageLayout.Unit.Millimeter
. -
setPageMargins
Overloaded function for
setPageMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit)
. -
setPageSize
Overloaded function for
setPageSize(io.qt.gui.QPageSize)
.
-