|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.core.QEvent
com.trolltech.qt.gui.QMoveEvent
public class QMoveEvent
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.
Nested Class Summary |
---|
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. |
Method Summary | |
---|---|
static QMoveEvent |
fromNativePointer(QNativePointer nativePointer)
This function returns the QMoveEvent instance pointed to by nativePointer |
protected QPoint |
oldp()
This method is used internally by Qt Jambi. |
QPoint |
oldPos()
Returns the old position of the widget. |
protected QPoint |
p()
This method is used internally by Qt Jambi. |
QPoint |
pos()
Returns the new position of the widget. |
protected void |
setOldp(QPoint oldp)
This method is used internally by Qt Jambi. |
protected void |
setP(QPoint p)
This method is used internally by Qt Jambi. |
Methods inherited from class com.trolltech.qt.core.QEvent |
---|
accept, ignore, isAccepted, setAccepted, setT, spontaneous, t, type |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QMoveEvent(QPoint pos, QPoint oldPos)
Constructs a move event with the new and old widget positions, pos and oldPos respectively.
Method Detail |
---|
public final QPoint oldPos()
Returns the old position of the widget.
public final QPoint pos()
Returns the new position of the widget. This excludes the window frame for top level widgets.
protected final void setOldp(QPoint oldp)
This method is used internally by Qt Jambi. Do not use it in your applications.
protected final QPoint oldp()
This method is used internally by Qt Jambi. Do not use it in your applications.
protected final void setP(QPoint p)
This method is used internally by Qt Jambi. Do not use it in your applications.
protected final QPoint p()
This method is used internally by Qt Jambi. Do not use it in your applications.
public static QMoveEvent fromNativePointer(QNativePointer nativePointer)
nativePointer
- the QNativePointer of which object should be returned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |