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's class QMargins
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QMargins
add
(int arg__1) final QMargins
final int
bottom()
clone()
final QMargins
div
(double divisor) final QMargins
div
(int divisor) final QMargins
divide
(double arg__1) final QMargins
divide
(int arg__1) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final boolean
isNull()
final int
left()
final QMargins
minus
(int rhs) final QMargins
final QMargins
multiply
(double arg__1) final QMargins
multiply
(int arg__1) final QMargins
plus
(int rhs) final QMargins
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) final QMargins
times
(int factor) final int
top()
toString()
final QMargins
final QMargins
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMargins
public QMargins() -
QMargins
public QMargins(int left, int top, int right, int bottom) -
QMargins
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bottom
-
isNull
-
left
-
times
-
times
-
multiply
-
multiply
-
unaryPlus
-
plus
-
plus
-
add
-
add
-
unaryMinus
-
minus
-
minus
-
subtract
-
subtract
-
div
-
div
-
divide
-
divide
-
writeTo
-
readFrom
-
right
-
setBottom
-
setLeft
-
setRight
-
setTop
-
top
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-