[−][src]Struct qt_gui::QShowEvent
The QShowEvent class provides an event that is sent when a widget is shown.
C++ class: QShowEvent.
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(
&mut self,
other: impl CastInto<Ref<QShowEvent>>
) -> MutRef<QShowEvent>[src]
&mut self,
other: impl CastInto<Ref<QShowEvent>>
) -> MutRef<QShowEvent>
The QShowEvent class provides an event that is sent when a widget is shown.
Calls C++ function: QShowEvent& QShowEvent::operator=(const QShowEvent& other).
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().
Constructs a QShowEvent.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QShowEvent>>
) -> CppBox<QShowEvent>[src]
other: impl CastInto<Ref<QShowEvent>>
) -> CppBox<QShowEvent>
The QShowEvent class provides an event that is sent when a widget is shown.
Calls C++ function: [constructor] void QShowEvent::QShowEvent(const QShowEvent& other).
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 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 DerefMut for QShowEvent[src]
fn deref_mut(&mut self) -> &mut QEvent[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QShowEvent* 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).
unsafe fn static_upcast_mut(ptr: MutPtr<QShowEvent>) -> MutPtr<QEvent>[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QShowEvent* 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).
unsafe fn static_downcast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QShowEvent>[src]
Calls C++ function: QShowEvent* static_cast<QShowEvent*>(QEvent* 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).
unsafe fn dynamic_cast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QShowEvent>[src]
Calls C++ function: QShowEvent* dynamic_cast<QShowEvent*>(QEvent* ptr).
impl CppDeletable for QShowEvent[src]
Auto Trait Implementations
impl Send for QShowEvent
impl Sync for QShowEvent
impl Unpin for QShowEvent
impl RefUnwindSafe for QShowEvent
impl UnwindSafe for QShowEvent
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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>,