- All Superinterfaces:
QPaintDevice
,QtObjectInterface
- All Known Implementing Classes:
QPagedPaintDevice.Impl
,QPdfWriter
,QPrinter
public interface QPagedPaintDevice extends QtObjectInterface, QPaintDevice
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:
@Deprecated
@io.qt.QtUninvokable
protected final io.qt.gui.QPageLayout devicePageLayout(){
return QPagedPaintDevice.MemberAccess.of(this).devicePageLayout();
}
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
QPagedPaintDevice.Impl
Implementor class for interfaceQPagedPaintDevice
static class
QPagedPaintDevice.Margins
Java wrapper for Qt class QPagedPaintDevice::Marginsstatic class
QPagedPaintDevice.MemberAccess
static class
QPagedPaintDevice.PageSize
Java wrapper for Qt enum QPagedPaintDevice::PageSizestatic class
QPagedPaintDevice.PdfVersion
Java wrapper for Qt enum QPagedPaintDevice::PdfVersionNested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.PaintDeviceMetric
-
Method Summary
Modifier and Type Method Description default QPagedPaintDevice.Margins
margins()
Deprecated.Use pageLayout().margins() instead.boolean
newPage()
default QPageLayout
pageLayout()
default QPagedPaintDevice.PageSize
pageSize()
Deprecated.Use pageLayout().pageSize().id() instead.default QSizeF
pageSizeMM()
Deprecated.Use pageLayout().pageSize() instead.QPaintEngine
paintEngine()
See QPaintDevice::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
setPageSize(QPagedPaintDevice.PageSize size)
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
-
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
See QPaintDevice::
- 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.
-