[][src]Struct qt_gui::QShowEvent

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

The QShowEvent class provides an event that is sent when a widget is shown.

C++ class: QShowEvent.

C++ documentation:

The QShowEvent class provides an event that is sent when a widget is shown.

There are two kinds of show events: show events caused by the window system (spontaneous), and internal show events. Spontaneous (QEvent::spontaneous()) show events are sent just after the window system shows the window; they are also sent when a top-level window is redisplayed after being iconified. Internal show events are delivered just before the widget becomes visible.

Methods

impl QShowEvent[src]

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

The QShowEvent class provides an event that is sent when a widget is shown.

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

C++ documentation:

The QShowEvent class provides an event that is sent when a widget is shown.

There are two kinds of show events: show events caused by the window system (spontaneous), and internal show events. Spontaneous (QEvent::spontaneous()) show events are sent just after the window system shows the window; they are also sent when a top-level window is redisplayed after being iconified. Internal show events are delivered just before the widget becomes visible.

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

Constructs a QShowEvent.

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

C++ documentation:

Constructs a QShowEvent.

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

The QShowEvent class provides an event that is sent when a widget is shown.

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

C++ documentation:

The QShowEvent class provides an event that is sent when a widget is shown.

There are two kinds of show events: show events caused by the window system (spontaneous), and internal show events. Spontaneous (QEvent::spontaneous()) show events are sent just after the window system shows the window; they are also sent when a top-level window is redisplayed after being iconified. Internal show events are delivered just before the widget becomes visible.

Trait Implementations

impl CppDeletable for QShowEvent[src]

unsafe fn delete(&self)[src]

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

impl Deref for QShowEvent[src]

type Target = QEvent

The resulting type after dereferencing.

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

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

impl DynamicCast<QShowEvent> for QEvent[src]

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

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

impl StaticDowncast<QShowEvent> for QEvent[src]

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

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

impl StaticUpcast<QEvent> for QShowEvent[src]

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

Calls C++ function: QEvent* static_cast<QEvent*>(QShowEvent* 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.