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
public class QGraphicsSceneContextMenuEvent extends QGraphicsSceneEvent
Context menu events in the graphics view framework
Java wrapper for Qt class QGraphicsSceneContextMenuEvent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QGraphicsSceneContextMenuEvent.Reason
Java wrapper for Qt enum QGraphicsSceneContextMenuEvent::Reason -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QGraphicsSceneContextMenuEvent()
Overloaded constructor forQGraphicsSceneContextMenuEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.QGraphicsSceneContextMenuEvent(QEvent.Type type)
protected
QGraphicsSceneContextMenuEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description Qt.KeyboardModifiers
modifiers()
QPointF
pos()
QGraphicsSceneContextMenuEvent.Reason
reason()
QPointF
scenePos()
QPoint
screenPos()
void
setModifiers(Qt.KeyboardModifier... modifiers)
Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.void
setModifiers(Qt.KeyboardModifiers modifiers)
void
setPos(QPointF pos)
void
setReason(QGraphicsSceneContextMenuEvent.Reason reason)
void
setScenePos(QPointF pos)
void
setScreenPos(QPoint pos)
String
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
-
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
-