java.lang.Object
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 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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQPageLayout
(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) -
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
(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()
Seeoperator<<(QDebug,
QPageLayout) 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, QMarginsF 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)
-
-
Method Details
-
fullRect
-
fullRect
-
fullRectPixels
-
fullRectPoints
-
isEquivalentTo
-
isValid
-
margins
-
margins
-
marginsPixels
-
marginsPoints
-
maximumMargins
-
minimumMargins
-
mode
-
assign
-
orientation
-
pageSize
-
paintRect
-
paintRect
-
paintRectPixels
-
paintRectPoints
-
setBottomMargin
-
setLeftMargin
-
setMargins
-
setMinimumMargins
-
setMode
-
setOrientation
-
setPageSize
-
setRightMargin
-
setTopMargin
-
setUnits
-
swap
-
units
-
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.
-
setPageSize
Overloaded function for
setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)
withminMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
.
-