[−][src]Struct qt_widgets::q_system_tray_icon::ActivationReason
This enum describes the reason the system tray was activated.
C++ enum: QSystemTrayIcon::ActivationReason
.
This enum describes the reason the system tray was activated.
See also activated().
Methods
impl ActivationReason
[src]
impl ActivationReason
[src]
pub const Unknown: ActivationReason
[src]
Unknown reason (C++ enum variant: Unknown = 0
)
pub const Context: ActivationReason
[src]
The context menu for the system tray entry was requested (C++ enum variant: Context = 1
)
pub const DoubleClick: ActivationReason
[src]
The system tray entry was double clicked (C++ enum variant: DoubleClick = 2
)
pub const Trigger: ActivationReason
[src]
The system tray entry was clicked (C++ enum variant: Trigger = 3
)
pub const MiddleClick: ActivationReason
[src]
The system tray entry was clicked with the middle mouse button (C++ enum variant: MiddleClick = 4
)
Trait Implementations
impl Eq for ActivationReason
[src]
impl Clone for ActivationReason
[src]
fn clone(&self) -> ActivationReason
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ActivationReason> for ActivationReason
[src]
fn eq(&self, other: &ActivationReason) -> bool
[src]
fn ne(&self, other: &ActivationReason) -> bool
[src]
impl From<i32> for ActivationReason
[src]
impl From<ActivationReason> for c_int
[src]
fn from(value: ActivationReason) -> Self
[src]
impl Copy for ActivationReason
[src]
impl Debug for ActivationReason
[src]
Auto Trait Implementations
impl Send for ActivationReason
impl Unpin for ActivationReason
impl Sync for ActivationReason
impl UnwindSafe for ActivationReason
impl RefUnwindSafe for ActivationReason
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,