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
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
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 QMarginsF
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
-
toMarginsF
-
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
-