java.lang.Object
io.qt.internal.QtJambiObject
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
-
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
divide
(double arg__1) final QMargins
divide
(int arg__1) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final boolean
isNull()
final int
left()
final QMargins
multiply
(double arg__1) final QMargins
multiply
(int arg__1) 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 int
top()
toString()
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
-
multiply
-
multiply
-
add
-
add
-
subtract
-
subtract
-
divide
-
divide
-
writeTo
-
readFrom
-
right
-
setBottom
-
setLeft
-
setRight
-
setTop
-
top
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-