[][src]Struct qt_core::UIEffect

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

This enum describes the available UI effects.

C++ enum: Qt::UIEffect.

C++ documentation:

This enum describes the available UI effects.

By default, Qt will try to use the platform specific desktop settings for each effect. Use the QApplication::setDesktopSettingsAware() function (passing false as argument) to prevent this, and the QApplication::setEffectEnabled() to enable or disable a particular effect.

Note that all effects are disabled on screens running at less than 16-bit color depth.

See also QApplication::setEffectEnabled() and QGuiApplication::setDesktopSettingsAware().

Methods

impl UIEffect[src]

pub fn to_int(&self) -> c_int[src]

impl UIEffect[src]

pub const UIGeneral: UIEffect[src]

C++ enum variant: UI_General = 0

pub const UIAnimateMenu: UIEffect[src]

Show animated menus. (C++ enum variant: UI_AnimateMenu = 1)

pub const UIFadeMenu: UIEffect[src]

Show faded menus. (C++ enum variant: UI_FadeMenu = 2)

pub const UIAnimateCombo: UIEffect[src]

Show animated comboboxes. (C++ enum variant: UI_AnimateCombo = 3)

pub const UIAnimateTooltip: UIEffect[src]

Show tooltip animations. (C++ enum variant: UI_AnimateTooltip = 4)

pub const UIFadeTooltip: UIEffect[src]

Show tooltip fading effects. (C++ enum variant: UI_FadeTooltip = 5)

pub const UIAnimateToolBox: UIEffect[src]

Reserved (C++ enum variant: UI_AnimateToolBox = 6)

Trait Implementations

impl Clone for UIEffect[src]

impl Copy for UIEffect[src]

impl Debug for UIEffect[src]

impl Eq for UIEffect[src]

impl From<UIEffect> for c_int[src]

impl From<i32> for UIEffect[src]

impl PartialEq<UIEffect> for UIEffect[src]

impl StructuralEq for UIEffect[src]

impl StructuralPartialEq for UIEffect[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.