java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.widgets.QGraphicsSceneEvent
io.qt.widgets.QGraphicsSceneContextMenuEvent
- All Implemented Interfaces:
QtObjectInterface
Context menu events in the graphics view framework
Java wrapper for Qt's class QGraphicsSceneContextMenuEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QGraphicsSceneContextMenuEvent::ReasonNested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQGraphicsSceneContextMenuEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.KeyboardModifiers
final QPointF
pos()
reason()
final QPointF
scenePos()
final QPoint
final void
setModifiers
(Qt.KeyboardModifier... modifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers modifiers) final void
final void
final void
setScenePos
(QPointF pos) final void
setScreenPos
(QPoint pos) toString()
Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setWidget, widget
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QGraphicsSceneContextMenuEvent
public QGraphicsSceneContextMenuEvent()Overloaded constructor for
QGraphicsSceneContextMenuEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
. -
QGraphicsSceneContextMenuEvent
-
QGraphicsSceneContextMenuEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
modifiers
-
pos
-
reason
-
scenePos
-
screenPos
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
setPos
-
setReason
-
setScenePos
-
setScreenPos
-
toString
- Overrides:
toString
in classQGraphicsSceneEvent
-