- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the size and name of a defined page size
Java wrapper for Qt's class QPageSize
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QPageSize::PageSizeIdstatic enum
Java wrapper for Qt enum QPageSize::SizeMatchPolicystatic enum
Java wrapper for Qt enum QPageSize::UnitNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded 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) 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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QSizeF
static QSizeF
definitionSize
(QPageSize.PageSizeId pageSizeId) final QPageSize.Unit
static QPageSize.Unit
definitionUnits
(QPageSize.PageSizeId pageSizeId) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
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) final boolean
isEquivalentTo
(QPageSize other) 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()
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
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
-
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
public QPageSize(QSizeF size, QPageSize.Unit units, String name, QPageSize.SizeMatchPolicy matchPolicy) -
QPageSize
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
definitionSize
-
definitionUnits
-
id
-
isEquivalentTo
-
isValid
-
key
-
name
-
rect
-
rectPixels
-
rectPoints
-
size
-
sizePixels
-
sizePoints
-
swap
-
windowsId
-
definitionSize
-
definitionUnits
-
id
Overloaded function for
id(io.qt.core.QSize, io.qt.gui.QPageSize.SizeMatchPolicy)
withmatchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
. -
id
-
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
public static QPageSize.PageSizeId id(QSizeF size, QPageSize.Unit units, QPageSize.SizeMatchPolicy matchPolicy) -
id
-
key
-
name
-
size
-
sizePixels
-
sizePoints
-
windowsId
-
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
-