java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QContextMenuEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
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
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionSeeQContextMenuEvent::
QContextMenuEvent(QContextMenuEvent) QContextMenuEvent
(QContextMenuEvent.Reason reason, QPoint pos) QContextMenuEvent
(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos) QContextMenuEvent
(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifier ... modifiers) QContextMenuEvent
(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifiers modifiers) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QPoint
final int
globalX()
final int
globalY()
final QPoint
pos()
final QContextMenuEvent.Reason
reason()
protected final void
setGlobalPos
(QPoint globalPos) SeeQContextMenuEvent::
gp protected final void
SeeQContextMenuEvent::
p protected final void
setReason
(int reason) SeeQContextMenuEvent::
reas final int
x()
final int
y()
Methods inherited from class io.qt.gui.QInputEvent
modifiers, setModifiers, setModifiers, setTimestamp, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QContextMenuEvent
See
QContextMenuEvent::
QContextMenuEvent(QContextMenuEvent) -
QContextMenuEvent
-
QContextMenuEvent
-
QContextMenuEvent
public QContextMenuEvent(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifiers modifiers) -
QContextMenuEvent
public QContextMenuEvent(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifier ... modifiers)
-
-
Method Details
-
globalPos
-
globalX
-
globalY
-
pos
-
reason
-
x
-
y
-
setGlobalPos
See
QContextMenuEvent::
gp -
setPos
See
QContextMenuEvent::
p -
setReason
See
QContextMenuEvent::
reas -
clone
Creates and returns a copy of this object.
See
QContextMenuEvent::
QContextMenuEvent(QContextMenuEvent) - Overrides:
clone
in classQInputEvent
-