[−][src]Struct qt_core::NavigationMode
This enum type describes the mode for moving focus.
C++ enum: Qt::NavigationMode
.
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]
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]
fn clone(&self) -> NavigationMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NavigationMode
[src]
impl Debug for NavigationMode
[src]
impl Eq for NavigationMode
[src]
impl From<NavigationMode> for c_int
[src]
fn from(value: NavigationMode) -> Self
[src]
impl From<i32> for NavigationMode
[src]
impl PartialEq<NavigationMode> for NavigationMode
[src]
fn eq(&self, other: &NavigationMode) -> bool
[src]
fn ne(&self, other: &NavigationMode) -> bool
[src]
impl StructuralEq for NavigationMode
[src]
impl StructuralPartialEq for NavigationMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for NavigationMode
impl Send for NavigationMode
impl Sync for NavigationMode
impl Unpin for NavigationMode
impl UnwindSafe for NavigationMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,