Events

Handle events that are sent to and from controls when you interact with them.

When a user interacts with your app, you need to know what action the user has taken so you can respond appropriately. You can handle simple events, such as taps or touches, and you can also handle more complicated events and gestures, such as long presses, pinches, or double taps. You can define exactly how your app responds to user input, and change the behavior of touch events and touch propagation.

Additional resources

To learn more about handling touch events in your apps, visit the Touch interaction documentation.



Members

  • AbstractEventHandler -

    The base class for event handlers.

  • AbstractGestureEvent -

    This is the base class for all gesture events.

  • ActiveTextTriggeredEvent -

    An event indicating that an active text has been activated.

  • ConsumeNavigationEvent -

    Represents different navigation event types to be consumed.

  • ConsumeTrackpadEvent -

    Represents different trackpad event types to be consumed.

  • ContextMenuShowingEvent -

    An event indicating that the Context menu is about to be displayed.

  • DeviceShortcut -

    Represents a Shortcut that can be invoked on objects that inherit from Control, AbstractPane, and AbstractActionItem.

  • DeviceShortcuts -

    Enumeration for device shortcuts.

  • DoubleTapEvent -

    Double tap events are emitted when the user performs a double tap gesture.

  • DoubleTapHandler -

    A double tap handler can be used to react to double tap gesture.

  • Event -

    Base class for events.

  • EventReaction -

    Abstract base class for all event reactions.

  • GestureHandler -

    A base class for all gesture handlers which can be used to react to various gestures.

  • InputSource -

    Represents the different input sources from which the event was generated from, e.g touch or trackpad.

  • KeyEvent -

    An event indicating that a key has been pressed or released.

  • KeyListener -

    Enables controls to be notified on key events that are introduced by user interaction with the keyboard.

  • KeyModifier -

    Flags for selecting different key modifiers, such as Shift, Crtl, Alt.

  • LongPressEvent -

    Long press events are emitted when the user performs a long press gesture.

  • LongPressHandler -

    A long press handler can be used to react to long press gestures.

  • NavigationEvent -

    Navigation events are emitted when the user navigates by swiping, tap or long press on a trackpad or similar.

  • NavigationEventType -

    Represents different navigation event types.

  • NavigationHandler -

    A handler for reacting to navigation events from the trackpad.

  • OverlapTouchPolicy -

    Specifies whether overlapped nodes receive touch interaction.

  • PinchEvent -

    Pinch events are emitted when the user performs a pinch gesture.

  • PinchHandler -

    A pinch handler can be used to react to pinch gesture.

  • PropagationPhase -

    Represents different event propagation phases.

  • Shortcut -

    Represents a shortcut that can be invoked on objects that inherit from Control, AbstractPane, and AbstractActionItem.

  • SystemShortcut -

    Represents a Shortcut that can be invoked on objects that inherit from Control, AbstractPane, and AbstractActionItem.

  • SystemShortcuts -

    Enumeration for shortcuts defined in the QNX platform.

  • TapEvent -

    Tap events are emitted when the user performs a tap gesture.

  • TapHandler -

    A tap handler can be used to react to tap gestures.

  • TouchBehavior -

    A series of touch-input reactions that can be added to a VisualNode.

  • TouchEnterEvent -

    The touch enter event is sent as parameter to the touchEnter signal from VisualNode.

  • TouchEvent -

    Touch events are emitted when the user touches the screen.

  • TouchExitEvent -

    The touch exit event is sent as parameter to the touchExit signal from VisualNode.

  • TouchKeyboardEvent -

    Touch keyboard events are emitted when the user touches the touch keyboard.

  • TouchKeyboardHandler -

    A handler for reacting on touch input from a "touch keyboard".

  • TouchPropagationMode -

    Enumeration for specifying the touch propagation mode for a node and it's subtree.

  • TouchReaction -

    Touch reactions are used to build up touch behaviors.

  • TouchResponse -

    Represents different touch responses used for event reactions.

  • TouchType -

    Represents different touch types.

  • TrackpadEvent -

    Trackpad events are emitted when the user swipes, presses, or releases the trackpad.

  • TrackpadEventType -

    Represents different trackpad event types.

  • TrackpadHandler -

    A handler for reacting on input from a trackpad.

Last modified: 2014-11-17



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus