Definition at line 58 of file qrubberband.h.
#include <qrubberband.h>

Public Types |
|
| enum | Shape { Line, Rectangle } |
Public Member Functions |
|
| QRubberBand (Shape, QWidget *=0) | |
| ~QRubberBand () | |
| Shape | shape () const |
| void | setGeometry (const QRect &r) |
| void | setGeometry (int x, int y, int w, int h) |
| void | move (int x, int y) |
| void | move (const QPoint &p) |
| void | resize (int w, int h) |
| void | resize (const QSize &s) |
Protected Member Functions |
|
| bool | event (QEvent *e) |
| void | paintEvent (QPaintEvent *) |
| void | changeEvent (QEvent *) |
| void | showEvent (QShowEvent *) |
| void | resizeEvent (QResizeEvent *) |
| void | moveEvent (QMoveEvent *) |
| void | initStyleOption (QStyleOptionRubberBand *option) const |
| enum Shape |
Definition at line 63 of file qrubberband.h.
| QRubberBand | ( | Shape | , |
| QWidget * | = 0 |
||
| ) | [explicit] |
| ~QRubberBand | ( | ) |
| Shape shape | ( | ) | const |
| void setGeometry | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) | [inline] |
Reimplemented from QWidget.
Definition at line 93 of file qrubberband.h.
{ setGeometry(QRect(ax, ay, aw, ah)); }
| void move | ( | int | x, |
| int | y | ||
| ) | [inline] |
Reimplemented from QWidget.
Definition at line 95 of file qrubberband.h.
{ setGeometry(ax, ay, width(), height()); }
| void move | ( | const QPoint & | p | ) | [inline] |
Reimplemented from QWidget.
Definition at line 73 of file qrubberband.h.
| void resize | ( | int | w, |
| int | h | ||
| ) | [inline] |
Reimplemented from QWidget.
Definition at line 75 of file qrubberband.h.
{ setGeometry(geometry().x(), geometry().y(), w, h); }
| void resize | ( | const QSize & | s | ) | [inline] |
Reimplemented from QWidget.
Definition at line 77 of file qrubberband.h.
| void paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
| void showEvent | ( | QShowEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
| void resizeEvent | ( | QResizeEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
| void moveEvent | ( | QMoveEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
| void initStyleOption | ( | QStyleOptionRubberBand * | option | ) | const [protected] |