QRect

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@QMetaType.Type.QRect
@Q_MOVABLE_TYPE
struct QRect {}

Constructors

this
this(const(QPoint) atopLeft, const(QPoint) abottomRight)
Undocumented in source.
this
this(const(QPoint) atopLeft, const(QSize) asize)
Undocumented in source.
this
this(int aleft, int atop, int awidth, int aheight)
Undocumented in source.

Members

Functions

adjust
void adjust(int dx1, int dy1, int dx2, int dy2)
Undocumented in source. Be warned that the author may not have intended to support it.
adjusted
QRect adjusted(int xp1, int yp1, int xp2, int yp2)
Undocumented in source. Be warned that the author may not have intended to support it.
bottom
int bottom()
Undocumented in source. Be warned that the author may not have intended to support it.
bottomLeft
QPoint bottomLeft()
Undocumented in source. Be warned that the author may not have intended to support it.
bottomRight
QPoint bottomRight()
Undocumented in source. Be warned that the author may not have intended to support it.
center
QPoint center()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(const(QRect) r, bool proper)
Undocumented in source.
contains
bool contains(const(QPoint) p, bool proper)
Undocumented in source.
contains
bool contains(int ax, int ay)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(int ax, int ay, bool aproper)
Undocumented in source. Be warned that the author may not have intended to support it.
getCoords
void getCoords(int* xp1, int* yp1, int* xp2, int* yp2)
Undocumented in source. Be warned that the author may not have intended to support it.
getRect
void getRect(int* ax, int* ay, int* aw, int* ah)
Undocumented in source. Be warned that the author may not have intended to support it.
height
int height()
Undocumented in source. Be warned that the author may not have intended to support it.
intersected
QRect intersected(const(QRect) other)
Undocumented in source. Be warned that the author may not have intended to support it.
intersects
bool intersects(const(QRect) r)
Undocumented in source.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.
left
int left()
Undocumented in source. Be warned that the author may not have intended to support it.
marginsAdded
QRect marginsAdded(const(QMargins) margins)
Undocumented in source. Be warned that the author may not have intended to support it.
marginsRemoved
QRect marginsRemoved(const(QMargins) margins)
Undocumented in source. Be warned that the author may not have intended to support it.
moveBottom
void moveBottom(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveBottomLeft
void moveBottomLeft(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveBottomRight
void moveBottomRight(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveCenter
void moveCenter(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveLeft
void moveLeft(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveRight
void moveRight(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTo
void moveTo(int ax, int ay)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTo
void moveTo(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTop
void moveTop(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTopLeft
void moveTopLeft(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTopRight
void moveTopRight(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
normalized
QRect normalized()
Undocumented in source.
opBinary
QRect opBinary(const(QRect) r)
Undocumented in source.
opBinary
QRect opBinary(const(QRect) r)
Undocumented in source.
opOpAssign
QRect opOpAssign(const(QRect) r)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QRect opOpAssign(const(QRect) r)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QRect opOpAssign(const(QMargins) margins)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
QRect opOpAssign(const(QMargins) margins)
Undocumented in source. Be warned that the author may not have intended to support it.
right
int right()
Undocumented in source. Be warned that the author may not have intended to support it.
setBottom
void setBottom(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setBottomLeft
void setBottomLeft(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setBottomRight
void setBottomRight(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setCoords
void setCoords(int xp1, int yp1, int xp2, int yp2)
Undocumented in source. Be warned that the author may not have intended to support it.
setHeight
void setHeight(int h)
Undocumented in source. Be warned that the author may not have intended to support it.
setLeft
void setLeft(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setRect
void setRect(int ax, int ay, int aw, int ah)
Undocumented in source. Be warned that the author may not have intended to support it.
setRight
void setRight(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setSize
void setSize(const(QSize) s)
Undocumented in source. Be warned that the author may not have intended to support it.
setTop
void setTop(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
setTopLeft
void setTopLeft(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setTopRight
void setTopRight(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setWidth
void setWidth(int w)
Undocumented in source. Be warned that the author may not have intended to support it.
setX
void setX(int ax)
Undocumented in source. Be warned that the author may not have intended to support it.
setY
void setY(int ay)
Undocumented in source. Be warned that the author may not have intended to support it.
size
QSize size()
Undocumented in source. Be warned that the author may not have intended to support it.
top
int top()
Undocumented in source. Be warned that the author may not have intended to support it.
topLeft
QPoint topLeft()
Undocumented in source. Be warned that the author may not have intended to support it.
topRight
QPoint topRight()
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(int dx, int dy)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
translated
QRect translated(int dx, int dy)
Undocumented in source. Be warned that the author may not have intended to support it.
translated
QRect translated(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
transposed
QRect transposed()
Undocumented in source. Be warned that the author may not have intended to support it.
united
QRect united(const(QRect) r)
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width()
Undocumented in source. Be warned that the author may not have intended to support it.
x
int x()
Undocumented in source. Be warned that the author may not have intended to support it.
y
int y()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta