[][src]Struct qt_gui::QHideEvent

#[repr(C)]
pub struct QHideEvent { /* fields omitted */ }

The QHideEvent class provides an event which is sent after a widget is hidden.

C++ class: QHideEvent.

C++ documentation:

The QHideEvent class provides an event which is sent after a widget is hidden.

This event is sent just before QWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user.

If spontaneous() is true, the event originated outside the application. In this case, the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window is not visible. The window will become hidden but not withdrawn. If the window was iconified, QWidget::isMinimized() returns true.

Methods

impl QHideEvent[src]

pub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<QHideEvent>>
) -> MutRef<QHideEvent>
[src]

The QHideEvent class provides an event which is sent after a widget is hidden.

Calls C++ function: QHideEvent& QHideEvent::operator=(const QHideEvent& other).

C++ documentation:

The QHideEvent class provides an event which is sent after a widget is hidden.

This event is sent just before QWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user.

If spontaneous() is true, the event originated outside the application. In this case, the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window is not visible. The window will become hidden but not withdrawn. If the window was iconified, QWidget::isMinimized() returns true.

pub unsafe fn new() -> CppBox<QHideEvent>[src]

Constructs a QHideEvent.

Calls C++ function: [constructor] void QHideEvent::QHideEvent().

C++ documentation:

Constructs a QHideEvent.

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QHideEvent>>
) -> CppBox<QHideEvent>
[src]

The QHideEvent class provides an event which is sent after a widget is hidden.

Calls C++ function: [constructor] void QHideEvent::QHideEvent(const QHideEvent& other).

C++ documentation:

The QHideEvent class provides an event which is sent after a widget is hidden.

This event is sent just before QWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user.

If spontaneous() is true, the event originated outside the application. In this case, the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window is not visible. The window will become hidden but not withdrawn. If the window was iconified, QWidget::isMinimized() returns true.

Trait Implementations

impl CppDeletable for QHideEvent[src]

unsafe fn delete(&mut self)[src]

Calls C++ function: virtual [destructor] void QHideEvent::~QHideEvent().

impl Deref for QHideEvent[src]

type Target = QEvent

The resulting type after dereferencing.

fn deref(&self) -> &QEvent[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QHideEvent* ptr).

impl DerefMut for QHideEvent[src]

fn deref_mut(&mut self) -> &mut QEvent[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QHideEvent* ptr).

impl DynamicCast<QHideEvent> for QEvent[src]

unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QHideEvent>[src]

Calls C++ function: QHideEvent* dynamic_cast<QHideEvent*>(QEvent* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QHideEvent>[src]

Calls C++ function: QHideEvent* dynamic_cast<QHideEvent*>(QEvent* ptr).

impl StaticDowncast<QHideEvent> for QEvent[src]

unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QHideEvent>[src]

Calls C++ function: QHideEvent* static_cast<QHideEvent*>(QEvent* ptr).

unsafe fn static_downcast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QHideEvent>[src]

Calls C++ function: QHideEvent* static_cast<QHideEvent*>(QEvent* ptr).

impl StaticUpcast<QEvent> for QHideEvent[src]

unsafe fn static_upcast(ptr: Ptr<QHideEvent>) -> Ptr<QEvent>[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QHideEvent* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QHideEvent>) -> MutPtr<QEvent>[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QHideEvent* ptr).

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, 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.