- 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
(QMarginsF margins) default boolean
setPageMargins
(QMarginsF margins, QPageLayout.Unit units) default boolean
setPageOrientation
(QPageLayout.Orientation orientation) default void
default boolean
setPageSize
(QPageSize pageSize) 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
-
pageLayout
-
pageSize
-
pageSizeMM
-
setPageLayout
-
setPageMargins
-
setPageMargins
@QtDeclaredFinal @QtUninvokable default boolean setPageMargins(QMarginsF margins, QPageLayout.Unit units) -
setPageOrientation
@QtDeclaredFinal @QtUninvokable default boolean setPageOrientation(QPageLayout.Orientation orientation) -
setPageSize
-
newPage
-
paintEngine
- Specified by:
paintEngine
in interfaceQPaintDevice
-
setMargins
-
setPageSize
-
setPageSizeMM
-