QMoveEvent Class
The QMoveEvent class contains event parameters for move events. More…
| Header | #include <QMoveEvent> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Gui) |
| Module | Nt GUI C++ Classes |
| Inherits | QEvent |
List of all members, including inherited members
Public Functions
| QMoveEvent(const QPoint &pos, const QPoint &oldPos) | |
| const QPoint & | pos() const |
| const QPoint & | oldPos() const |
Reimplemented Public Functions
| QMoveEvent * | clone() const |
Detailed Description
See also QWindow::moveEvent().
Member Function Documentation
QMoveEvent::QMoveEvent(const QPoint &pos, const QPoint &oldPos)
Constructs a move event for a window that moved from oldPos to pos.
QMoveEvent * QMoveEvent::clone() const
Reimplements QEvent::clone().
const QPoint & QMoveEvent::oldPos() const
Returns the old position.
const QPoint & QMoveEvent::pos() const
Returns the new position.