[−][src]Struct qt_core::GestureFlag
This enum type describes additional flags that can be used when subscribing to a gesture.
C++ enum: Qt::GestureFlag
.
This enum type describes additional flags that can be used when subscribing to a gesture.
This enum was introduced or modified in Qt 4.6.
The GestureFlags type is a typedef for QFlags<GestureFlag>. It stores an OR combination of GestureFlag values.
See also QWidget::grabGesture() and QGraphicsObject::grabGesture().
Methods
impl GestureFlag
[src]
impl GestureFlag
[src]
pub const DontStartGestureOnChildren: GestureFlag
[src]
By default gestures can start on the widget or over any of its children. Use this flag to disable this and allow a gesture to start on the widget only. (C++ enum variant: DontStartGestureOnChildren = 1
)
pub const ReceivePartialGestures: GestureFlag
[src]
Allows any ignored gesture events to be propagated to parent widgets which have specified this hint. By default only gestures that are in the Qt::GestureStarted state are propagated and the widget always gets the full gesture sequence starting with a gesture in the Qt::GestureStarted state and ending with a gesture in the Qt::GestureFinished or Qt::GestureCanceled states. (C++ enum variant: ReceivePartialGestures = 2
)
pub const IgnoredGesturesPropagateToParent: GestureFlag
[src]
Since Qt 4.7, this flag allows you to fine-tune gesture event propagation. By setting the flag when grabbing a gesture all ignored partial gestures will propagate to their parent items. (C++ enum variant: IgnoredGesturesPropagateToParent = 4
)
Trait Implementations
impl<T: Into<QFlags<GestureFlag>>> BitOr<T> for GestureFlag
[src]
type Output = QFlags<GestureFlag>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<GestureFlag>
[src]
impl Clone for GestureFlag
[src]
fn clone(&self) -> GestureFlag
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GestureFlag
[src]
impl Debug for GestureFlag
[src]
impl Eq for GestureFlag
[src]
impl From<GestureFlag> for c_int
[src]
fn from(value: GestureFlag) -> Self
[src]
impl From<GestureFlag> for QFlags<GestureFlag>
[src]
fn from(value: GestureFlag) -> Self
[src]
impl From<i32> for GestureFlag
[src]
impl PartialEq<GestureFlag> for GestureFlag
[src]
fn eq(&self, other: &GestureFlag) -> bool
[src]
fn ne(&self, other: &GestureFlag) -> bool
[src]
impl StructuralEq for GestureFlag
[src]
impl StructuralPartialEq for GestureFlag
[src]
Auto Trait Implementations
impl RefUnwindSafe for GestureFlag
impl Send for GestureFlag
impl Sync for GestureFlag
impl Unpin for GestureFlag
impl UnwindSafe for GestureFlag
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>,