KeyEvent QML Type

  • Esri.ArcGISRuntime
  • KeyEvent
  • A key press input event. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.0



    Detailed Description

    Note: You cannot declare or create a component of this type in QML code.

    See also QKeyEvent.

    Property Documentation

    [read-only] count : int

    Returns the number of keys involved in this event (read-only).

    Contains the length of the text property if it is not empty.

    [read-only] isAutoRepeat : bool

    Whether the key was generated from keyboard auto-repeat (read-only).

    [read-only] key : int

    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.

    [read-only] text : string

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.