org.kde.qt
public class QRect extends Object implements QtSupport
Constructor Summary | |
---|---|
protected | QRect(Class dummy) |
QRect() | |
QRect(QPoint topleft, QPoint bottomright) | |
QRect(QPoint topleft, QSize size) | |
QRect(int left, int top, int width, int height) |
Method Summary | |
---|---|
void | addCoords(int x1, int y1, int x2, int y2) |
int | bottom() |
QPoint | bottomLeft() |
QPoint | bottomRight() |
QPoint | center() |
boolean | contains(QPoint p, boolean proper) |
boolean | contains(QPoint p) |
boolean | contains(int x, int y) |
boolean | contains(int x, int y, boolean proper) |
boolean | contains(QRect r, boolean proper) |
boolean | contains(QRect r) |
void | coords(int[] x1, int[] y1, int[] x2, int[] y2) |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
int | height() |
QRect | intersect(QRect r) |
boolean | intersects(QRect r) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isEmpty() |
boolean | isNull() |
boolean | isValid() |
int | left() |
void | moveBottom(int pos) |
void | moveBottomLeft(QPoint p) |
void | moveBottomRight(QPoint p) |
void | moveBy(int dx, int dy) |
void | moveCenter(QPoint p) |
void | moveLeft(int pos) |
void | moveRight(int pos) |
void | moveTop(int pos) |
void | moveTopLeft(QPoint p) |
void | moveTopRight(QPoint p) |
QRect | normalize() |
QRect | op_and(QRect r) |
QRect | op_and_assign(QRect r) |
QRect | op_or(QRect r) |
QRect | op_or_assign(QRect r) |
short | rBottom() |
void | rect(int[] x, int[] y, int[] w, int[] h) |
int | right() |
short | rLeft() |
short | rRight() |
short | rTop() |
void | setBottom(int pos) |
void | setBottomLeft(QPoint p) |
void | setBottomRight(QPoint p) |
void | setCoords(int x1, int y1, int x2, int y2) |
void | setHeight(int h) |
void | setLeft(int pos) |
void | setRect(int x, int y, int w, int h) |
void | setRight(int pos) |
void | setSize(QSize s) |
void | setTop(int pos) |
void | setTopLeft(QPoint p) |
void | setTopRight(QPoint p) |
void | setWidth(int w) |
void | setX(int x) |
void | setY(int y) |
QSize | size() |
int | top() |
QPoint | topLeft() |
QPoint | topRight() |
QRect | unite(QRect r) |
int | width() |
int | x() |
int | y() |