Overview | Package | Class | Tree | Deprecated | Index | Help
Qt Jambi Home |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QGraphicsSceneHoverEvent

    java.lang.Object
      com.trolltech.qt.QSignalEmitter
          com.trolltech.qt.QtJambiObject
              com.trolltech.qt.core.QEvent
                  com.trolltech.qt.gui.QGraphicsSceneEvent
                      com.trolltech.qt.gui.QGraphicsSceneHoverEvent

All Implemented Interfaces:
  QtJambiInterface

    public class QGraphicsSceneHoverEvent

extends QGraphicsSceneEvent

The `QGraphicsSceneHoverEvent` class provides hover events in the graphics view framework.

When a `QGraphicsView` receives a `QHoverEvent` event, it translates it into `QGraphicsSceneHoverEvent`. The event is then forwarded to the `QGraphicsScene` associated with the view.

See Also:
  `QGraphicsSceneMouseEvent`, `QGraphicsSceneContextMenuEvent`, `QGraphicsSceneWheelEvent`, `QHoverEvent`

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.AbstractSignal, 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
`QGraphicsSceneHoverEvent()` Equivalent to `QGraphicsSceneHoverEvent`(None).
`QGraphicsSceneHoverEvent(QEvent.Type type)`

Method Summary
`static QGraphicsSceneHoverEvent` | `fromNativePointer(QNativePointer nativePointer)` This function returns the QGraphicsSceneHoverEvent instance pointed to by nativePointer
`QPointF` | `pos()` Returns the position of the mouse cursor in item coordinates at the moment the the hover event was sent.
`QPointF` | `scenePos()` Returns the position of the mouse cursor in scene coordinates at the moment the the hover event was sent.
`QPoint` | `screenPos()` Returns the position of the mouse cursor in screen coordinates at the moment the the hover event was sent.
`void` | `setPos(QPointF pos)`
`void` | `setScenePos(QPointF pos)`
`void` | `setScreenPos(QPoint pos)`

Methods inherited from class com.trolltech.qt.gui.QGraphicsSceneEvent
`widget`

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

### QGraphicsSceneHoverEvent

    public QGraphicsSceneHoverEvent()

  Equivalent to `QGraphicsSceneHoverEvent`(None).

### QGraphicsSceneHoverEvent

    public QGraphicsSceneHoverEvent(QEvent.Type type)

Method Detail

### pos

    public final QPointF pos()

  Returns the position of the mouse cursor in item coordinates at the moment the the hover event was sent.

  See Also:
    `setPos`, `scenePos`, `screenPos`

### scenePos

    public final QPointF scenePos()

  Returns the position of the mouse cursor in scene coordinates at the moment the the hover event was sent.

  See Also:
    `setScenePos`, `pos`, `screenPos`

### screenPos

    public final QPoint screenPos()

  Returns the position of the mouse cursor in screen coordinates at the moment the the hover event was sent.

  See Also:
    `setScreenPos`, `pos`, `scenePos`

### setPos

    public final void setPos(QPointF pos)

  See Also:
    `pos`

### setScenePos

    public final void setScenePos(QPointF pos)

  See Also:
    `scenePos`

### setScreenPos

    public final void setScreenPos(QPoint pos)

  See Also:
    `screenPos`

### fromNativePointer

    public static QGraphicsSceneHoverEvent fromNativePointer(QNativePointer nativePointer)

  This function returns the QGraphicsSceneHoverEvent instance pointed to by nativePointer

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

Overview | Package | Class | Tree | Deprecated | Index | Help
Qt Jambi Home |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD