- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the size and name of a defined page size
Java wrapper for Qt class QPageSize
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQPageSize::PageSizeId
static enum
Java wrapper for Qt enumQPageSize::SizeMatchPolicy
static enum
Java wrapper for Qt enumQPageSize::Unit
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQPageSize(io.qt.core.QSize, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
QPageSize
(QSizeF size, QPageSize.Unit units) QPageSize
(QSizeF size, QPageSize.Unit units, String name) Overloaded constructor forQPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.QPageSize
(QSizeF size, QPageSize.Unit units, String name, QPageSize.SizeMatchPolicy matchPolicy) QPageSize
(QSize size, QPageSize.Unit units) Overloaded constructor forQPageSize(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
QPageSize
(QSize size, QPageSize.Unit units, String name) Overloaded constructor forQPageSize(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.QPageSize
(QSize size, QPageSize.Unit units, String name, QPageSize.SizeMatchPolicy matchPolicy) Overloaded constructor forQPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
.Overloaded constructor forQPageSize(io.qt.core.QSize, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.QPageSize
(QSize pointSize, String name, QPageSize.SizeMatchPolicy matchPolicy) QPageSize
(QPageSize.PageSizeId pageSizeId) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final void
assign
(QPageSize.PageSizeId other) Overloaded function forassign(io.qt.gui.QPageSize)
.clone()
Creates and returns a copy of this object.final QSizeF
static QSizeF
definitionSize
(QPageSize.PageSizeId pageSizeId) final QPageSize.Unit
static QPageSize.Unit
definitionUnits
(QPageSize.PageSizeId pageSizeId) final boolean
final boolean
Overloaded function forequals(io.qt.gui.QPageSize)
.boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QPageSize)
.final QPageSize.PageSizeId
id()
static QPageSize.PageSizeId
id
(int windowsId) static QPageSize.PageSizeId
Overloaded function forid(io.qt.core.QSize, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.static QPageSize.PageSizeId
id
(QSizeF size, QPageSize.Unit units) Overloaded function forid(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.static QPageSize.PageSizeId
id
(QSizeF size, QPageSize.Unit units, QPageSize.SizeMatchPolicy matchPolicy) static QPageSize.PageSizeId
id
(QSize pointSize, QPageSize.SizeMatchPolicy matchPolicy) static QPageSize.PageSizeId
id
(QSize size, QPageSize.Unit units) Overloaded function forid(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.static QPageSize.PageSizeId
id
(QSize size, QPageSize.Unit units, QPageSize.SizeMatchPolicy matchPolicy) Overloaded function forid(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)
.final boolean
isEquivalentTo
(QPageSize other) final boolean
Overloaded function forisEquivalentTo(io.qt.gui.QPageSize)
.final boolean
isValid()
final String
key()
static String
key
(QPageSize.PageSizeId pageSizeId) final String
name()
static String
name
(QPageSize.PageSizeId pageSizeId) final QRectF
rect
(QPageSize.Unit units) final QRect
rectPixels
(int resolution) final QRect
static QSizeF
size
(QPageSize.PageSizeId pageSizeId, QPageSize.Unit units) final QSizeF
size
(QPageSize.Unit units) final QSize
sizePixels
(int resolution) static QSize
sizePixels
(QPageSize.PageSizeId pageSizeId, int resolution) final QSize
static QSize
sizePoints
(QPageSize.PageSizeId pageSizeId) final void
toString()
Seeoperator<<(QDebug,
QPageSize) final int
static int
windowsId
(QPageSize.PageSizeId pageSizeId) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPageSize
public QPageSize() -
QPageSize
-
QPageSize
-
QPageSize
-
QPageSize
public QPageSize(QSizeF size, QPageSize.Unit units, String name, QPageSize.SizeMatchPolicy matchPolicy) -
QPageSize
Overloaded constructor for
QPageSize(io.qt.core.QSize, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
. -
QPageSize
Overloaded constructor for
QPageSize(io.qt.core.QSize, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
with:
name = (String)null
matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
-
QPageSize
Overloaded constructor for
QPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
. -
QPageSize
Overloaded constructor for
QPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
with:
name = (String)null
matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
-
QPageSize
Overloaded constructor for
QPageSize(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
. -
QPageSize
Overloaded constructor for
QPageSize(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
with:
name = (String)null
matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
-
QPageSize
public QPageSize(QSize size, QPageSize.Unit units, String name, QPageSize.SizeMatchPolicy matchPolicy) Overloaded constructor for
QPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)
.
-
-
Method Details
-
definitionSize
-
definitionUnits
-
id
-
isEquivalentTo
-
isValid
-
key
-
name
-
assign
-
equals
-
rect
-
rectPixels
-
rectPoints
-
size
-
sizePixels
-
sizePoints
-
swap
-
windowsId
-
definitionSize
-
definitionUnits
-
id
-
id
public static QPageSize.PageSizeId id(QSizeF size, QPageSize.Unit units, QPageSize.SizeMatchPolicy matchPolicy) -
id
-
key
-
name
-
size
-
sizePixels
-
sizePoints
-
windowsId
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QPageSize)
. -
toString
See
operator<<(QDebug,
QPageSize) -
clone
Creates and returns a copy of this object.
-
isEquivalentTo
Overloaded function for
isEquivalentTo(io.qt.gui.QPageSize)
. -
assign
Overloaded function for
assign(io.qt.gui.QPageSize)
. -
equals
Overloaded function for
equals(io.qt.gui.QPageSize)
. -
id
Overloaded function for
id(io.qt.core.QSize, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
. -
id
Overloaded function for
id(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
. -
id
Overloaded function for
id(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
. -
id
public static QPageSize.PageSizeId id(QSize size, QPageSize.Unit units, QPageSize.SizeMatchPolicy matchPolicy) Overloaded function for
id(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)
.
-