[−][src]Struct qt_core::Modifier
This enum provides shorter names for the keyboard modifier keys supported by Qt.
C++ enum: Qt::Modifier
.
This enum provides shorter names for the keyboard modifier keys supported by Qt.
Note: On macOS, the CTRL
value corresponds to the Command keys on the keyboard, and the META
value corresponds to the Control keys.
See also KeyboardModifier and MouseButton.
Methods
impl Modifier
[src]
impl Modifier
[src]
pub const META: Modifier
[src]
The Meta keys. (C++ enum variant: META = 268435456
)
pub const SHIFT: Modifier
[src]
The Shift keys provided on all standard keyboards. (C++ enum variant: SHIFT = 33554432
)
pub const CTRL: Modifier
[src]
The Ctrl keys. (C++ enum variant: CTRL = 67108864
)
pub const ALT: Modifier
[src]
The normal Alt keys, but not keys like AltGr. (C++ enum variant: ALT = 134217728
)
pub const MODIFIERMASK: Modifier
[src]
C++ enum variant: MODIFIER_MASK = -33554432
pub const UNICODEACCEL: Modifier
[src]
The shortcut is specified as a Unicode code point, not as a Qt Key. (C++ enum variant: UNICODE_ACCEL = 0
)
Trait Implementations
impl Clone for Modifier
[src]
impl Copy for Modifier
[src]
impl Debug for Modifier
[src]
impl Eq for Modifier
[src]
impl From<Modifier> for c_int
[src]
impl From<i32> for Modifier
[src]
impl PartialEq<Modifier> for Modifier
[src]
impl StructuralEq for Modifier
[src]
impl StructuralPartialEq for Modifier
[src]
Auto Trait Implementations
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnwindSafe for Modifier
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>,