- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the size, orientation and margins of a page
Java wrapper for Qt class QPageLayout
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQPageLayout::Mode
static enum
Java wrapper for Qt enumQPageLayout::Orientation
static enum
Java wrapper for Qt enumQPageLayout::OutOfBoundsPolicy
static enum
Java wrapper for Qt enumQPageLayout::Unit
-
Constructor Summary
ConstructorDescriptionQPageLayout
(QPageLayout other) QPageLayout
(QPageSize pageSize, QPageLayout.Orientation orientation, QMargins margins) 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, QMargins minMargins) QPageLayout
(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMarginsF minMargins) QPageLayout
(QPageSize pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units) Overloaded constructor forQPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, 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, QMargins margins, QPageLayout.Unit units, QMargins minMargins) QPageLayout
(QPageSize pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units, QMarginsF minMargins) QPageLayout
(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMargins margins) QPageLayout
(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMarginsF margins) QPageLayout
(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units) Overloaded constructor forQPageLayout(io.qt.gui.QPageSize.PageSizeId, 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.PageSizeId pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMargins minMargins) QPageLayout
(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMarginsF minMargins) QPageLayout
(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units) Overloaded constructor forQPageLayout(io.qt.gui.QPageSize.PageSizeId, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
.QPageLayout
(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units, QMargins minMargins) QPageLayout
(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units, QMarginsF minMargins) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QPageLayout other) clone()
Creates and returns a copy of this object.boolean
final QRectF
fullRect()
final QRectF
fullRect
(QPageLayout.Unit units) final QRect
fullRectPixels
(int resolution) final QRect
int
hashCode()
Returns the objects's hash code computed byqHash(QPageLayout)
.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) Overloaded function forsetBottomMargin(double, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
.final boolean
setBottomMargin
(double bottomMargin, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) final boolean
setLeftMargin
(double leftMargin) Overloaded function forsetLeftMargin(double, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
.final boolean
setLeftMargin
(double leftMargin, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) final boolean
setMargins
(QMargins margins) Overloaded function forsetMargins(io.qt.core.QMargins, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
.final boolean
setMargins
(QMarginsF margins) Overloaded function forsetMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
.final boolean
setMargins
(QMarginsF margins, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) final boolean
setMargins
(QMargins margins, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) Overloaded function forsetMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
.final void
setMinimumMargins
(QMargins minMargins) Overloaded function forsetMinimumMargins(io.qt.core.QMarginsF)
.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, QMargins minMargins) Overloaded function forsetPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
.final void
setPageSize
(QPageSize pageSize, QMarginsF minMargins) final void
setPageSize
(QPageSize.PageSizeId pageSize) Overloaded function forsetPageSize(io.qt.gui.QPageSize.PageSizeId, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
.final void
setPageSize
(QPageSize.PageSizeId pageSize, QMargins minMargins) Overloaded function forsetPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
.final void
setPageSize
(QPageSize.PageSizeId pageSize, QMarginsF minMargins) Overloaded function forsetPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
.final boolean
setRightMargin
(double rightMargin) Overloaded function forsetRightMargin(double, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
.final boolean
setRightMargin
(double rightMargin, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) final boolean
setTopMargin
(double topMargin) Overloaded function forsetTopMargin(double, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
.final boolean
setTopMargin
(double topMargin, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) final void
setUnits
(QPageLayout.Unit units) final void
swap
(QPageLayout other) toString()
Seeoperator<<(QDebug,
QPageLayout) final QPageLayout.Unit
units()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPageLayout
public QPageLayout() -
QPageLayout
- Parameters:
other
-
-
QPageLayout
public QPageLayout(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMarginsF minMargins) See
QPageLayout::
QPageLayout(QPageSize, QPageLayout::Orientation, QMarginsF, QPageLayout::Unit, QMarginsF) - Parameters:
pageSize
-orientation
-margins
-units
-minMargins
-
-
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.PageSizeId pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units) Overloaded constructor for
QPageLayout(io.qt.gui.QPageSize.PageSizeId, 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
public QPageLayout(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMarginsF margins) Overloaded constructor for
QPageLayout(io.qt.gui.QPageSize.PageSizeId, 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.PageSizeId pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMarginsF minMargins) -
QPageLayout
public QPageLayout(QPageSize pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units) Overloaded constructor for
QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, 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.QMargins, 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, QMargins margins, QPageLayout.Unit units, QMarginsF minMargins) -
QPageLayout
public QPageLayout(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units) Overloaded constructor for
QPageLayout(io.qt.gui.QPageSize.PageSizeId, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
. -
QPageLayout
public QPageLayout(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMargins margins) Overloaded constructor for
QPageLayout(io.qt.gui.QPageSize.PageSizeId, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, 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.PageSizeId pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units, QMarginsF minMargins) -
QPageLayout
public QPageLayout(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMargins minMargins) -
QPageLayout
public QPageLayout(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units, QMargins minMargins) -
QPageLayout
public QPageLayout(QPageSize pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units, QMargins minMargins) -
QPageLayout
public QPageLayout(QPageSize.PageSizeId pageSize, QPageLayout.Orientation orientation, QMargins margins, QPageLayout.Unit units, QMargins minMargins)
-
-
Method Details
-
fullRect
- Returns:
-
fullRect
- Parameters:
units
-- Returns:
-
fullRectPixels
- Parameters:
resolution
-- Returns:
-
fullRectPoints
- Returns:
-
isEquivalentTo
- Parameters:
other
-- Returns:
-
isValid
- Returns:
-
margins
- Returns:
-
margins
- Parameters:
units
-- Returns:
-
marginsPixels
- Parameters:
resolution
-- Returns:
-
marginsPoints
- Returns:
-
maximumMargins
- Returns:
-
minimumMargins
- Returns:
-
mode
- Returns:
-
assign
- Parameters:
other
-
-
orientation
- Returns:
-
pageSize
- Returns:
-
paintRect
- Returns:
-
paintRect
- Parameters:
units
-- Returns:
-
paintRectPixels
- Parameters:
resolution
-- Returns:
-
paintRectPoints
- Returns:
-
setBottomMargin
@QtUninvokable public final boolean setBottomMargin(double bottomMargin, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) - Parameters:
bottomMargin
-outOfBoundsPolicy
-- Returns:
-
setLeftMargin
@QtUninvokable public final boolean setLeftMargin(double leftMargin, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) - Parameters:
leftMargin
-outOfBoundsPolicy
-- Returns:
-
setMargins
@QtUninvokable public final boolean setMargins(QMarginsF margins, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) - Parameters:
margins
-outOfBoundsPolicy
-- Returns:
-
setMinimumMargins
- Parameters:
minMargins
-
-
setMode
- Parameters:
mode
-
-
setOrientation
- Parameters:
orientation
-
-
setPageSize
- Parameters:
pageSize
-minMargins
-
-
setRightMargin
@QtUninvokable public final boolean setRightMargin(double rightMargin, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) - Parameters:
rightMargin
-outOfBoundsPolicy
-- Returns:
-
setTopMargin
@QtUninvokable public final boolean setTopMargin(double topMargin, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) - Parameters:
topMargin
-outOfBoundsPolicy
-- Returns:
-
setUnits
- Parameters:
units
-
-
swap
- Parameters:
other
-
-
units
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QPageLayout)
. -
toString
See
operator<<(QDebug,
QPageLayout) -
clone
Creates and returns a copy of this object.
-
setBottomMargin
Overloaded function for
setBottomMargin(double, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
. -
setLeftMargin
Overloaded function for
setLeftMargin(double, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
. -
setMargins
Overloaded function for
setMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
. -
setMargins
Overloaded function for
setMargins(io.qt.core.QMargins, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
. -
setMargins
@QtUninvokable public final boolean setMargins(QMargins margins, QPageLayout.OutOfBoundsPolicy outOfBoundsPolicy) Overloaded function for
setMargins(io.qt.core.QMarginsF, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
. -
setMinimumMargins
Overloaded function for
setMinimumMargins(io.qt.core.QMarginsF)
. -
setPageSize
Overloaded function for
setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
. -
setPageSize
Overloaded function for
setPageSize(io.qt.gui.QPageSize.PageSizeId, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
. -
setPageSize
Overloaded function for
setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
. -
setPageSize
Overloaded function for
setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
. -
setPageSize
Overloaded function for
setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
. -
setRightMargin
Overloaded function for
setRightMargin(double, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
. -
setTopMargin
Overloaded function for
setTopMargin(double, io.qt.gui.QPageLayout.OutOfBoundsPolicy)
withoutOfBoundsPolicy = io.qt.gui.QPageLayout.OutOfBoundsPolicy.Reject
.
-