java.lang.Object
io.qt.QtObject
io.qt.core.QSizeF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines the size of a two-dimensional object using floating point precision
Java wrapper for Qt's class QSizeF
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQSizeF()
See QSizeF::QSizeF()QSizeF
(double w, double h) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QSizeF
final QSizeF
clone()
final QSizeF
div
(double c) final QSizeF
divide
(double c) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QSizeF
expandedTo
(QSizeF arg__1) final QSizeF
int
hashCode()
final double
height()
final boolean
isEmpty()
final boolean
isNull()
final boolean
isValid()
final QSizeF
final QSizeF
multiply
(double c) final QSizeF
void
readFrom
(QDataStream arg__1) final void
scale
(double w, double h, Qt.AspectRatioMode mode) final void
scale
(QSizeF s, Qt.AspectRatioMode mode) final QSizeF
scaled
(double w, double h, Qt.AspectRatioMode mode) final QSizeF
scaled
(QSizeF s, Qt.AspectRatioMode mode) final void
setHeight
(double h) final void
setWidth
(double w) final QSizeF
final QSizeF
final QSizeF
times
(double c) final QSize
toSize()
toString()
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
-
QSizeF
public QSizeF(double w, double h) -
QSizeF
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
boundedTo
-
expandedTo
-
grownBy
-
height
-
isEmpty
-
isNull
-
isValid
-
times
-
multiply
-
plus
-
add
-
minus
-
subtract
-
div
-
divide
-
writeTo
-
readFrom
-
scale
-
scale
-
scaled
-
scaled
-
setHeight
-
setWidth
-
shrunkBy
-
toSize
-
transpose
-
transposed
-
width
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-