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