QInputMethodEvent
Hierarchy
-
↳ QInputMethodEvent
Index
Constructors
Properties
Methods
- accept
- commitString
- ignore
- isAccepted
- preeditString
- replacementLength
- replacementStart
- setAccepted
- setCommitString
- spontaneous
- type
Constructors
constructor
+ new QInputMethodEvent(event
: NativeRawPointer‹"QEvent"›): QInputMethodEvent
Overrides QEvent.constructor
Parameters:
Name | Type |
---|---|
event | NativeRawPointer‹"QEvent"› |
Returns: QInputMethodEvent
Properties
native
• native: NativeElement
Methods
accept
▸ accept(): void
Sets the accept flag of the event object, the equivalent of calling setAccepted(true). Setting the accept parameter indicates that the event receiver wants the event. Unwanted events might be propagated to the parent widget
Returns: void
commitString
▸ commitString(): string
Returns: string
ignore
▸ ignore(): void
Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false). Clearing the accept parameter indicates that the event receiver does not want the event. Unwanted events might be propagated to the parent widget.
Returns: void
isAccepted
▸ isAccepted(): boolean
Inherited from QEvent.isAccepted
Returns: boolean
preeditString
▸ preeditString(): string
Returns: string
replacementLength
▸ replacementLength(): number
Returns: number