- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines the size of a two-dimensional object using floating point precision
Java wrapper for Qt class QSizeF
-
Constructor Summary
ConstructorDescriptionQSizeF()
SeeQSizeF::
QSizeF() QSizeF
(double w, double h) SeeQSizeF::
QSizeF(QSizeF) -
Method Summary
Modifier and TypeMethodDescriptionfinal QSizeF
Overloaded function foradd(io.qt.core.QSizeF)
.final QSizeF
final QSizeF
Overloaded function forboundedTo(io.qt.core.QSizeF)
.final QSizeF
clone()
Creates and returns a copy of this object.final QSizeF
div
(double c) final QSizeF
divide
(double c) final boolean
final boolean
boolean
Checks for equality depending on the type of given object.final QSizeF
expandedTo
(QSize arg__1) Overloaded function forexpandedTo(io.qt.core.QSizeF)
.final QSizeF
expandedTo
(QSizeF arg__1) final QSizeF
Overloaded function forgrownBy(io.qt.core.QMarginsF)
.final QSizeF
int
hashCode()
Returns the objects's hash code computed byqHash(QSizeF)
.final double
height()
final boolean
isEmpty()
final boolean
isNull()
final boolean
isValid()
final QSizeF
Overloaded function forminus(io.qt.core.QSizeF)
.final QSizeF
final QSizeF
multiply
(double c) final QSizeF
Overloaded function forplus(io.qt.core.QSizeF)
.final QSizeF
static boolean
qFuzzyCompare
(QSizeF s1, QSize s2) Overloaded function forqFuzzyCompare(io.qt.core.QSizeF, io.qt.core.QSizeF)
.static boolean
qFuzzyCompare
(QSizeF s1, QSizeF s2) static boolean
qFuzzyCompare
(QSize s1, QSize s2) Overloaded function forqFuzzyCompare(io.qt.core.QSizeF, io.qt.core.QSizeF)
.static boolean
qFuzzyCompare
(QSize s1, QSizeF s2) Overloaded function forqFuzzyCompare(io.qt.core.QSizeF, io.qt.core.QSizeF)
.static boolean
qFuzzyIsNull
(QSize size) Overloaded function forqFuzzyIsNull(io.qt.core.QSizeF)
.static boolean
qFuzzyIsNull
(QSizeF size) void
readFrom
(QDataStream arg__1) final void
scale
(double w, double h, Qt.AspectRatioMode mode) final void
scale
(QSizeF s, Qt.AspectRatioMode mode) final void
scale
(QSize s, Qt.AspectRatioMode mode) Overloaded function forscale(io.qt.core.QSizeF, io.qt.core.Qt.AspectRatioMode)
.final QSizeF
scaled
(double w, double h, Qt.AspectRatioMode mode) final QSizeF
scaled
(QSizeF s, Qt.AspectRatioMode mode) final QSizeF
scaled
(QSize s, Qt.AspectRatioMode mode) Overloaded function forscaled(io.qt.core.QSizeF, io.qt.core.Qt.AspectRatioMode)
.final void
setHeight
(double h) final void
setWidth
(double w) final QSizeF
Overloaded function forshrunkBy(io.qt.core.QMarginsF)
.final QSizeF
final QSizeF
Overloaded function forsubtract(io.qt.core.QSizeF)
.final QSizeF
final QSizeF
times
(double c) Seeoperator*(QSizeF,
qreal) final QSize
toSize()
toString()
Seeoperator<<(QDebug,
QSizeF) final void
final QSizeF
final double
width()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSizeF
public QSizeF()See
QSizeF::
QSizeF() -
QSizeF
- Parameters:
sz
-
-
QSizeF
See
QSizeF::
QSizeF(QSizeF) - Parameters:
other
-
-
QSizeF
public QSizeF(double w, double h) - Parameters:
w
-h
-
-
-
Method Details
-
boundedTo
- Parameters:
arg__1
-- Returns:
-
expandedTo
- Parameters:
arg__1
-- Returns:
-
grownBy
- Parameters:
m
-- Returns:
-
height
- Returns:
-
isEmpty
- Returns:
-
isNull
- Returns:
-
isValid
- Returns:
-
times
See
operator*(QSizeF,
qreal) - Parameters:
c
-- Returns:
-
multiply
- Parameters:
c
-- Returns:
-
plus
- Parameters:
s2
-- Returns:
-
add
- Parameters:
arg__1
-- Returns:
-
minus
- Parameters:
s2
-- Returns:
-
subtract
- Parameters:
arg__1
-- Returns:
-
div
- Parameters:
c
-- Returns:
-
divide
- Parameters:
c
-- Returns:
-
writeTo
- Parameters:
arg__1
-
-
equals
- Parameters:
rhs
-- Returns:
-
equals
- Parameters:
rhs
-- Returns:
-
readFrom
- Parameters:
arg__1
-
-
scale
- Parameters:
s
-mode
-
-
scale
- Parameters:
w
-h
-mode
-
-
scaled
- Parameters:
s
-mode
-- Returns:
-
scaled
- Parameters:
w
-h
-mode
-- Returns:
-
setHeight
- Parameters:
h
-
-
setWidth
- Parameters:
w
-
-
shrunkBy
- Parameters:
m
-- Returns:
-
toSize
- Returns:
-
transpose
-
transposed
- Returns:
-
width
- Returns:
-
qFuzzyCompare
- Parameters:
s1
-s2
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
qFuzzyIsNull
- Parameters:
size
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
equals
Checks for equality depending on the type of given object.
ckecked by toQSizeF
operator==(QSizeF,
QSizeF)
ckecked by toQSize
operator==(QSizeF,
QSize)
-
hashCode
Returns the objects's hash code computed byqHash(QSizeF)
. -
toString
See
operator<<(QDebug,
QSizeF) -
clone
Creates and returns a copy of this object.
See
QSizeF::
QSizeF(QSizeF) -
boundedTo
Overloaded function for
boundedTo(io.qt.core.QSizeF)
. -
expandedTo
Overloaded function for
expandedTo(io.qt.core.QSizeF)
. -
grownBy
Overloaded function for
grownBy(io.qt.core.QMarginsF)
. -
plus
Overloaded function for
plus(io.qt.core.QSizeF)
. -
add
Overloaded function for
add(io.qt.core.QSizeF)
. -
minus
Overloaded function for
minus(io.qt.core.QSizeF)
. -
subtract
Overloaded function for
subtract(io.qt.core.QSizeF)
. -
scale
Overloaded function for
scale(io.qt.core.QSizeF, io.qt.core.Qt.AspectRatioMode)
. -
scaled
Overloaded function for
scaled(io.qt.core.QSizeF, io.qt.core.Qt.AspectRatioMode)
. -
shrunkBy
Overloaded function for
shrunkBy(io.qt.core.QMarginsF)
. -
qFuzzyCompare
Overloaded function for
qFuzzyCompare(io.qt.core.QSizeF, io.qt.core.QSizeF)
. -
qFuzzyCompare
Overloaded function for
qFuzzyCompare(io.qt.core.QSizeF, io.qt.core.QSizeF)
. -
qFuzzyCompare
Overloaded function for
qFuzzyCompare(io.qt.core.QSizeF, io.qt.core.QSizeF)
. -
qFuzzyIsNull
Overloaded function for
qFuzzyIsNull(io.qt.core.QSizeF)
.
-