com.trolltech.qt.gui
Class QMoveEvent
java.lang.Object
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.core.QEvent
com.trolltech.qt.gui.QMoveEvent
- All Implemented Interfaces:
- QtJambiInterface
public class QMoveEvent
- extends QEvent
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::move,
QWidget::setGeometry
Nested classes/interfaces inherited from class com.trolltech.qt.core.QEvent |
QEvent.Type |
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I> |
Constructor Summary |
QMoveEvent(QPoint pos,
QPoint oldPos)
Constructs a move event with the new and old widget positions, pos and oldPos respectively. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QMoveEvent
public QMoveEvent(QPoint pos,
QPoint oldPos)
Constructs a move event with the new and old widget positions, pos and oldPos respectively.
oldPos
public final QPoint oldPos()
Returns the old position of the widget.
pos
public final QPoint pos()
Returns the new position of the widget. This excludes the window frame for top level widgets.
fromNativePointer
public static QMoveEvent fromNativePointer(QNativePointer nativePointer)
- This function returns the QMoveEvent instance pointed to by nativePointer
- Parameters:
nativePointer
- the QNativePointer of which object should be returned.