API reference - Class QRectNotation used in Ruby API documentation Description: Binding of QRect Public constructors
Public methods
Detailed description[const] bool !=(const QRect arg2)Description: Operator bool ::operator!=(const QRect &, const QRect &) This is the mapping of the global operator to the instance method. [const] QRect &(const QRect r)Description: Method QRect QRect::operator&(const QRect &r) QRect &=(const QRect r)Description: Method QRect &QRect::operator&=(const QRect &r) [const] bool ==(const QRect arg2)Description: Operator bool ::operator==(const QRect &, const QRect &) This is the mapping of the global operator to the instance method. void adjust(int x1,int y1,int x2,int y2)Description: Method void QRect::adjust(int x1, int y1, int x2, int y2) [const] QRect adjusted(int x1,int y1,int x2,int y2)Description: Method QRect QRect::adjusted(int x1, int y1, int x2, int y2) [const] void assign(const QRect other)Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content. [const] int bottomDescription: Method int QRect::bottom() void bottom=(int pos)Description: Method void QRect::setBottom(int pos) [const] QPoint bottomLeftDescription: Method QPoint QRect::bottomLeft() void bottomLeft=(const QPoint p)Description: Method void QRect::setBottomLeft(const QPoint &p) [const] QPoint bottomRightDescription: Method QPoint QRect::bottomRight() void bottomRight=(const QPoint p)Description: Method void QRect::setBottomRight(const QPoint &p) [const] QPoint centerDescription: Method QPoint QRect::center() [const] bool contains(const QPoint p,bool proper = false)Description: Method bool QRect::contains(const QPoint &p, bool proper) [const] bool contains(int x,int y)Description: Method bool QRect::contains(int x, int y) [const] bool contains(int x,int y,bool proper)Description: Method bool QRect::contains(int x, int y, bool proper) [const] bool contains(const QRect r,bool proper = false)Description: Method bool QRect::contains(const QRect &r, bool proper) void createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] QRect dupDescription: Creates a copy of self [const] void getCoords(int ptr x1,int ptr y1,int ptr x2,int ptr y2)Description: Method void QRect::getCoords(int *x1, int *y1, int *x2, int *y2) [const] void getRect(int ptr x,int ptr y,int ptr w,int ptr h)Description: Method void QRect::getRect(int *x, int *y, int *w, int *h) [const] int heightDescription: Method int QRect::height() void height=(int h)Description: Method void QRect::setHeight(int h) [const] QRect intersect(const QRect r)Description: Method QRect QRect::intersect(const QRect &r) [const] QRect intersected(const QRect other)Description: Method QRect QRect::intersected(const QRect &other) [const] bool intersects(const QRect r)Description: Method bool QRect::intersects(const QRect &r) [const] bool isEmptyDescription: Method bool QRect::isEmpty() [const] bool isEmpty?Description: Method bool QRect::isEmpty() [const] bool isNullDescription: Method bool QRect::isNull() [const] bool isNull?Description: Method bool QRect::isNull() [const] bool isValidDescription: Method bool QRect::isValid() [const] bool isValid?Description: Method bool QRect::isValid() [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. [const] int leftDescription: Method int QRect::left() void left=(int pos)Description: Method void QRect::setLeft(int pos) void moveBottom(int pos)Description: Method void QRect::moveBottom(int pos) void moveBottomLeft(const QPoint p)Description: Method void QRect::moveBottomLeft(const QPoint &p) void moveBottomRight(const QPoint p)Description: Method void QRect::moveBottomRight(const QPoint &p) void moveCenter(const QPoint p)Description: Method void QRect::moveCenter(const QPoint &p) void moveLeft(int pos)Description: Method void QRect::moveLeft(int pos) void moveRight(int pos)Description: Method void QRect::moveRight(int pos) void moveTo(int x,int t)Description: Method void QRect::moveTo(int x, int t) void moveTo(const QPoint p)Description: Method void QRect::moveTo(const QPoint &p) void moveTop(int pos)Description: Method void QRect::moveTop(int pos) void moveTopLeft(const QPoint p)Description: Method void QRect::moveTopLeft(const QPoint &p) void moveTopRight(const QPoint p)Description: Method void QRect::moveTopRight(const QPoint &p) [static] new QRect newDescription: Constructor QRect::QRect() This method creates an object of class QRect. [static] new QRect new(const QPoint topleft,const QPoint bottomright)Description: Constructor QRect::QRect(const QPoint &topleft, const QPoint &bottomright) This method creates an object of class QRect. [static] new QRect new(const QPoint topleft,const QSize size)Description: Constructor QRect::QRect(const QPoint &topleft, const QSize &size) This method creates an object of class QRect. [static] new QRect new(int left,int top,int width,int height)Description: Constructor QRect::QRect(int left, int top, int width, int height) This method creates an object of class QRect. [const] QRect normalizedDescription: Method QRect QRect::normalized() [const] int rightDescription: Method int QRect::right() void right=(int pos)Description: Method void QRect::setRight(int pos) void setBottom(int pos)Description: Method void QRect::setBottom(int pos) void setBottomLeft(const QPoint p)Description: Method void QRect::setBottomLeft(const QPoint &p) void setBottomRight(const QPoint p)Description: Method void QRect::setBottomRight(const QPoint &p) void setCoords(int x1,int y1,int x2,int y2)Description: Method void QRect::setCoords(int x1, int y1, int x2, int y2) void setHeight(int h)Description: Method void QRect::setHeight(int h) void setLeft(int pos)Description: Method void QRect::setLeft(int pos) void setRect(int x,int y,int w,int h)Description: Method void QRect::setRect(int x, int y, int w, int h) void setRight(int pos)Description: Method void QRect::setRight(int pos) void setSize(const QSize s)Description: Method void QRect::setSize(const QSize &s) void setTop(int pos)Description: Method void QRect::setTop(int pos) void setTopLeft(const QPoint p)Description: Method void QRect::setTopLeft(const QPoint &p) void setTopRight(const QPoint p)Description: Method void QRect::setTopRight(const QPoint &p) void setWidth(int w)Description: Method void QRect::setWidth(int w) void setX(int x)Description: Method void QRect::setX(int x) void setY(int y)Description: Method void QRect::setY(int y) [const] QSize sizeDescription: Method QSize QRect::size() void size=(const QSize s)Description: Method void QRect::setSize(const QSize &s) [const] int topDescription: Method int QRect::top() void top=(int pos)Description: Method void QRect::setTop(int pos) [const] QPoint topLeftDescription: Method QPoint QRect::topLeft() void topLeft=(const QPoint p)Description: Method void QRect::setTopLeft(const QPoint &p) [const] QPoint topRightDescription: Method QPoint QRect::topRight() void topRight=(const QPoint p)Description: Method void QRect::setTopRight(const QPoint &p) void translate(int dx,int dy)Description: Method void QRect::translate(int dx, int dy) void translate(const QPoint p)Description: Method void QRect::translate(const QPoint &p) [const] QRect translated(int dx,int dy)Description: Method QRect QRect::translated(int dx, int dy) [const] QRect translated(const QPoint p)Description: Method QRect QRect::translated(const QPoint &p) [const] QRect unite(const QRect r)Description: Method QRect QRect::unite(const QRect &r) [const] QRect united(const QRect other)Description: Method QRect QRect::united(const QRect &other) [const] int widthDescription: Method int QRect::width() void width=(int w)Description: Method void QRect::setWidth(int w) [const] int xDescription: Method int QRect::x() void x=(int x)Description: Method void QRect::setX(int x) [const] int yDescription: Method int QRect::y() void y=(int y)Description: Method void QRect::setY(int y) [const] QRect |(const QRect r)Description: Method QRect QRect::operator|(const QRect &r) QRect |=(const QRect r)Description: Method QRect &QRect::operator|=(const QRect &r) |