com.trolltech.qt.gui
Class QDragEnterEvent

java.lang.Object
  extended by com.trolltech.qt.QSignalEmitter
      extended by com.trolltech.qt.QtJambiObject
          extended by com.trolltech.qt.core.QEvent
              extended by com.trolltech.qt.gui.QDropEvent
                  extended by com.trolltech.qt.gui.QDragMoveEvent
                      extended by com.trolltech.qt.gui.QDragEnterEvent
All Implemented Interfaces:
QtJambiInterface

public class QDragEnterEvent
extends QDragMoveEvent

The QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action enters it.

A widget must accept this event in order to receive the drag move events that are sent while the drag and drop action is in progress. The drag enter event is always immediately followed by a drag move event.

QDragEnterEvent inherits most of its functionality from QDragMoveEvent, which in turn inherits most of its functionality from QDropEvent.

See Also:
QDragLeaveEvent, QDragMoveEvent, QDropEvent

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
QDragEnterEvent(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)
          Constructs a QDragEnterEvent that represents a drag entering a widget at the given pos with mouse and keyboard states specified by buttons and modifiers.
 
Method Summary
static QDragEnterEvent fromNativePointer(QNativePointer nativePointer)
          This function returns the QDragEnterEvent instance pointed to by nativePointer
 
Methods inherited from class com.trolltech.qt.gui.QDragMoveEvent
accept, answerRect, ignore
 
Methods inherited from class com.trolltech.qt.gui.QDropEvent
acceptProposedAction, dropAction, fmts, keyboardModifiers, mimeData, mouseButtons, pos, possibleActions, proposedAction, setAct, setDropAction, setFmts, setModState, setMouseState, source
 
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

QDragEnterEvent

public QDragEnterEvent(QPoint pos,
                       Qt.DropActions actions,
                       QMimeData data,
                       Qt.MouseButtons buttons,
                       Qt.KeyboardModifiers modifiers)

Constructs a QDragEnterEvent that represents a drag entering a widget at the given pos with mouse and keyboard states specified by buttons and modifiers.

The drag data is passed as MIME-encoded information in data, and the specified actions describe the possible types of drag and drop operation that can be performed.

Warning: Do not create a QDragEnterEvent yourself since these objects rely on Qt's internal state.

Method Detail

fromNativePointer

public static QDragEnterEvent fromNativePointer(QNativePointer nativePointer)
This function returns the QDragEnterEvent instance pointed to by nativePointer

Parameters:
nativePointer - the QNativePointer of which object should be returned.