- All Superinterfaces:
QPaintDevice
,QtObjectInterface
- All Known Implementing Classes:
QPagedPaintDevice.Impl
,QPdfWriter
,QPrinter
Represents a paint device that supports multiple pages
Java wrapper for Qt's class QPagedPaintDevice
Following function is protected in the Qt interface, all implementations of this interface may implement this function:
@Deprecated
@QtUninvokable
protected final io.qt.gui.@NonNull QPageLayout devicePageLayout(){
return QPagedPaintDevice.MemberAccess.of(this).devicePageLayout();
}
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Implementor class for interfaceQPagedPaintDevice
static class
Java wrapper for Qt class QPagedPaintDevice::Marginsstatic class
static enum
Java wrapper for Qt enum QPagedPaintDevice::PageSizestatic enum
Java wrapper for Qt enum QPagedPaintDevice::PdfVersionNested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric
-
Method Summary
Modifier and TypeMethodDescriptiondefault QPagedPaintDevice.Margins
margins()
Deprecated.Use pageLayout().margins() instead.boolean
newPage()
default QPageLayout
default QPagedPaintDevice.PageSize
pageSize()
Deprecated.Use pageLayout().pageSize().id() instead.default QSizeF
Deprecated.Use pageLayout().pageSize() instead.default void
setMargins
(QPagedPaintDevice.Margins margins) Deprecated.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead.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
Deprecated.Use setPageSize(QPageSize) instead.default boolean
setPageSize
(QPageSize pageSize) default void
setPageSizeMM
(QSizeF size) Deprecated.Use setPageSize(QPageSize) instead.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
Deprecated.Use pageLayout().margins() instead. -
pageLayout
-
pageSize
Deprecated.Use pageLayout().pageSize().id() instead. -
pageSizeMM
Deprecated.Use pageLayout().pageSize() instead. -
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
Deprecated.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead. -
setPageSize
Deprecated.Use setPageSize(QPageSize) instead. -
setPageSizeMM
Deprecated.Use setPageSize(QPageSize) instead.
-