- 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::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) final boolean
setLeftMargin
(double leftMargin) final boolean
setMargins
(QMargins margins) Overloaded function forsetMargins(io.qt.core.QMarginsF)
.final boolean
setMargins
(QMarginsF margins) 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) final boolean
setTopMargin
(double topMargin) 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
- Parameters:
bottomMargin
-- Returns:
-
setLeftMargin
- Parameters:
leftMargin
-- Returns:
-
setMargins
- Parameters:
margins
-- Returns:
-
setMinimumMargins
- Parameters:
minMargins
-
-
setMode
- Parameters:
mode
-
-
setOrientation
- Parameters:
orientation
-
-
setPageSize
- Parameters:
pageSize
-minMargins
-
-
setRightMargin
- Parameters:
rightMargin
-- Returns:
-
setTopMargin
- Parameters:
topMargin
-- 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.
-
setMargins
Overloaded function for
setMargins(io.qt.core.QMarginsF)
. -
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)
.
-