- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the size and name of a defined page size
Java wrapper for Qt class QPageSize
- Since:
- This class was introduced in Qt 5.3.
-
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
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
Seeoperator==(QPageSize,
QPageSize) boolean
Seeoperator==(QPageSize,
QPageSize) 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
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
- Parameters:
other
-
-
QPageSize
- Parameters:
pageSizeId
-
-
QPageSize
- Parameters:
pointSize
-name
-matchPolicy
-
-
QPageSize
public QPageSize(QSizeF size, QPageSize.Unit units, String name, QPageSize.SizeMatchPolicy matchPolicy) - Parameters:
size
-units
-name
-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
- Returns:
-
definitionUnits
- Returns:
-
id
- Returns:
-
isEquivalentTo
- Parameters:
other
-- Returns:
-
isValid
- Returns:
-
key
- Returns:
-
name
- Returns:
-
assign
- Parameters:
other
-
-
equals
See
operator==(QPageSize,
QPageSize) - Parameters:
rhs
-- Returns:
-
rect
- Parameters:
units
-- Returns:
-
rectPixels
- Parameters:
resolution
-- Returns:
-
rectPoints
- Returns:
-
size
- Parameters:
units
-- Returns:
-
sizePixels
- Parameters:
resolution
-- Returns:
-
sizePoints
- Returns:
-
swap
- Parameters:
other
-
-
windowsId
- Returns:
-
definitionSize
- Parameters:
pageSizeId
-- Returns:
-
definitionUnits
- Parameters:
pageSizeId
-- Returns:
-
id
- Parameters:
pointSize
-matchPolicy
-- Returns:
-
id
public static QPageSize.PageSizeId id(QSizeF size, QPageSize.Unit units, QPageSize.SizeMatchPolicy matchPolicy) - Parameters:
size
-units
-matchPolicy
-- Returns:
-
id
- Parameters:
windowsId
-- Returns:
-
key
- Parameters:
pageSizeId
-- Returns:
-
name
- Parameters:
pageSizeId
-- Returns:
-
size
- Parameters:
pageSizeId
-units
-- Returns:
-
sizePixels
- Parameters:
pageSizeId
-resolution
-- Returns:
-
sizePoints
- Parameters:
pageSizeId
-- Returns:
-
windowsId
- Parameters:
pageSizeId
-- Returns:
-
equals
See
operator==(QPageSize,
QPageSize) -
hashCode
Returns the objects's hash code computed byqHash(QPageSize)
. -
toString
See
operator<<(QDebug,
QPageSize) -
clone
Creates and returns a copy of this object.
-
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)
.
-