![]() |
CopperSpice API
2.0.0
|
The QMoveEvent class contains event parameters for move events. More...
Public Methods | |
| QMoveEvent (const QPoint &pos, const QPoint &oldPos) | |
| const QPoint & | oldPos () const |
| const QPoint & | pos () const |
Public Methods inherited from QEvent | |
| QEvent (const QEvent &other) | |
| QEvent (Type type) | |
| virtual | ~QEvent () |
| void | accept () |
| void | ignore () |
| bool | isAccepted () const |
| QEvent & | operator= (const QEvent &other) |
| void | setAccepted (bool accepted) |
| bool | spontaneous () const |
| Type | type () const |
Friends | |
| class | QApplication |
| class | QCoreApplication |
Additional Inherited Members | |
Public Types inherited from QEvent | |
| enum | Type |
Static Public Methods inherited from QEvent | |
| static int | registerEventType (int hint=-1) |
The QMoveEvent class contains event parameters for move events.
Move events are sent to widgets that have been moved to a new position relative to their parent.
The event handler QWidget::moveEvent() receives move events.
Constructs a move event with the new and old widget positions, pos and oldPos respectively.
|
inline |
Returns the old position of the widget.
|
inline |
Returns the new position of the widget. This excludes the window frame for top level widgets.