java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QContextMenuEvent
- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a context menu event
Java wrapper for Qt class QContextMenuEvent
-
Nested Class Summary
Nested 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
ModifierConstructorDescriptionQContextMenuEvent
(QContextMenuEvent.Reason reason, QPoint pos) QContextMenuEvent
(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos) Overloaded constructor forQContextMenuEvent(io.qt.gui.QContextMenuEvent.Reason, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.KeyboardModifiers)
withmodifiers = new io.qt.core.Qt.KeyboardModifiers(0)
.QContextMenuEvent
(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifier ... modifiers) QContextMenuEvent
(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifiers modifiers) protected
QContextMenuEvent
(QContextMenuEvent arg__1) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QContextMenuEvent other) SeeQContextMenuEvent::
operator=(QContextMenuEvent) clone()
final QPoint
final int
globalX()
final int
globalY()
final QPoint
pos()
final QContextMenuEvent.Reason
reason()
protected final void
set
(QContextMenuEvent other) Deprecated.final int
x()
final int
y()
Methods inherited from class io.qt.gui.QInputEvent
assign, device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, setTimestamp, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QContextMenuEvent
-
QContextMenuEvent
public QContextMenuEvent(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifier ... modifiers) -
QContextMenuEvent
Overloaded constructor for
QContextMenuEvent(io.qt.gui.QContextMenuEvent.Reason, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.KeyboardModifiers)
withmodifiers = new io.qt.core.Qt.KeyboardModifiers(0)
. -
QContextMenuEvent
public QContextMenuEvent(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifiers modifiers) -
QContextMenuEvent
-
-
Method Details
-
globalPos
-
globalX
-
globalY
-
set
Deprecated.Useassign(io.qt.gui.QContextMenuEvent)
instead. -
assign
See
QContextMenuEvent::
operator=(QContextMenuEvent) -
pos
-
reason
-
x
-
y
-
clone
- Overrides:
clone
in classQInputEvent
-
assign(io.qt.gui.QContextMenuEvent)
instead.