java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QSize
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSize extends QtObject implements Cloneable
Defines the size of a two-dimensional object using integer point precision
Java wrapper for Qt class QSize
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QSize()
See QSize::QSize()QSize(int w, int h)
protected
QSize(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QSize
add(QSize arg__1)
QSize
boundedTo(QSize arg__1)
QSize
clone()
QSize
divide(double c)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.QSize
expandedTo(QSize arg__1)
QSize
grownBy(QMargins m)
int
hashCode()
int
height()
boolean
isEmpty()
boolean
isNull()
boolean
isValid()
QSize
multiply(double c)
void
readFrom(QDataStream arg__1)
void
scale(int w, int h, Qt.AspectRatioMode mode)
void
scale(QSize s, Qt.AspectRatioMode mode)
QSize
scaled(int w, int h, Qt.AspectRatioMode mode)
QSize
scaled(QSize s, Qt.AspectRatioMode mode)
void
setHeight(int h)
void
setWidth(int w)
QSize
shrunkBy(QMargins m)
QSize
subtract(QSize arg__1)
String
toString()
void
transpose()
QSize
transposed()
int
width()
void
writeTo(QDataStream arg__1)
-
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 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
public int hashCode() -
toString
-
clone
-