[][src]Struct qt_widgets::q_system_tray_icon::ActivationReason

#[repr(transparent)]
pub struct ActivationReason(_);

This enum describes the reason the system tray was activated.

C++ enum: QSystemTrayIcon::ActivationReason.

C++ documentation:

This enum describes the reason the system tray was activated.

See also activated().

Methods

impl ActivationReason[src]

pub fn to_int(&self) -> c_int[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]

impl PartialEq<ActivationReason> for ActivationReason[src]

impl From<i32> for ActivationReason[src]

impl From<ActivationReason> for c_int[src]

impl Copy for ActivationReason[src]

impl Debug for ActivationReason[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]