java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QRect
- All Implemented Interfaces:
QtObjectInterface,Cloneable
Defines a rectangle in the plane using integer precision
Java wrapper for Qt class QRect
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQRect()See QRect::QRect()QRect(int left, int top, int width, int height) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QRectfinal voidadjust(int x1, int y1, int x2, int y2) final QRectadjusted(int x1, int y1, int x2, int y2) final intbottom()final QPointfinal QPointfinal QPointcenter()clone()final booleancontains(int x, int y) final booleancontains(int x, int y, boolean proper) final booleanOverloaded function forcontains(io.qt.core.QPoint, boolean)withproper = false.final booleanfinal booleanOverloaded function forcontains(io.qt.core.QRect, boolean)withproper = false.final booleanbooleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final intheight()final QRectintersected(QRect other) final booleanintersects(QRect r) final booleanisEmpty()final booleanisNull()final booleanisValid()final intleft()final QRectmarginsAdded(QMargins margins) final QRectmarginsRemoved(QMargins margins) final voidmoveBottom(int pos) final voidfinal voidfinal voidmoveCenter(QPoint p) final voidmoveLeft(int pos) final voidmoveRight(int pos) final voidmoveTo(int x, int t) final voidfinal voidmoveTop(int pos) final voidfinal voidfinal QRectvoidreadFrom(QDataStream arg__1) final intright()final voidsetBottom(int pos) final voidfinal voidfinal voidsetCoords(int x1, int y1, int x2, int y2) final voidsetHeight(int h) final voidsetLeft(int pos) final voidsetRect(int x, int y, int w, int h) final voidsetRight(int pos) final voidfinal voidsetTop(int pos) final voidsetTopLeft(QPoint p) final voidfinal voidsetWidth(int w) final voidsetX(int x) See QRect::setX(int)final voidsetY(int y) See QRect::setY(int)final QSizesize()static QRectfinal QRectfinal inttop()final QPointtopLeft()final QPointtopRight()toString()final voidtranslate(int dx, int dy) final voidfinal QRecttranslated(int dx, int dy) final QRecttranslated(QPoint p) final QRectfinal QRectfinal intwidth()voidwriteTo(QDataStream arg__1) final intx()See QRect::x()constfinal inty()See QRect::y()constMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRect
public QRect()See QRect::QRect()
-
QRect
-
QRect
-
QRect
public QRect(int left, int top, int width, int height) -
QRect
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
adjust
-
adjusted
-
bottom
-
bottomLeft
-
bottomRight
-
center
-
contains
Overloaded function for
contains(io.qt.core.QPoint, boolean)withproper = false. -
contains
-
contains
Overloaded function for
contains(io.qt.core.QRect, boolean)withproper = false. -
contains
-
contains
-
contains
-
height
-
intersected
-
intersects
-
isEmpty
-
isNull
-
isValid
-
left
-
marginsAdded
-
marginsRemoved
-
moveBottom
-
moveBottomLeft
-
moveBottomRight
-
moveCenter
-
moveLeft
-
moveRight
-
moveTo
-
moveTo
-
moveTop
-
moveTopLeft
-
moveTopRight
-
normalized
-
add
-
subtract
-
writeTo
-
readFrom
-
right
-
setBottom
-
setBottomLeft
-
setBottomRight
-
setCoords
-
setHeight
-
setLeft
-
setRect
-
setRight
-
setSize
-
setTop
-
setTopLeft
-
setTopRight
-
setWidth
-
setX
See QRect::setX(int)
-
setY
See QRect::setY(int)
-
size
-
top
-
topLeft
-
topRight
-
translate
-
translate
-
translated
-
translated
-
transposed
-
united
-
width
-
x
See QRect::x()const
-
y
See QRect::y()const
-
span
-
equals
Description copied from class:QtObjectUsed 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
-