[−][src]Struct qt_core::GestureType
This enum type describes the standard gestures.
C++ enum: Qt::GestureType
.
This enum type describes the standard gestures.
User-defined gestures are registered with the QGestureRecognizer::registerRecognizer() function which generates a custom gesture ID with the Qt::CustomGesture flag set.
This enum was introduced or modified in Qt 4.6.
See also QGesture, QWidget::grabGesture(), and QGraphicsObject::grabGesture().
Methods
impl GestureType
[src]
impl GestureType
[src]
pub const TapGesture: GestureType
[src]
A Tap gesture. (C++ enum variant: TapGesture = 1
)
pub const TapAndHoldGesture: GestureType
[src]
A Tap-And-Hold (Long-Tap) gesture. (C++ enum variant: TapAndHoldGesture = 2
)
pub const PanGesture: GestureType
[src]
A Pan gesture. (C++ enum variant: PanGesture = 3
)
pub const PinchGesture: GestureType
[src]
A Pinch gesture. (C++ enum variant: PinchGesture = 4
)
pub const SwipeGesture: GestureType
[src]
A Swipe gesture. (C++ enum variant: SwipeGesture = 5
)
pub const CustomGesture: GestureType
[src]
A flag that can be used to test if the gesture is a user-defined gesture ID. (C++ enum variant: CustomGesture = 256
)
pub const LastGestureType: GestureType
[src]
C++ enum variant: LastGestureType = -1
Trait Implementations
impl Clone for GestureType
[src]
fn clone(&self) -> GestureType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GestureType
[src]
impl Debug for GestureType
[src]
impl Eq for GestureType
[src]
impl From<GestureType> for c_int
[src]
fn from(value: GestureType) -> Self
[src]
impl From<i32> for GestureType
[src]
impl PartialEq<GestureType> for GestureType
[src]
fn eq(&self, other: &GestureType) -> bool
[src]
fn ne(&self, other: &GestureType) -> bool
[src]
impl StructuralEq for GestureType
[src]
impl StructuralPartialEq for GestureType
[src]
Auto Trait Implementations
impl RefUnwindSafe for GestureType
impl Send for GestureType
impl Sync for GestureType
impl Unpin for GestureType
impl UnwindSafe for GestureType
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,