ConsumeNavigationEvent

Since: BlackBerry 10.3.1

#include <bb/cascades/ConsumeNavigationEvent>

Represents different navigation event types to be consumed.

Use this class to specify what types of navigation events should be consumed by the NavigationHandler.


Overview

Public Types Index

enum Type

None (0 << 0), Left (1 << 0), Right (1 << 1), Up (1 << 2), Down (1 << 3), Horizontal (Left | Right), Vertical (Up | Down), Any (Horizontal | Vertical)

Public Functions Index

Q_DECLARE_FLAGS (Types, Type)

Public Types

Type

The navigation event types.

Since:

BlackBerry 10.3.1

None (0 << 0)

Don't consume any event.

Left (1 << 0)

Consumes the events that occur in the left direction.

Since:

BlackBerry 10.3.1

Right (1 << 1)

Consumes the events that occur in the right direction.

Since:

BlackBerry 10.3.1

Up (1 << 2)

Consumes the events that occur in the up direction.

Since:

BlackBerry 10.3.1

Down (1 << 3)

Consumes the events that occur in the down direction.

Since:

BlackBerry 10.3.1

Horizontal (Left | Right)

Consumes the events that occur in both the left and right directions.

Since:

BlackBerry 10.3.1

Vertical (Up | Down)

Consumes the events that occur in both the up and down directions.

Since:

BlackBerry 10.3.1

Any (Horizontal | Vertical)

Consumes all the events that occur.

Since:

BlackBerry 10.3.1

Public Functions

Q_DECLARE_FLAGS (

Defines combinations of trackpad event types to be consumed.

This flag overrides the default ConsumeNavigationEvent for a control.

Since:

BlackBerry 10.3.1

Last modified: 2015-01-22



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

comments powered by Disqus