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) Seeoperator/(QSize,
qreal) final QSize
divide
(double c) final boolean
Seeoperator==(QSize,
QSize) boolean
Seeoperator==(QSize,
QSize) 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
Seeoperator-(QSize,
QSize) final QSize
multiply
(double c) final QSize
Seeoperator+(QSize,
QSize) void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QSize&) 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) toString()
Seeoperator<<(QDebug,
QSize) final void
final QSize
final int
width()
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QSize) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSize
public QSize()See
QSize::
QSize() -
QSize
See
QSize::
QSize(QSize) - Parameters:
other
-
-
QSize
public QSize(int w, int h) - Parameters:
w
-h
-
-
-
Method Details
-
boundedTo
- Parameters:
arg__1
-- Returns:
-
expandedTo
- Parameters:
arg__1
-- Returns:
-
grownBy
- Parameters:
m
-- Returns:
-
height
- Returns:
-
isEmpty
- Returns:
-
isNull
- Returns:
-
isValid
- Returns:
-
times
See
operator*(QSize,
qreal) - Parameters:
c
-- Returns:
-
multiply
- Parameters:
c
-- Returns:
-
plus
See
operator+(QSize,
QSize) - Parameters:
s2
-- Returns:
-
add
- Parameters:
arg__1
-- Returns:
-
minus
See
operator-(QSize,
QSize) - Parameters:
s2
-- Returns:
-
subtract
- Parameters:
arg__1
-- Returns:
-
div
See
operator/(QSize,
qreal) - Parameters:
c
-- Returns:
-
divide
- Parameters:
c
-- Returns:
-
writeTo
See
operator<<(QDataStream&,
QSize) - Parameters:
arg__1
-
-
equals
See
operator==(QSize,
QSize) - Parameters:
s2
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QSize&) - Parameters:
arg__1
-
-
scale
- Parameters:
s
-mode
-
-
scale
- Parameters:
w
-h
-mode
-
-
scaled
- Parameters:
s
-mode
-- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
scaled
- Parameters:
w
-h
-mode
-- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
setHeight
- Parameters:
h
-
-
setWidth
- Parameters:
w
-
-
shrunkBy
- Parameters:
m
-- Returns:
-
transpose
-
transposed
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
width
- Returns:
-
equals
See
operator==(QSize,
QSize) -
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)
-