java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPageLayout
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QPageLayout extends QtObject implements Cloneable
Describes the size, orientation and margins of a page
Java wrapper for Qt class QPageLayout
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QPageLayout.Mode
Java wrapper for Qt enum QPageLayout::Modestatic class
QPageLayout.Orientation
Java wrapper for Qt enum QPageLayout::Orientationstatic class
QPageLayout.Unit
Java wrapper for Qt enum QPageLayout::Unit -
Constructor Summary
Constructors Modifier Constructor Description QPageLayout()
QPageLayout(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
QPageLayout(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
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
-