[−][src]Struct qt_gui::q_touch_device::CapabilityFlag
This enum is used with QTouchDevice::capabilities() to indicate what kind of information the touch device or its driver can provide.
C++ enum: QTouchDevice::CapabilityFlag
.
This enum is used with QTouchDevice::capabilities() to indicate what kind of information the touch device or its driver can provide.
The Capabilities type is a typedef for QFlags<CapabilityFlag>. It stores an OR combination of CapabilityFlag values.
Methods
impl CapabilityFlag
[src]
impl CapabilityFlag
[src]
pub const Position: CapabilityFlag
[src]
Indicates that position information is available, meaning that the pos() family of functions in the touch points return valid points. (C++ enum variant: Position = 1
)
pub const Area: CapabilityFlag
[src]
Indicates that touch area information is available, meaning that the rect() family of functions in the touch points return valid rectangles. (C++ enum variant: Area = 2
)
pub const Pressure: CapabilityFlag
[src]
Indicates that pressure information is available, meaning that pressure() returns a valid value. (C++ enum variant: Pressure = 4
)
pub const Velocity: CapabilityFlag
[src]
Indicates that velocity information is available, meaning that velocity() returns a valid vector. (C++ enum variant: Velocity = 8
)
pub const RawPositions: CapabilityFlag
[src]
Indicates that the list returned by QTouchEvent::TouchPoint::rawScreenPositions() may contain one or more positions for each touch point. This is relevant when the touch input gets filtered or corrected on driver level. (C++ enum variant: RawPositions = 16
)
pub const NormalizedPosition: CapabilityFlag
[src]
Indicates that the normalized position is available, meaning that normalizedPos() returns a valid value. (C++ enum variant: NormalizedPosition = 32
)
pub const MouseEmulation: CapabilityFlag
[src]
Indicates that the device synthesizes mouse events. This enum value has been introduced in Qt 5.5. (C++ enum variant: MouseEmulation = 64
)
Trait Implementations
impl<T: Into<QFlags<CapabilityFlag>>> BitOr<T> for CapabilityFlag
[src]
type Output = QFlags<CapabilityFlag>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<CapabilityFlag>
[src]
impl Clone for CapabilityFlag
[src]
fn clone(&self) -> CapabilityFlag
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CapabilityFlag
[src]
impl Debug for CapabilityFlag
[src]
impl Eq for CapabilityFlag
[src]
impl From<CapabilityFlag> for c_int
[src]
fn from(value: CapabilityFlag) -> Self
[src]
impl From<CapabilityFlag> for QFlags<CapabilityFlag>
[src]
fn from(value: CapabilityFlag) -> Self
[src]
impl From<i32> for CapabilityFlag
[src]
impl PartialEq<CapabilityFlag> for CapabilityFlag
[src]
fn eq(&self, other: &CapabilityFlag) -> bool
[src]
fn ne(&self, other: &CapabilityFlag) -> bool
[src]
impl StructuralEq for CapabilityFlag
[src]
impl StructuralPartialEq for CapabilityFlag
[src]
Auto Trait Implementations
impl RefUnwindSafe for CapabilityFlag
impl Send for CapabilityFlag
impl Sync for CapabilityFlag
impl Unpin for CapabilityFlag
impl UnwindSafe for CapabilityFlag
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>,