Dongxu Ma > Qt-Core-0.01_05 > Qt::Core::QRect

Download:
Qt-Core-0.01_05.tar.gz

Dependencies

Annotate this POD

Module Version: 0.01_05   Source  

NAME ^

Qt::Core::QRect

PUBLIC METHODS ^

QRect()
QRect(const QPoint & topleft, const QPoint & bottomright)
QRect(const QPoint & topleft, const QSize & size)
QRect(int left, int top, int width, int height)
void adjust(int x1, int y1, int x2, int y2)
QRect adjusted(int x1, int y1, int x2, int y2)
int bottom()
QPoint bottomLeft()
QPoint bottomRight()
QPoint center()
bool contains(const QPoint & p, bool proper)
bool contains(const QPoint & p, bool proper = false)
bool contains(int x, int y)
bool contains(const QRect & r, bool proper)
bool contains(const QRect & r, bool proper = false)
bool contains(int x, int y, bool proper)
void getCoords(int * x1, int * y1, int * x2, int * y2)
void getRect(int * x, int * y, int * w, int * h)
int height()
QRect intersect(const QRect & r)
QRect intersected(const QRect & other)
bool intersects(const QRect & r)
bool isEmpty()
bool isNull()
bool isValid()
int left()
void moveBottom(int pos)
void moveBottomLeft(const QPoint & p)
void moveBottomRight(const QPoint & p)
void moveCenter(const QPoint & p)
void moveLeft(int pos)
void moveRight(int pos)
void moveTo(const QPoint & p)
void moveTo(int x, int t)
void moveTop(int pos)
void moveTopLeft(const QPoint & p)
void moveTopRight(const QPoint & p)
QRect normalized()
QRect operator&(const QRect & r)
QRect & operator&=(const QRect & r)
QRect operator|(const QRect & r)
QRect & operator|=(const QRect & r)
int right()
void setBottom(int pos)
void setBottomLeft(const QPoint & p)
void setBottomRight(const 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(const QSize & s)
void setTop(int pos)
void setTopLeft(const QPoint & p)
void setTopRight(const QPoint & p)
void setWidth(int w)
void setX(int x)
void setY(int y)
QSize size()
int top()
QPoint topLeft()
QPoint topRight()
void translate(const QPoint & p)
void translate(int dx, int dy)
QRect translated(const QPoint & p)
QRect translated(int dx, int dy)
QRect unite(const QRect & r)
QRect united(const QRect & other)
int width()
int x()
int y()

ENUM VALUES ^

EXPORT

None by default.

AUTHOR ^

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html

syntax highlighting: