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
- Since:
- This class was introduced in Qt 4.6.
-
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
Seeoperator==(QMargins,
QMargins) boolean
Seeoperator==(QMargins,
QMargins) int
hashCode()
Returns the objects's hash code computed byqHash(QMargins)
.final boolean
isNull()
final int
left()
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) Seeoperator>>(QDataStream&,
QMargins&) 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 int
top()
toString()
Seeoperator<<(QDebug,
QMargins) final QMargins
Seeoperator-(QMargins)
final QMargins
Seeoperator+(QMargins)
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QMargins) 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:
- Since:
- This function was introduced in Qt 5.1.
-
multiply
- Parameters:
arg__1
-- Returns:
- Since:
- This function was introduced in Qt 5.1.
-
unaryPlus
See
operator+(QMargins)
- Returns:
-
plus
- Parameters:
m2
-- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
plus
See
operator+(QMargins,
QRect) - Parameters:
rectangle
-- Returns:
-
plus
See
operator+(QMargins,
int) - Parameters:
rhs
-- Returns:
-
add
- Parameters:
margins
-- Returns:
- Since:
- This function was introduced in Qt 5.1.
-
add
- Parameters:
arg__1
-- Returns:
-
unaryMinus
See
operator-(QMargins)
- Returns:
-
minus
- Parameters:
m2
-- Returns:
- Since:
- This function was introduced in Qt 5.1.
-
minus
See
operator-(QMargins,
int) - Parameters:
rhs
-- Returns:
-
subtract
- Parameters:
margins
-- Returns:
- Since:
- This function was introduced in Qt 5.1.
-
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:
- Since:
- This function was introduced in Qt 5.1.
-
divide
- Parameters:
arg__1
-- Returns:
- Since:
- This function was introduced in Qt 5.1.
-
writeTo
See
operator<<(QDataStream&,
QMargins) - Parameters:
arg__1
-
-
equals
See
operator==(QMargins,
QMargins) - Parameters:
m2
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QMargins&) - Parameters:
arg__1
-
-
right
- Returns:
-
setBottom
- Parameters:
bottom
-
-
setLeft
- Parameters:
left
-
-
setRight
- Parameters:
right
-
-
setTop
- Parameters:
top
-
-
top
- Returns:
-
equals
See
operator==(QMargins,
QMargins) -
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)
-