- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines the four margins of a rectangle
Java wrapper for Qt class QMarginsF
-
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) final QMarginsF
divide
(double divisor) final boolean
Overloaded function forequals(io.qt.core.QMarginsF)
.final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QMarginsF)
.final boolean
isNull()
final double
left()
final QMarginsF
Overloaded function formaximum(io.qt.core.QMarginsF)
.final QMarginsF
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) final double
right()
final void
setBottom
(double abottom) final void
setLeft
(double aleft) final void
setRight
(double aright) final void
setTop
(double atop) 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) 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
- Parameters:
divisor
-- Returns:
-
divide
- Parameters:
divisor
-- Returns:
-
writeTo
- Parameters:
arg__1
-
-
equals
- Parameters:
rhs
-- Returns:
-
readFrom
- Parameters:
arg__1
-
-
maximum
- Parameters:
m2
-- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
right
- Returns:
-
setBottom
- Parameters:
abottom
-
-
setLeft
- Parameters:
aleft
-
-
setRight
- Parameters:
aright
-
-
setTop
- Parameters:
atop
-
-
toMargins
- Returns:
-
top
- Returns:
-
equals
-
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)
. -
maximum
Overloaded function for
maximum(io.qt.core.QMarginsF)
.
-