- All Superinterfaces:
QPaintDevice
,QtObjectInterface
- All Known Implementing Classes:
QPdfWriter
,QPrinter
Represents a paint device that supports multiple pages
Java wrapper for Qt class QPagedPaintDevice
Following function is protected in the Qt interface, all implementations of this interface may implement this function:
@QtUninvokable
protected final io.qt.gui.@NonNull QPageLayout devicePageLayout(){
return QPagedPaintDevice.MemberAccess.of(this).devicePageLayout();
}
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Java wrapper for Qt classQPagedPaintDevice::Margins
static enum
Java wrapper for Qt enumQPagedPaintDevice::PageSize
static enum
Java wrapper for Qt enumQPagedPaintDevice::PdfVersion
Nested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric
-
Method Summary
Modifier and TypeMethodDescriptiondefault QPagedPaintDevice.Margins
margins()
boolean
newPage()
default QPageLayout
default QPagedPaintDevice.PageSize
pageSize()
default QSizeF
default void
setMargins
(QPagedPaintDevice.Margins margins) default boolean
setPageLayout
(QPageLayout pageLayout) default boolean
setPageMargins
(QMargins margins) Overloaded function forsetPageMargins(io.qt.core.QMarginsF)
.default boolean
setPageMargins
(QMarginsF margins) 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 boolean
setPageSize
(QPageSize pageSize) default void
default void
setPageSizeMM
(QSize size) Overloaded function forsetPageSizeMM(io.qt.core.QSizeF)
.default void
setPageSizeMM
(QSizeF size) 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
-
margins
- Returns:
-
pageLayout
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
pageSize
- Returns:
-
pageSizeMM
- Returns:
-
setPageLayout
- Parameters:
pageLayout
-- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
setPageMargins
- Parameters:
margins
-- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
setPageMargins
@QtDeclaredFinal @QtUninvokable default boolean setPageMargins(QMarginsF margins, QPageLayout.Unit units) - Parameters:
margins
-units
-- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
setPageOrientation
@QtDeclaredFinal @QtUninvokable default boolean setPageOrientation(QPageLayout.Orientation orientation) - Parameters:
orientation
-- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
setPageSize
- Parameters:
pageSize
-- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
newPage
- Returns:
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
- Returns:
-
setMargins
- Parameters:
margins
-
-
setPageSize
- Parameters:
size
-
-
setPageSizeMM
- Parameters:
size
-
-
setPageMargins
Overloaded function for
setPageMargins(io.qt.core.QMarginsF)
. -
setPageMargins
@QtDeclaredFinal @QtUninvokable default boolean setPageMargins(QMargins margins, QPageLayout.Unit units) Overloaded function for
setPageMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit)
. -
setPageSizeMM
Overloaded function for
setPageSizeMM(io.qt.core.QSizeF)
.
-