java.lang.Object
io.qt.internal.NativeUtility.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's 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
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 QSize
expandedTo
(QSize arg__1) final QSize
int
hashCode()
final int
height()
final boolean
isEmpty()
final boolean
isNull()
final boolean
isValid()
final QSize
multiply
(double c) 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
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
-
multiply
-
add
-
subtract
-
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 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
-