[][src]Struct qt_core::NavigationMode

#[repr(transparent)]pub struct NavigationMode(_);

This enum type describes the mode for moving focus.

C++ enum: Qt::NavigationMode.

C++ documentation:

This enum type describes the mode for moving focus.

Note: In 4.6, cursor navigation is only implemented for Symbian OS. On other platforms, it behaves as NavigationModeNone.

This enum was introduced or modified in Qt 4.6.

See also QApplication::setNavigationMode() and QApplication::navigationMode().

Methods

impl NavigationMode[src]

pub fn to_int(&self) -> c_int[src]

impl NavigationMode[src]

pub const NavigationModeNone: NavigationMode[src]

Only the touch screen is used. (C++ enum variant: NavigationModeNone = 0)

pub const NavigationModeKeypadTabOrder: NavigationMode[src]

Qt::Key_Up and Qt::Key_Down are used to change focus. (C++ enum variant: NavigationModeKeypadTabOrder = 1)

pub const NavigationModeKeypadDirectional: NavigationMode[src]

Qt::Key_Up, Qt::Key_Down, Qt::Key_Left and Qt::Key_Right are used to change focus. (C++ enum variant: NavigationModeKeypadDirectional = 2)

pub const NavigationModeCursorAuto: NavigationMode[src]

The mouse cursor is used to change focus, it is displayed only on non touchscreen devices. The keypad is used to implement a virtual cursor, unless the device has an analog mouse type of input device (e.g. touchpad). This is the recommended setting for an application such as a web browser that needs pointer control on both touch and non-touch devices. (C++ enum variant: NavigationModeCursorAuto = 3)

pub const NavigationModeCursorForceVisible: NavigationMode[src]

The mouse cursor is used to change focus, it is displayed regardless of device type. The keypad is used to implement a virtual cursor, unless the device has an analog mouse type of input device (e.g. touchpad) (C++ enum variant: NavigationModeCursorForceVisible = 4)

Trait Implementations

impl Clone for NavigationMode[src]

impl Copy for NavigationMode[src]

impl Debug for NavigationMode[src]

impl Eq for NavigationMode[src]

impl From<NavigationMode> for c_int[src]

impl From<i32> for NavigationMode[src]

impl PartialEq<NavigationMode> for NavigationMode[src]

impl StructuralEq for NavigationMode[src]

impl StructuralPartialEq for NavigationMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.