java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QMargins
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QMargins extends QtObject implements Cloneable
Defines the four margins of a rectangle
Java wrapper for Qt class QMargins
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QMargins()
QMargins(int left, int top, int right, int bottom)
protected
QMargins(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QMargins
add(int arg__1)
QMargins
add(QMargins margins)
int
bottom()
QMargins
clone()
QMargins
divide(double arg__1)
QMargins
divide(int arg__1)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
isNull()
int
left()
QMargins
multiply(double arg__1)
QMargins
multiply(int arg__1)
void
readFrom(QDataStream arg__1)
int
right()
void
setBottom(int bottom)
void
setLeft(int left)
void
setRight(int right)
void
setTop(int top)
QMargins
subtract(int arg__1)
QMargins
subtract(QMargins margins)
int
top()
String
toString()
void
writeTo(QDataStream arg__1)
-
Constructor Details
-
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
-