java.lang.Object
io.qt.QtObject
io.qt.core.QSize
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines the size of a two-dimensional object using integer point precision
Java wrapper for Qt class QSize
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QSize
final QSize
clone()
Creates and returns a copy of this object.final QSize
div
(double c) final QSize
divide
(double c) final boolean
boolean
final QSize
expandedTo
(QSize arg__1) final QSize
int
hashCode()
Returns the objects's hash code computed byqHash(QSize)
.final int
height()
final boolean
isEmpty()
final boolean
isNull()
final boolean
isValid()
final QSize
final QSize
multiply
(double c) final QSize
void
readFrom
(QDataStream arg__1) final void
scale
(int w, int h, Qt.AspectRatioMode mode) final void
scale
(QSize s, Qt.AspectRatioMode mode) final QSize
scaled
(int w, int h, Qt.AspectRatioMode mode) final QSize
scaled
(QSize s, Qt.AspectRatioMode mode) final void
setHeight
(int h) final void
setWidth
(int w) final QSize
final QSize
final QSize
times
(double c) Seeoperator*(QSize,
qreal) final QSizeF
toSizeF()
toString()
Seeoperator<<(QDebug,
QSize) final void
final QSize
final int
width()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSize
public QSize()See
QSize::
QSize() -
QSize
See
QSize::
QSize(QSize) -
QSize
public QSize(int w, int h)
-
-
Method Details
-
boundedTo
-
expandedTo
-
grownBy
-
height
-
isEmpty
-
isNull
-
isValid
-
times
See
operator*(QSize,
qreal) -
multiply
-
plus
-
add
-
minus
-
subtract
-
div
-
divide
-
writeTo
-
equals
-
readFrom
-
scale
-
scale
-
scaled
-
scaled
-
setHeight
-
setWidth
-
shrunkBy
-
toSizeF
-
transpose
-
transposed
-
width
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QSize)
. -
toString
See
operator<<(QDebug,
QSize) -
clone
Creates and returns a copy of this object.
See
QSize::
QSize(QSize)
-