- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Context menu events in the graphics view framework
Java wrapper for Qt class QGraphicsSceneContextMenuEvent
- Since:
- This class was introduced in Qt 4.2.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQGraphicsSceneContextMenuEvent::Reason
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQGraphicsSceneContextMenuEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.SeeQGraphicsSceneContextMenuEvent::
QGraphicsSceneContextMenuEvent(QEvent::Type) -
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) SeeQGraphicsSceneContextMenuEvent::
setModifiers(Qt::KeyboardModifiers) final void
Overloaded function forsetPos(io.qt.core.QPointF)
.final void
SeeQGraphicsSceneContextMenuEvent::
setPos(QPointF) final void
SeeQGraphicsSceneContextMenuEvent::
setReason(QGraphicsSceneContextMenuEvent::Reason) final void
setScenePos
(QPoint pos) Overloaded function forsetScenePos(io.qt.core.QPointF)
.final void
setScenePos
(QPointF pos) SeeQGraphicsSceneContextMenuEvent::
setScenePos(QPointF) final void
setScreenPos
(QPoint pos) SeeQGraphicsSceneContextMenuEvent::
setScreenPos(QPoint) Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setWidget, toString, widget
Methods inherited from class io.qt.core.QEvent
accept, assign, clone, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QGraphicsSceneContextMenuEvent
See
QGraphicsSceneContextMenuEvent::
QGraphicsSceneContextMenuEvent(QEvent::Type) - Parameters:
type
-
-
QGraphicsSceneContextMenuEvent
public QGraphicsSceneContextMenuEvent()Overloaded constructor for
QGraphicsSceneContextMenuEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.
-
-
Method Details
-
modifiers
- Returns:
-
pos
- Returns:
-
reason
- Returns:
-
scenePos
- Returns:
-
screenPos
- Returns:
-
setModifiers
See
QGraphicsSceneContextMenuEvent::
setModifiers(Qt::KeyboardModifiers) - Parameters:
modifiers
-
-
setPos
See
QGraphicsSceneContextMenuEvent::
setPos(QPointF) - Parameters:
pos
-
-
setReason
See
QGraphicsSceneContextMenuEvent::
setReason(QGraphicsSceneContextMenuEvent::Reason) - Parameters:
reason
-
-
setScenePos
See
QGraphicsSceneContextMenuEvent::
setScenePos(QPointF) - Parameters:
pos
-
-
setScreenPos
See
QGraphicsSceneContextMenuEvent::
setScreenPos(QPoint) - Parameters:
pos
-
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setPos
Overloaded function for
setPos(io.qt.core.QPointF)
. -
setScenePos
Overloaded function for
setScenePos(io.qt.core.QPointF)
.
-