java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QFocusEvent
- All Implemented Interfaces:
QtObjectInterface
Contains event parameters for widget focus events
Java wrapper for Qt's class QFocusEvent
-
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
ModifierConstructorDescriptionQFocusEvent
(QEvent.Type type) Overloaded constructor forQFocusEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.FocusReason)
withreason = io.qt.core.Qt.FocusReason.OtherFocusReason
.QFocusEvent
(QEvent.Type type, Qt.FocusReason reason) protected
QFocusEvent
(QFocusEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QFocusEvent other) clone()
final boolean
gotFocus()
final boolean
final Qt.FocusReason
reason()
protected final void
set
(QFocusEvent other) Deprecated.toString()
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QFocusEvent
Overloaded constructor for
QFocusEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.FocusReason)
withreason = io.qt.core.Qt.FocusReason.OtherFocusReason
. -
QFocusEvent
-
QFocusEvent
-
QFocusEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
gotFocus
-
lostFocus
-
set
Deprecated.Useassign(io.qt.gui.QFocusEvent)
instead. -
assign
-
reason
-
clone
-
toString
-
assign(io.qt.gui.QFocusEvent)
instead.