- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines the four margins of a rectangle
Java wrapper for Qt class QMarginsF
- Since:
- This class was introduced in Qt 5.3.
-
Constructor Summary
ConstructorDescriptionQMarginsF
(double left, double top, double right, double bottom) SeeQMarginsF::
QMarginsF(QMarginsF) -
Method Summary
Modifier and TypeMethodDescriptionfinal QMarginsF
add
(double addend) final QMarginsF
Overloaded function foradd(io.qt.core.QMarginsF)
.final QMarginsF
final double
bottom()
clone()
Creates and returns a copy of this object.final QMarginsF
div
(double divisor) Seeoperator/(QMarginsF,
qreal) final QMarginsF
divide
(double divisor) final boolean
Overloaded function forequals(io.qt.core.QMarginsF)
.final boolean
Seeoperator==(QMarginsF,
QMarginsF) boolean
Seeoperator==(QMarginsF,
QMarginsF) int
hashCode()
Returns the objects's hash code computed byqHash(QMarginsF)
.final boolean
isNull()
final double
left()
final QMarginsF
minus
(double rhs) Seeoperator-(QMarginsF,
qreal) final QMarginsF
Overloaded function forminus(io.qt.core.QMarginsF)
.final QMarginsF
final QMarginsF
multiply
(double factor) final QMarginsF
plus
(double rhs) Seeoperator+(QMarginsF,
qreal) final QMarginsF
Overloaded function forplus(io.qt.core.QMarginsF)
.final QMarginsF
final QRectF
Overloaded function forplus(io.qt.core.QRectF)
.final QRectF
Seeoperator+(QMarginsF,
QRectF) void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QMarginsF&) final double
right()
final void
setBottom
(double bottom) final void
setLeft
(double left) final void
setRight
(double right) final void
setTop
(double top) final QMarginsF
subtract
(double subtrahend) final QMarginsF
Overloaded function forsubtract(io.qt.core.QMarginsF)
.final QMarginsF
final QMarginsF
times
(double rhs) Seeoperator*(QMarginsF,
qreal) final QMargins
final double
top()
toString()
Seeoperator<<(QDebug,
QMarginsF) final QMarginsF
Seeoperator-(QMarginsF)
final QMarginsF
Seeoperator+(QMarginsF)
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QMarginsF) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMarginsF
public QMarginsF() -
QMarginsF
- Parameters:
margins
-
-
QMarginsF
See
QMarginsF::
QMarginsF(QMarginsF) - Parameters:
other
-
-
QMarginsF
public QMarginsF(double left, double top, double right, double bottom) - Parameters:
left
-top
-right
-bottom
-
-
-
Method Details
-
bottom
- Returns:
-
isNull
- Returns:
-
left
- Returns:
-
times
See
operator*(QMarginsF,
qreal) - Parameters:
rhs
-- Returns:
-
multiply
- Parameters:
factor
-- Returns:
-
unaryPlus
See
operator+(QMarginsF)
- Returns:
-
plus
- Parameters:
rhs
-- Returns:
-
plus
See
operator+(QMarginsF,
QRectF) - Parameters:
rhs
-- Returns:
-
plus
See
operator+(QMarginsF,
qreal) - Parameters:
rhs
-- Returns:
-
add
- Parameters:
margins
-- Returns:
-
add
- Parameters:
addend
-- Returns:
-
unaryMinus
See
operator-(QMarginsF)
- Returns:
-
minus
- Parameters:
rhs
-- Returns:
-
minus
See
operator-(QMarginsF,
qreal) - Parameters:
rhs
-- Returns:
-
subtract
- Parameters:
margins
-- Returns:
-
subtract
- Parameters:
subtrahend
-- Returns:
-
div
See
operator/(QMarginsF,
qreal) - Parameters:
divisor
-- Returns:
-
divide
- Parameters:
divisor
-- Returns:
-
writeTo
See
operator<<(QDataStream&,
QMarginsF) - Parameters:
arg__1
-
-
equals
See
operator==(QMarginsF,
QMarginsF) - Parameters:
rhs
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QMarginsF&) - Parameters:
arg__1
-
-
right
- Returns:
-
setBottom
- Parameters:
bottom
-
-
setLeft
- Parameters:
left
-
-
setRight
- Parameters:
right
-
-
setTop
- Parameters:
top
-
-
toMargins
- Returns:
-
top
- Returns:
-
equals
See
operator==(QMarginsF,
QMarginsF) -
hashCode
Returns the objects's hash code computed byqHash(QMarginsF)
. -
toString
See
operator<<(QDebug,
QMarginsF) -
clone
Creates and returns a copy of this object.
See
QMarginsF::
QMarginsF(QMarginsF) -
plus
Overloaded function for
plus(io.qt.core.QMarginsF)
. -
plus
Overloaded function for
plus(io.qt.core.QRectF)
. -
add
Overloaded function for
add(io.qt.core.QMarginsF)
. -
minus
Overloaded function for
minus(io.qt.core.QMarginsF)
. -
subtract
Overloaded function for
subtract(io.qt.core.QMarginsF)
. -
equals
Overloaded function for
equals(io.qt.core.QMarginsF)
.
-