45 #include <QtGui/qwidget.h> 53 #ifndef QT_NO_RUBBERBAND 71 inline void setGeometry(
int x,
int y,
int w,
int h);
72 inline void move(
int x,
int y);
98 #endif // QT_NO_RUBBERBAND 104 #endif // QRUBBERBAND_H
#define QT_END_NAMESPACE
This macro expands to.
Shape
This enum specifies what shape a QRubberBand should have.
int width() const
Returns the width.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void setGeometry(const QRect &r)
Sets the geometry of the rubber band to rect, specified in the coordinate system of its parent widget...
The QMoveEvent class contains event parameters for move events.
The Rectangle item provides a filled rectangle with an optional border.
The QResizeEvent class contains event parameters for resize events.
void move(const QPoint &p)
Moves the rubberband to point p.
The QShowEvent class provides an event that is sent when a widget is shown.
The QStyleOptionRubberBand class is used to describe the parameters needed for drawing a rubber band...
void move(int x, int y)
Moves the rubberband to point (x, y).
The QPoint class defines a point in the plane using integer precision.
int height() const
Returns the height.
The QRect class defines a rectangle in the plane using integer precision.
void resize(int w, int h)
Resizes the rubberband so that its width is width, and its height is height.
int y() const
Returns the y coordinate of this point.
void resize(const QSize &s)
Resizes the rubberband so that its new size is size.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
int x() const
Returns the x coordinate of this point.
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QRubberBand class provides a rectangle or line that can indicate a selection or a boundary...