7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qwidget.h>
15class QStyleOptionRubberBand;
31 inline void move(
int x,
int y);
46 virtual void initStyleOption(QStyleOptionRubberBand *
option)
const;
The QMoveEvent class contains event parameters for move events.
The QPaintEvent class contains event parameters for paint events.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QResizeEvent class contains event parameters for resize events.
The QRubberBand class provides a rectangle or line that can indicate a selection or a boundary.
Shape
This enum specifies what shape a QRubberBand should have.
void move(const QPoint &p)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void move(int x, int y)
Moves the rubberband to point (x, y).
void setGeometry(const QRect &r)
Sets the geometry of the rubber band to rect, specified in the coordinate system of its parent widget...
void resize(int w, int h)
Resizes the rubberband so that its width is width, and its height is height.
void resize(const QSize &s)
This is an overloaded member function, provided for convenience. It differs from the above function o...
The QShowEvent class provides an event that is sent when a widget is shown.
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint x
[0]
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h
#define QT_REQUIRE_CONFIG(feature)