Eneboo - Documentación para desarrolladores
|
The QMoveEvent class contains event parameters for move events. Más...
#include <qevent.h>
Métodos públicos | |
QMoveEvent (const QPoint &pos, const QPoint &oldPos) | |
const QPoint & | pos () const |
const QPoint & | oldPos () const |
QMoveEvent (const QPoint &pos, const QPoint &oldPos) | |
const QPoint & | pos () const |
const QPoint & | oldPos () const |
Atributos protegidos | |
QPoint | p |
QPoint | oldp |
Amigas | |
class | QApplication |
class | QBaseApplication |
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.
const QPoint & QMoveEvent::oldPos | ( | ) | const [inline] |
Returns the old position of the widget.
const QPoint& QMoveEvent::oldPos | ( | ) | const [inline] |
const QPoint& QMoveEvent::pos | ( | ) | const [inline] |
const QPoint & QMoveEvent::pos | ( | ) | const [inline] |
Returns the new position of the widget. This excludes the window frame for top level widgets.
QApplication [friend] |
Reimplementado de QEvent.
QBaseApplication [friend] |
Reimplementado de QEvent.
QPoint QMoveEvent::oldp [protected] |
QPoint QMoveEvent::p [protected] |