java.lang.Object
io.qt.internal.QtJambiObject
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
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQSize()
See QSize::QSize()QSize
(int w, int h) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QSize
final QSize
clone()
final QSize
div
(double c) final QSize
divide
(double c) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final QSize
expandedTo
(QSize arg__1) final QSize
int
hashCode()
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) toString()
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
public QSize(int w, int h) -
QSize
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
-
transpose
-
transposed
-
width
-
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
-