java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPageLayout
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the size, orientation and margins of a page
Java wrapper for Qt's class QPageLayout
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QPageLayout::Modestatic enum
Java wrapper for Qt enum QPageLayout::Orientationstatic enum
Java wrapper for Qt enum QPageLayout::UnitNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQPageLayout
(QPageLayout other) QPageLayout
(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins) QPageLayout
(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units) Overloaded constructor forQPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
.QPageLayout
(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMarginsF minMargins) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final QRectF
fullRect()
final QRectF
fullRect
(QPageLayout.Unit units) final QRect
fullRectPixels
(int resolution) final QRect
int
hashCode()
final boolean
isEquivalentTo
(QPageLayout other) final boolean
isValid()
final QMarginsF
margins()
final QMarginsF
margins
(QPageLayout.Unit units) final QMargins
marginsPixels
(int resolution) final QMargins
final QMarginsF
final QMarginsF
final QPageLayout.Mode
mode()
final QPageLayout.Orientation
final QPageSize
pageSize()
final QRectF
final QRectF
paintRect
(QPageLayout.Unit units) final QRect
paintRectPixels
(int resolution) final QRect
final boolean
setBottomMargin
(double bottomMargin) final boolean
setLeftMargin
(double leftMargin) final boolean
setMargins
(QMarginsF margins) final void
setMinimumMargins
(QMarginsF minMargins) final void
setMode
(QPageLayout.Mode mode) final void
setOrientation
(QPageLayout.Orientation orientation) final void
setPageSize
(QPageSize pageSize) Overloaded function forsetPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
.final void
setPageSize
(QPageSize pageSize, QMarginsF minMargins) final boolean
setRightMargin
(double rightMargin) final boolean
setTopMargin
(double topMargin) final void
setUnits
(QPageLayout.Unit units) final void
swap
(QPageLayout other) toString()
final QPageLayout.Unit
units()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPageLayout
public QPageLayout() -
QPageLayout
-
QPageLayout
public QPageLayout(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units) Overloaded constructor for
QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
. -
QPageLayout
Overloaded constructor for
QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)
with:
units = io.qt.gui.QPageLayout.Unit.Point
minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
-
QPageLayout
public QPageLayout(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMarginsF minMargins) -
QPageLayout
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
fullRect
-
fullRect
-
fullRectPixels
-
fullRectPoints
-
isEquivalentTo
-
isValid
-
margins
-
margins
-
marginsPixels
-
marginsPoints
-
maximumMargins
-
minimumMargins
-
mode
-
orientation
-
pageSize
-
paintRect
-
paintRect
-
paintRectPixels
-
paintRectPoints
-
setBottomMargin
-
setLeftMargin
-
setMargins
-
setMinimumMargins
-
setMode
-
setOrientation
-
setPageSize
Overloaded function for
setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
. -
setPageSize
-
setRightMargin
-
setTopMargin
-
setUnits
-
swap
-
units
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-