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 class QFocusEvent
-
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
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) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QFocusEvent other) SeeQFocusEvent::
operator=(QFocusEvent) clone()
final boolean
gotFocus()
final boolean
final Qt.FocusReason
reason()
protected final void
set
(QFocusEvent other) Deprecated.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
-
QFocusEvent
- Parameters:
type
-reason
-
-
QFocusEvent
- Parameters:
arg__1
-
-
QFocusEvent
Overloaded constructor for
QFocusEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.FocusReason)
withreason = io.qt.core.Qt.FocusReason.OtherFocusReason
.
-
-
Method Details
-
gotFocus
- Returns:
-
lostFocus
- Returns:
-
assign
See
QFocusEvent::
operator=(QFocusEvent) - Parameters:
other
-
-
reason
- Returns:
-
clone
-
set
Deprecated.Useassign(io.qt.gui.QFocusEvent)
instead.
-
assign(io.qt.gui.QFocusEvent)
instead.