qmoveevent.3qt - Man Page

Event parameters for move events


#include <qevent.h>

Inherits QEvent.

Public Members

QMoveEvent ( const QPoint & pos, const QPoint & oldPos )
const QPoint & pos () const
const QPoint & oldPos () const


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.

See also QWidget::pos, QWidget::geometry, and Event Classes.

Member Function Documentation

QMoveEvent::QMoveEvent ( const QPoint & pos, const QPoint & oldPos )

Constructs a move event with the new and old widget positions, pos and oldPos respectively.

const QPoint & QMoveEvent::oldPos () const

Returns the old position of the widget.

const QPoint & QMoveEvent::pos () const

Returns the new position of the widget. This excludes the window frame for top level widgets.

See Also

http://doc.trolltech.com/qmoveevent.html http://www.trolltech.com/faq/tech.html


Generated automatically from the source code.


If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you.

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qmoveevent.3qt) and the Qt version (3.3.8).

Referenced By

The man page QMoveEvent.3qt(3) is an alias of qmoveevent.3qt(3).

2 February 2007 Trolltech AS