A key press input event. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- count : int
- isAutoRepeat : bool
- key : int
- text : string
Detailed Description
Note: You cannot declare or create a component of this type in QML code.
See also QKeyEvent.
Property Documentation
Returns the number of keys involved in this event (read-only).
Contains the length of the text property if it is not empty.
Returns the code for the key that was pressed or released (read-only).
The codes are enumerated in Qt.Key. The codes do not distinguish uppercase from lowercase letters, but this can be ascertained from the text property. 0 or Qt.Key_Unknown means that an unknown key was pressed.
Returns the text that the key generated (read-only).
This property can be an empty string when a key is pressed that does not produce text, such as Shift.